Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Switch to default version in setup_remote_docker #1621

Closed
wants to merge 19 commits into from
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
The table of contents is too big for display.
Diff view
Diff view
  •  
  •  
  •  
85 changes: 33 additions & 52 deletions .circleci/config.yml
Original file line number Diff line number Diff line change
Expand Up @@ -46,18 +46,20 @@ workflows:
jobs:
build:
docker:
- image: circleci/node:16.13-bullseye
- image: cimg/node:18.20
steps:
- run:
name: Install Git Large File Storage (LFS)
command: sudo apt-get install git-lfs
- checkout
- run:
name: Version information
command: echo "node $(node --version)"; echo "yarn $(yarn --version)"
command: git version; git-lfs --version; echo "node $(node --version)"; echo "yarn $(yarn --version)"
- run:
name: Install libusb
command: sudo apt-get install libusb-1.0-0-dev
command: |
sudo apt update
sudo apt install libusb-1.0-0-dev
- run:
name: Install Dependencies
command: yarn install --immutable --immutable-cache --check-cache
Expand All @@ -78,15 +80,9 @@ jobs:
# As a consequence, we cannot use the circleci CLI for this job because "You cannot use the machine
# executor in local jobs." (https://circleci.com/docs/2.0/local-cli/#limitations-of-running-jobs-locally)
#
# Available images: https://circleci.com/docs/2.0/configuration-reference/#available-machine-images
image: ubuntu-2004:202107-02
# Available images: https://circleci.com/developer/machine/image/ubuntu-2404
image: ubuntu-2404:2024.11.1
steps:
- run:
name: Install Git Large File Storage (LFS)
# In the current image, `sudo apt install git-lfs` requires `sudo apt update` which is too slow
command: |
wget -O "$HOME/git-lfs.deb" https://packagecloud.io/github/git-lfs/packages/ubuntu/focal/git-lfs_2.13.3_amd64.deb/download.deb
sudo dpkg -i "$HOME/git-lfs.deb"
- checkout
- run: # start early for less wait time below
name: Start wasmd
Expand Down Expand Up @@ -131,12 +127,12 @@ jobs:
sudo dpkg -i "$HOME/yarn.deb"
- run:
name: Version information
command: echo "node $(node --version)"; echo "yarn $(yarn --version)"
command: git version; git-lfs --version; echo "node $(node --version)"; echo "yarn $(yarn --version)"
- run:
name: Install libusb
# In the current image, `sudo apt install libusb-1.0-0-dev` requires `sudo apt update` which is too slow
command: |
wget -O "$HOME/libusb.deb" http://de.archive.ubuntu.com/ubuntu/pool/main/libu/libusb-1.0/libusb-1.0-0-dev_1.0.23-2build1_amd64.deb
wget -O "$HOME/libusb.deb" http://de.archive.ubuntu.com/ubuntu/pool/main/libu/libusb-1.0/libusb-1.0-0-dev_1.0.27-1_amd64.deb
sudo dpkg -i "$HOME/libusb.deb"
- run:
name: Install libudev-dev
Expand Down Expand Up @@ -213,16 +209,10 @@ jobs:
# As a consequence, we cannot use the circleci CLI for this job because "You cannot use the machine
# executor in local jobs." (https://circleci.com/docs/2.0/local-cli/#limitations-of-running-jobs-locally)
#
# Available images: https://circleci.com/docs/2.0/configuration-reference/#available-machine-images
image: ubuntu-2004:202107-02
# Available images: https://circleci.com/developer/machine/image/ubuntu-2404
image: ubuntu-2404:2024.11.1
resource_class: large
steps:
- run:
name: Install Git Large File Storage (LFS)
# In the current image, `sudo apt install git-lfs` requires `sudo apt update` which is too slow
command: |
wget -O "$HOME/git-lfs.deb" https://packagecloud.io/github/git-lfs/packages/ubuntu/focal/git-lfs_2.13.3_amd64.deb/download.deb
sudo dpkg -i "$HOME/git-lfs.deb"
- checkout
- run: # start early for less wait time below
name: Start wasmd
Expand Down Expand Up @@ -272,12 +262,12 @@ jobs:
sudo dpkg -i "$HOME/yarn.deb"
- run:
name: Version information
command: echo "node $(node --version)"; echo "yarn $(yarn --version)"
command: git version; git-lfs --version; echo "node $(node --version)"; echo "yarn $(yarn --version)"
- run:
name: Install libusb
# In the current image, `sudo apt install libusb-1.0-0-dev` requires `sudo apt update` which is too slow
command: |
wget -O "$HOME/libusb.deb" http://de.archive.ubuntu.com/ubuntu/pool/main/libu/libusb-1.0/libusb-1.0-0-dev_1.0.23-2build1_amd64.deb
wget -O "$HOME/libusb.deb" http://de.archive.ubuntu.com/ubuntu/pool/main/libu/libusb-1.0/libusb-1.0-0-dev_1.0.27-1_amd64.deb
sudo dpkg -i "$HOME/libusb.deb"
- run:
name: Install libudev-dev
Expand Down Expand Up @@ -346,17 +336,11 @@ jobs:
# As a consequence, we cannot use the circleci CLI for this job because "You cannot use the machine
# executor in local jobs." (https://circleci.com/docs/2.0/local-cli/#limitations-of-running-jobs-locally)
#
# Available images: https://circleci.com/docs/2.0/configuration-reference/#available-machine-images
image: ubuntu-2004:202107-02
# Available images: https://circleci.com/developer/machine/image/ubuntu-2404
image: ubuntu-2404:2024.11.1
resource_class: large
steps:
- browser-tools/install-chrome # Slow because apt update but what can you do 🤷‍
- run:
name: Install Git Large File Storage (LFS)
# In the current image, `sudo apt install git-lfs` requires `sudo apt update` which is too slow
command: |
wget -O "$HOME/git-lfs.deb" https://packagecloud.io/github/git-lfs/packages/ubuntu/focal/git-lfs_2.13.3_amd64.deb/download.deb
sudo dpkg -i "$HOME/git-lfs.deb"
- checkout
- run: # start early for less wait time below
name: Start wasmd
Expand Down Expand Up @@ -401,12 +385,12 @@ jobs:
sudo dpkg -i "$HOME/yarn.deb"
- run:
name: Version information
command: echo "node $(node --version)"; echo "yarn $(yarn --version)"
command: git version; git-lfs --version; echo "node $(node --version)"; echo "yarn $(yarn --version)"
- run:
name: Install libusb
# In the current image, `sudo apt install libusb-1.0-0-dev` requires `sudo apt update` which is too slow
command: |
wget -O "$HOME/libusb.deb" http://de.archive.ubuntu.com/ubuntu/pool/main/libu/libusb-1.0/libusb-1.0-0-dev_1.0.23-2build1_amd64.deb
wget -O "$HOME/libusb.deb" http://de.archive.ubuntu.com/ubuntu/pool/main/libu/libusb-1.0/libusb-1.0-0-dev_1.0.27-1_amd64.deb
sudo dpkg -i "$HOME/libusb.deb"
- run:
name: Install libudev-dev
Expand Down Expand Up @@ -455,16 +439,10 @@ jobs:
# As a consequence, we cannot use the circleci CLI for this job because "You cannot use the machine
# executor in local jobs." (https://circleci.com/docs/2.0/local-cli/#limitations-of-running-jobs-locally)
#
# Available images: https://circleci.com/docs/2.0/configuration-reference/#available-machine-images
image: ubuntu-2004:202107-02
# Available images: https://circleci.com/developer/machine/image/ubuntu-2404
image: ubuntu-2404:2024.11.1
resource_class: large
steps:
- run:
name: Install Git Large File Storage (LFS)
# In the current image, `sudo apt install git-lfs` requires `sudo apt update` which is too slow
command: |
wget -O "$HOME/git-lfs.deb" https://packagecloud.io/github/git-lfs/packages/ubuntu/focal/git-lfs_2.13.3_amd64.deb/download.deb
sudo dpkg -i "$HOME/git-lfs.deb"
- checkout
- run: # start early for less wait time below
name: Start wasmd
Expand Down Expand Up @@ -509,12 +487,12 @@ jobs:
sudo dpkg -i "$HOME/yarn.deb"
- run:
name: Version information
command: echo "node $(node --version)"; echo "yarn $(yarn --version)"
command: git version; git-lfs --version; echo "node $(node --version)"; echo "yarn $(yarn --version)"
- run:
name: Install libusb
# In the current image, `sudo apt install libusb-1.0-0-dev` requires `sudo apt update` which is too slow
command: |
wget -O "$HOME/libusb.deb" http://de.archive.ubuntu.com/ubuntu/pool/main/libu/libusb-1.0/libusb-1.0-0-dev_1.0.23-2build1_amd64.deb
wget -O "$HOME/libusb.deb" http://de.archive.ubuntu.com/ubuntu/pool/main/libu/libusb-1.0/libusb-1.0-0-dev_1.0.27-1_amd64.deb
sudo dpkg -i "$HOME/libusb.deb"
- run:
name: Install libudev-dev
Expand Down Expand Up @@ -560,7 +538,7 @@ jobs:
./scripts/wasmd/stop.sh
docs-build:
docker:
- image: circleci/node:16.13-bullseye
- image: cimg/node:18.20
steps:
- run:
name: Install Git Large File Storage (LFS)
Expand All @@ -573,10 +551,12 @@ jobs:
command: cp --recursive --link /tmp/builds/* .
- run:
name: Version information
command: echo "node $(node --version)"; echo "yarn $(yarn --version)"
command: git version; git-lfs --version; echo "node $(node --version)"; echo "yarn $(yarn --version)"
- run:
name: Install libusb
command: sudo apt-get install libusb-1.0-0-dev
command: |
sudo apt update
sudo apt install libusb-1.0-0-dev
- run:
name: Install Dependencies
command: yarn install --immutable --immutable-cache --check-cache
Expand All @@ -591,7 +571,7 @@ jobs:
paths: docs_deployment
docs-deploy:
docker:
- image: circleci/node:16.13-bullseye
- image: cimg/node:18.20
steps:
- attach_workspace:
at: .
Expand All @@ -609,7 +589,7 @@ jobs:
command: npx [email protected] --message "Update docs [skip ci]" --dist docs_deployment --user "CI deployment <[email protected]>" --repo "[email protected]:cosmos/cosmjs.git"
lint:
docker:
- image: circleci/node:16.13-bullseye
- image: cimg/node:18.20
steps:
- run:
name: Install Git Large File Storage (LFS)
Expand All @@ -628,10 +608,12 @@ jobs:
shfmt --version
- run:
name: Version information
command: echo "node $(node --version)"; echo "yarn $(yarn --version)"
command: git version; git-lfs --version; echo "node $(node --version)"; echo "yarn $(yarn --version)"
- run:
name: Install libusb
command: sudo apt-get install libusb-1.0-0-dev
command: |
sudo apt update
sudo apt install libusb-1.0-0-dev
- run:
name: Install Dependencies
command: yarn install --immutable --immutable-cache --check-cache
Expand All @@ -655,8 +637,7 @@ jobs:
sudo apt install git-lfs
- checkout
- setup_remote_docker:
# >= v20.10 https://wiki.alpinelinux.org/wiki/Release_Notes_for_Alpine_3.14.0#faccessat2
version: 20.10.11
version: default
- run:
name: Build faucet Docker image
# Use ${CIRCLE_TAG}
Expand Down
Loading
Loading