From 0c378132b442a6a2001bfb880f6443ea34a05053 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Alessandro=20Pezz=C3=A8?= Date: Mon, 27 Dec 2021 15:11:54 +0100 Subject: [PATCH 1/2] ci: large executor/upgrade ubuntu and python --- .circleci/config.yml | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/.circleci/config.yml b/.circleci/config.yml index 1926c4224..3706d23bc 100644 --- a/.circleci/config.yml +++ b/.circleci/config.yml @@ -3,7 +3,7 @@ version: 2.1 jobs: test: docker: - - image: circleci/python:3.7 + - image: cimg/python:3.10.1 steps: - checkout - run: @@ -23,7 +23,8 @@ jobs: deploy: machine: - image: ubuntu-1604:201903-01 # https://circleci.com/docs/2.0/configuration-reference/#available-machine-images with Docker 18.09.3 + image: ubuntu-2004:202111-01 # https://circleci.com/docs/2.0/configuration-reference/#available-machine-images with Docker 18.09.3 + resource_class: large steps: - checkout - run: @@ -48,7 +49,7 @@ workflows: - test filters: branches: - only: + only: - master - staging weekly: From fa70f0580f12e8d9d0a3b17a09bbeb34db95fb90 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Alessandro=20Pezz=C3=A8?= Date: Mon, 27 Dec 2021 15:15:41 +0100 Subject: [PATCH 2/2] ci: don't run sudo --- .circleci/config.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.circleci/config.yml b/.circleci/config.yml index 3706d23bc..963b0f85c 100644 --- a/.circleci/config.yml +++ b/.circleci/config.yml @@ -13,7 +13,7 @@ jobs: git submodule update --remote - run: name: Install deps - command: sudo make dev-install + command: make dev-install - run: name: Linting command: make format-check