diff --git a/.circleci/config.yml b/.circleci/config.yml index edbc4969a4..24a7798fc8 100644 --- a/.circleci/config.yml +++ b/.circleci/config.yml @@ -81,12 +81,13 @@ jobs: # 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-1604:202004-01 + image: ubuntu-2004:202010-01 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/xenial/git-lfs_2.11.0_amd64.deb/download.deb + wget -O "$HOME/git-lfs.deb" https://packagecloud.io/github/git-lfs/packages/ubuntu/focal/git-lfs_2.12.1_amd64.deb/download.deb sudo dpkg -i "$HOME/git-lfs.deb" - checkout - run: # start early for less wait time below @@ -117,8 +118,9 @@ jobs: command: mkdir -p ~/.local/share/Trash && mv "$NVM_DIR" ~/.npm ~/.local/share/Trash - run: name: Install nodejs + # In the current image, `sudo apt install nodejs` requires `sudo apt update` which is too slow command: | - wget -O "$HOME/nodejs.deb" https://deb.nodesource.com/node_10.x/pool/main/n/nodejs/nodejs_10.21.0-1nodesource1_amd64.deb + wget -O "$HOME/nodejs.deb" https://deb.nodesource.com/node_10.x/pool/main/n/nodejs/nodejs_10.23.0-deb-1nodesource1_amd64.deb sudo dpkg -i "$HOME/nodejs.deb" - run: name: Install yarn @@ -134,8 +136,9 @@ jobs: - yarn-packages-{{ checksum "yarn.lock" }} - 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.20-1_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.23-2build1_amd64.deb sudo dpkg -i "$HOME/libusb.deb" - run: name: Install Dependencies @@ -200,12 +203,13 @@ jobs: # 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-1604:202004-01 + image: ubuntu-2004:202010-01 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/xenial/git-lfs_2.11.0_amd64.deb/download.deb + wget -O "$HOME/git-lfs.deb" https://packagecloud.io/github/git-lfs/packages/ubuntu/focal/git-lfs_2.12.1_amd64.deb/download.deb sudo dpkg -i "$HOME/git-lfs.deb" - checkout - run: # start early for less wait time below @@ -236,8 +240,9 @@ jobs: command: mkdir -p ~/.local/share/Trash && mv "$NVM_DIR" ~/.npm ~/.local/share/Trash - run: name: Install nodejs + # In the current image, `sudo apt install nodejs` requires `sudo apt update` which is too slow command: | - wget -O "$HOME/nodejs.deb" https://deb.nodesource.com/node_10.x/pool/main/n/nodejs/nodejs_10.21.0-1nodesource1_amd64.deb + wget -O "$HOME/nodejs.deb" https://deb.nodesource.com/node_10.x/pool/main/n/nodejs/nodejs_10.23.0-deb-1nodesource1_amd64.deb sudo dpkg -i "$HOME/nodejs.deb" - run: name: Install yarn @@ -253,8 +258,9 @@ jobs: - yarn-packages-{{ checksum "yarn.lock" }} - 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.20-1_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.23-2build1_amd64.deb sudo dpkg -i "$HOME/libusb.deb" - run: name: Install Dependencies @@ -300,12 +306,13 @@ jobs: # 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-1604:202004-01 + image: ubuntu-2004:202010-01 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/xenial/git-lfs_2.11.0_amd64.deb/download.deb + wget -O "$HOME/git-lfs.deb" https://packagecloud.io/github/git-lfs/packages/ubuntu/focal/git-lfs_2.12.1_amd64.deb/download.deb sudo dpkg -i "$HOME/git-lfs.deb" - checkout - run: # start early for less wait time below @@ -336,8 +343,9 @@ jobs: command: mkdir -p ~/.local/share/Trash && mv "$NVM_DIR" ~/.npm ~/.local/share/Trash - run: name: Install nodejs + # In the current image, `sudo apt install nodejs` requires `sudo apt update` which is too slow command: | - wget -O "$HOME/nodejs.deb" https://deb.nodesource.com/node_10.x/pool/main/n/nodejs/nodejs_10.21.0-1nodesource1_amd64.deb + wget -O "$HOME/nodejs.deb" https://deb.nodesource.com/node_10.x/pool/main/n/nodejs/nodejs_10.23.0-deb-1nodesource1_amd64.deb sudo dpkg -i "$HOME/nodejs.deb" - run: name: Install yarn @@ -353,8 +361,9 @@ jobs: - yarn-packages-{{ checksum "yarn.lock" }} - 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.20-1_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.23-2build1_amd64.deb sudo dpkg -i "$HOME/libusb.deb" - run: name: Install Dependencies