Skip to content

Commit

Permalink
Updated Ubuntu image for CircleCI (#761)
Browse files Browse the repository at this point in the history
* Fixed 753

* fixed build fail
  • Loading branch information
pooja1pathak authored Jun 14, 2024
1 parent 5793901 commit 09b0d0f
Show file tree
Hide file tree
Showing 2 changed files with 14 additions and 12 deletions.
24 changes: 12 additions & 12 deletions .circleci/config.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,13 +3,13 @@ version: 2.1
jobs:
build:
machine:
image: ubuntu-2004:202008-01
image: ubuntu-2004:current
docker_layer_caching: true # default - false
steps:
- checkout
- run: sudo chown -R circleci:circleci /usr/local/bin
- run: sudo chown -R circleci:circleci /usr/local/lib/python3.8
- run: sudo chown -R circleci:circleci /opt/circleci/.pyenv/versions/3.8.5/lib
- run: sudo chown -R circleci:circleci /opt/circleci/.pyenv/versions
- restore_cache: # ensure this step occurs *before* installing dependencies
key: deps9-{{ .Branch }}-{{ checksum "Pipfile.lock" }}
- run:
Expand All @@ -33,13 +33,13 @@ jobs:
timescale-version:
type: string
machine:
image: ubuntu-2004:202008-01
image: ubuntu-2004:current
docker_layer_caching: true # default - false
steps:
- checkout
- run: sudo chown -R circleci:circleci /usr/local/bin
- run: sudo chown -R circleci:circleci /usr/local/lib/python3.8
- run: sudo chown -R circleci:circleci /opt/circleci/.pyenv/versions/3.8.5/lib
- run: sudo chown -R circleci:circleci /opt/circleci/.pyenv/versions
- restore_cache: # ensure this step occurs *before* installing dependencies
key: deps9-{{ .Branch }}-{{ checksum "Pipfile.lock" }}
- run:
Expand Down Expand Up @@ -75,13 +75,13 @@ jobs:
coveralls
test_reporter:
machine:
image: ubuntu-2004:202008-01
image: ubuntu-2004:current
docker_layer_caching: true # default - false
steps:
- checkout
- run: sudo chown -R circleci:circleci /usr/local/bin
- run: sudo chown -R circleci:circleci /usr/local/lib/python3.8
- run: sudo chown -R circleci:circleci /opt/circleci/.pyenv/versions/3.8.5/lib
- run: sudo chown -R circleci:circleci /opt/circleci/.pyenv/versions
- restore_cache: # ensure this step occurs *before* installing dependencies
key: deps9-{{ .Branch }}-{{ checksum "Pipfile.lock" }}
- run:
Expand Down Expand Up @@ -115,7 +115,7 @@ jobs:
coveralls
test_integration:
machine:
image: ubuntu-2004:202008-01
image: ubuntu-2004:current
docker_layer_caching: true # default - false
parameters:
orion-version:
Expand All @@ -124,7 +124,7 @@ jobs:
- checkout
- run: sudo chown -R circleci:circleci /usr/local/bin
- run: sudo chown -R circleci:circleci /usr/local/lib/python3.8
- run: sudo chown -R circleci:circleci /opt/circleci/.pyenv/versions/3.8.5/lib
- run: sudo chown -R circleci:circleci /opt/circleci/.pyenv/versions
- restore_cache: # ensure this step occurs *before* installing dependencies
key: deps9-{{ .Branch }}-{{ checksum "Pipfile.lock" }}
- run:
Expand Down Expand Up @@ -159,13 +159,13 @@ jobs:
coveralls
test_others:
machine:
image: ubuntu-2004:202008-01
image: ubuntu-2004:current
docker_layer_caching: true # default - false
steps:
- checkout
- run: sudo chown -R circleci:circleci /usr/local/bin
- run: sudo chown -R circleci:circleci /usr/local/lib/python3.8
- run: sudo chown -R circleci:circleci /opt/circleci/.pyenv/versions/3.8.5/lib
- run: sudo chown -R circleci:circleci /opt/circleci/.pyenv/versions
- restore_cache: # ensure this step occurs *before* installing dependencies
key: deps9-{{ .Branch }}-{{ checksum "Pipfile.lock" }}
- run:
Expand Down Expand Up @@ -199,7 +199,7 @@ jobs:
coveralls
coveralls:
machine:
image: ubuntu-2004:202008-01
image: ubuntu-2004:current
steps:
- checkout
- run:
Expand Down Expand Up @@ -235,4 +235,4 @@ workflows:
- test_translator
- test_reporter
- test_integration
- test_others
- test_others
2 changes: 2 additions & 0 deletions RELEASE_NOTES.md
Original file line number Diff line number Diff line change
Expand Up @@ -40,6 +40,8 @@ respectively for the query result as in e.g.

### Continuous Integration

- Fix for CircleCI image deprecation (#753)

### Documentation

### Technical debt
Expand Down

0 comments on commit 09b0d0f

Please sign in to comment.