Skip to content

Commit

Permalink
update CircleCI base image (#6553)
Browse files Browse the repository at this point in the history
This commit fixes an issue with a downstream dependency (aws-lc-sys) caused by using an old version of GCC by updating the base CircleCI image to current.

This was realistically a long-time coming because the previous tag of stable was deprecated in favor of current back in 2022.

Below is a quote from the docker hub page explaining the change to the tag names:

current - This image tag points to the latest, production ready base image. This is a replacement for the old stable tag. This image should be used by projects that want a decent level of stability but would like to get occasional software updates. It is typically updated once a month.


Co-authored-by: Lenny Burdette <[email protected]>
  • Loading branch information
nicholascioli and lennyburdette authored Jan 16, 2025
1 parent 1599e56 commit be6736b
Showing 1 changed file with 10 additions and 9 deletions.
19 changes: 10 additions & 9 deletions .circleci/config.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,18 +12,18 @@ orbs:
executors:
amd_linux_build: &amd_linux_build_executor
docker:
- image: cimg/base:stable
- image: cimg/base:current
resource_class: xlarge
environment:
CARGO_BUILD_JOBS: 4
RUST_TEST_THREADS: 6
amd_linux_helm: &amd_linux_helm_executor
docker:
- image: cimg/base:stable
- image: cimg/base:current
resource_class: small
amd_linux_test: &amd_linux_test_executor
docker:
- image: cimg/base:stable
- image: cimg/base:current
- image: cimg/redis:7.4.1
- image: jaegertracing/all-in-one:1.54.0
- image: openzipkin/zipkin:3.4.3
Expand All @@ -32,14 +32,14 @@ executors:
environment:
CARGO_BUILD_JOBS: 4
arm_linux_build: &arm_linux_build_executor
machine:
image: ubuntu-2004:2024.01.1
docker:
- image: cimg/base:current
resource_class: arm.large
environment:
CARGO_BUILD_JOBS: 8
arm_linux_test: &arm_linux_test_executor
machine:
image: ubuntu-2004:2024.01.1
docker:
- image: cimg/base:current
resource_class: arm.xlarge
environment:
CARGO_BUILD_JOBS: 8
Expand Down Expand Up @@ -237,7 +237,8 @@ commands:
command: |
if [[ ! -d "$HOME/.deb" ]]; then
mkdir $HOME/.deb
sudo apt-get --download-only -o Dir::Cache="$HOME/.deb" -o Dir::Cache::archives="$HOME/.deb" install libssl-dev libdw-dev
sudo apt-get update
sudo apt-get --download-only -o Dir::Cache="$HOME/.deb" -o Dir::Cache::archives="$HOME/.deb" install build-essential libssl-dev libdw-dev
fi
sudo dpkg -i $HOME/.deb/*.deb
Expand Down Expand Up @@ -929,7 +930,7 @@ jobs:
publish_github_release:
docker:
- image: cimg/base:stable
- image: cimg/base:current
resource_class: small
environment:
<<: *common_job_environment
Expand Down

0 comments on commit be6736b

Please sign in to comment.