ci: pull images via gitlab dependency proxy

This commit is contained in:
usov_i 2024-04-15 14:35:23 +02:00 committed by wakonig_k
parent 4ee86aba37
commit 8d68e7df70

View File

@ -1,7 +1,7 @@
# This file is a template, and might need editing before it works on your project. # This file is a template, and might need editing before it works on your project.
# Official language image. Look for the different tagged releases at: # Official language image. Look for the different tagged releases at:
# https://hub.docker.com/r/library/python/tags/ # https://hub.docker.com/r/library/python/tags/
image: $CI_DOCKER_REGISTRY/python:3.10 image: $CI_DEPENDENCY_PROXY_GROUP_IMAGE_PREFIX/python:3.10
variables: variables:
BEC_CORE_BRANCH: "main" BEC_CORE_BRANCH: "main"
@ -107,7 +107,7 @@ pytest:
tests-3.11: tests-3.11:
stage: AdditionalTests stage: AdditionalTests
image: $CI_DOCKER_REGISTRY/python:3.11 image: $CI_DEPENDENCY_PROXY_GROUP_IMAGE_PREFIX/python:3.11
script: script:
- git clone --branch $BEC_CORE_BRANCH https://gitlab.psi.ch/bec/bec.git - git clone --branch $BEC_CORE_BRANCH https://gitlab.psi.ch/bec/bec.git
- pip install -e ./bec/bec_lib[dev] - pip install -e ./bec/bec_lib[dev]
@ -117,7 +117,7 @@ tests-3.11:
tests-3.12: tests-3.12:
extends: "tests-3.11" extends: "tests-3.11"
stage: AdditionalTests stage: AdditionalTests
image: $CI_DOCKER_REGISTRY/python:3.12 image: $CI_DEPENDENCY_PROXY_GROUP_IMAGE_PREFIX/python:3.12
allow_failure: true allow_failure: true
trigger_bec: trigger_bec: