From e96997d1a87450c66ec4b95f339c4e60b2e4d5a6 Mon Sep 17 00:00:00 2001 From: Simon Warta Date: Thu, 19 Nov 2020 09:19:05 +0100 Subject: [PATCH 1/6] Upgrade machine images to latest ubuntu-1604 --- .circleci/config.yml | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/.circleci/config.yml b/.circleci/config.yml index edbc4969..e7378deb 100644 --- a/.circleci/config.yml +++ b/.circleci/config.yml @@ -81,7 +81,7 @@ 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-1604:202010-01 steps: - run: name: Install Git Large File Storage (LFS) @@ -200,7 +200,7 @@ 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-1604:202010-01 steps: - run: name: Install Git Large File Storage (LFS) @@ -300,7 +300,7 @@ 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-1604:202010-01 steps: - run: name: Install Git Large File Storage (LFS) From 78703f898bbc73fd8787cb11abd21cd41ae3a88c Mon Sep 17 00:00:00 2001 From: Simon Warta Date: Thu, 19 Nov 2020 09:33:29 +0100 Subject: [PATCH 2/6] Upgrade images to ubuntu-2004:202010-01 --- .circleci/config.yml | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/.circleci/config.yml b/.circleci/config.yml index e7378deb..9bf1de04 100644 --- a/.circleci/config.yml +++ b/.circleci/config.yml @@ -81,7 +81,7 @@ 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:202010-01 + image: ubuntu-2004:202010-01 steps: - run: name: Install Git Large File Storage (LFS) @@ -200,7 +200,7 @@ 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:202010-01 + image: ubuntu-2004:202010-01 steps: - run: name: Install Git Large File Storage (LFS) @@ -300,7 +300,7 @@ 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:202010-01 + image: ubuntu-2004:202010-01 steps: - run: name: Install Git Large File Storage (LFS) From e66ab64a4c79df689149ecf8859407c885ccce36 Mon Sep 17 00:00:00 2001 From: Simon Warta Date: Thu, 19 Nov 2020 09:41:02 +0100 Subject: [PATCH 3/6] Update git-lfs package --- .circleci/config.yml | 9 ++++++--- 1 file changed, 6 insertions(+), 3 deletions(-) diff --git a/.circleci/config.yml b/.circleci/config.yml index 9bf1de04..507d5b7f 100644 --- a/.circleci/config.yml +++ b/.circleci/config.yml @@ -85,8 +85,9 @@ jobs: 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 @@ -204,8 +205,9 @@ jobs: 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 @@ -304,8 +306,9 @@ jobs: 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 From 6cd5a8255ac17ab47833bc757463f5b231bb1a2f Mon Sep 17 00:00:00 2001 From: Simon Warta Date: Thu, 19 Nov 2020 18:20:37 +0100 Subject: [PATCH 4/6] Update nodejs packages --- .circleci/config.yml | 9 ++++++--- 1 file changed, 6 insertions(+), 3 deletions(-) diff --git a/.circleci/config.yml b/.circleci/config.yml index 507d5b7f..c823d8f5 100644 --- a/.circleci/config.yml +++ b/.circleci/config.yml @@ -118,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 @@ -238,8 +239,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 @@ -339,8 +341,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 From 4b5605e394a895352ffd8e7c516e7f0002c604ed Mon Sep 17 00:00:00 2001 From: Simon Warta Date: Thu, 19 Nov 2020 09:33:55 +0100 Subject: [PATCH 5/6] Update libusb --- .circleci/config.yml | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/.circleci/config.yml b/.circleci/config.yml index c823d8f5..64aae989 100644 --- a/.circleci/config.yml +++ b/.circleci/config.yml @@ -137,7 +137,7 @@ jobs: - run: name: Install libusb 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 @@ -258,7 +258,7 @@ jobs: - run: name: Install libusb 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 @@ -360,7 +360,7 @@ jobs: - run: name: Install libusb 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 From 6193a5f94dd494f800574d35434e6df4451d7e68 Mon Sep 17 00:00:00 2001 From: Simon Warta Date: Thu, 19 Nov 2020 22:32:11 +0100 Subject: [PATCH 6/6] Add notes on installing libusb --- .circleci/config.yml | 3 +++ 1 file changed, 3 insertions(+) diff --git a/.circleci/config.yml b/.circleci/config.yml index 64aae989..24a7798f 100644 --- a/.circleci/config.yml +++ b/.circleci/config.yml @@ -136,6 +136,7 @@ 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.23-2build1_amd64.deb sudo dpkg -i "$HOME/libusb.deb" @@ -257,6 +258,7 @@ 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.23-2build1_amd64.deb sudo dpkg -i "$HOME/libusb.deb" @@ -359,6 +361,7 @@ 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.23-2build1_amd64.deb sudo dpkg -i "$HOME/libusb.deb"