Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

ci: use public path for cscs-ci images #1560

Merged
merged 1 commit into from
Jun 25, 2024
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 3 additions & 3 deletions ci/cscs-ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ build py38 baseimage:
# the following jobs via a dotenv file.
before_script:
- DOCKER_TAG=`sha256sum ci/base.Dockerfile | head -c 16`
- export PERSIST_IMAGE_NAME=$CSCS_REGISTRY_PATH/base/gt4py-ci:$DOCKER_TAG-$PYVERSION
- export PERSIST_IMAGE_NAME=$CSCS_REGISTRY_PATH/public/base/gt4py-ci:$DOCKER_TAG-$PYVERSION
- echo "BASE_IMAGE_${PYVERSION_PREFIX}=$PERSIST_IMAGE_NAME" >> build.env
artifacts:
reports:
Expand Down Expand Up @@ -58,7 +58,7 @@ build py38 image:
variables:
# make sure we use a unique name here, otherwise we could create a race condition, when multiple pipelines
# are running.
PERSIST_IMAGE_NAME: $CSCS_REGISTRY_PATH/gt4py/gt4py-ci:$CI_COMMIT_SHA-$PYVERSION
PERSIST_IMAGE_NAME: $CSCS_REGISTRY_PATH/public/gt4py/gt4py-ci:$CI_COMMIT_SHA-$PYVERSION
DOCKERFILE: ci/checkout.Dockerfile
DOCKER_BUILD_ARGS: '["PYVERSION=$PYVERSION", "BASE_IMAGE=${BASE_IMAGE_${PYVERSION_PREFIX}}"]'
<<: *py38
Expand All @@ -79,7 +79,7 @@ test py38:
extends: .container-runner-daint-gpu
needs: ["build py38 image"]
stage: test
image: $CSCS_REGISTRY_PATH/gt4py/gt4py-ci:$CI_COMMIT_SHA-$PYVERSION
image: $CSCS_REGISTRY_PATH/public/gt4py/gt4py-ci:$CI_COMMIT_SHA-$PYVERSION
script:
- cd /gt4py.src
- python -c "import cupy"
Expand Down
Loading