Skip to content

Commit

Permalink
AN-301 Update certifi (#795)
Browse files Browse the repository at this point in the history
* Update certifi

* Update circleci base image

* Update circleci base image in more places

* Update to newer git secrets

* Try installing python 3.10

* Apt update

* Use pyenv

* Set pyenv

* Explanatory comment

* Test out Ubuntu 24.04
  • Loading branch information
jgainerdewar authored Dec 9, 2024
1 parent 1e4f1a1 commit d68116f
Show file tree
Hide file tree
Showing 2 changed files with 16 additions and 6 deletions.
20 changes: 15 additions & 5 deletions .circleci/config.yml
Original file line number Diff line number Diff line change
Expand Up @@ -19,16 +19,21 @@ run_secret_setup: &run_secret_setup
command: |
git clone https://github.com/awslabs/git-secrets.git
pushd git-secrets >/dev/null
git checkout ad82d68ee924906a0401dfd48de5057731a9bc84
# 2024-12-09 updated to a new version of git-secrets, the old one
# relied `say` command which is unavailable in new CircleCI base image
# https://github.com/awslabs/git-secrets/issues/220
git checkout 5357e18bc27b42a827b6780564ea873a72ca1f01
popd >/dev/null
./minnie-kenny.sh -f
jobs:
ui:
<<: *job_defaults
machine:
# latest pinned 20.04 version https://circleci.com/developer/machine/image/ubuntu-2004
image: ubuntu-2004:202201-02
# latest pinned 24.04 version https://circleci.com/developer/machine/image/ubuntu-2404
image: ubuntu-2404:2024.11.1
steps:
- checkout
- <<: *run_env_setup
Expand Down Expand Up @@ -107,7 +112,7 @@ jobs:
backends:
<<: *job_defaults
machine:
image: ubuntu-2004:202201-02
image: ubuntu-2404:2024.11.1
environment:
- GOOGLE_APPLICATION_CREDENTIALS: /home/circleci/gcloud-service-key.json
steps:
Expand All @@ -127,6 +132,11 @@ jobs:
command: |
python3 --version
which python3
- run:
name: Install Python 3.10
command: |
pyenv install 3.10
pyenv global 3.10
- run:
name: Install tox and yapf
# tox (and detox) fail with older versions of more-itertools: https://github.com/pytest-dev/pytest/issues/4770
Expand Down Expand Up @@ -157,7 +167,7 @@ jobs:
secrets:
<<: *job_defaults
machine:
image: ubuntu-2004:202201-02
image: ubuntu-2404:2024.11.1
steps:
- checkout
- <<: *run_env_setup
Expand Down
2 changes: 1 addition & 1 deletion servers/cromwell/requirements.txt
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
certifi==2022.12.7
certifi==2024.7.4
chardet==3.0.4
click==8.1.3
clickclick==1.2.2
Expand Down

0 comments on commit d68116f

Please sign in to comment.