|
|
@ -3,7 +3,7 @@ jobs: # A basic unit of work in a run |
|
|
build: # runs not using Workflows must have a `build` job as entry point |
|
|
build: # runs not using Workflows must have a `build` job as entry point |
|
|
docker: # run the steps with Docker |
|
|
docker: # run the steps with Docker |
|
|
# CircleCI Python images available at: https://hub.docker.com/r/circleci/python/ |
|
|
# CircleCI Python images available at: https://hub.docker.com/r/circleci/python/ |
|
|
- image: circleci/python:latest |
|
|
|
|
|
|
|
|
- image: circleci/python:3.9.1 |
|
|
auth: |
|
|
auth: |
|
|
username: mydockerhub-user |
|
|
username: mydockerhub-user |
|
|
password: $DOCKERHUB_PASSWORD # context / project UI env-var reference |
|
|
password: $DOCKERHUB_PASSWORD # context / project UI env-var reference |
|
|
@ -21,7 +21,7 @@ jobs: # A basic unit of work in a run |
|
|
steps: # steps that comprise the `build` job |
|
|
steps: # steps that comprise the `build` job |
|
|
- checkout # check out source code to working directory |
|
|
- checkout # check out source code to working directory |
|
|
- run: sudo chown -R circleci:circleci /usr/local/bin |
|
|
- run: sudo chown -R circleci:circleci /usr/local/bin |
|
|
- run: sudo chown -R circleci:circleci /usr/local/lib/python3.7/site-packages |
|
|
|
|
|
|
|
|
- run: sudo chown -R circleci:circleci /usr/local/lib/python3.9.1/site-packages |
|
|
- restore_cache: |
|
|
- restore_cache: |
|
|
# Read about caching dependencies: https://circleci.com/docs/2.0/caching/ |
|
|
# Read about caching dependencies: https://circleci.com/docs/2.0/caching/ |
|
|
key: deps9-{{ .Branch }}-{{ checksum "Pipfile.lock" }} |
|
|
key: deps9-{{ .Branch }}-{{ checksum "Pipfile.lock" }} |
|
|
|