Skip to content
Snippets Groups Projects
Commit 40de9c9a authored by Jorrit Schaap's avatar Jorrit Schaap
Browse files

we rarely need to build and deploy the LTA/SCU images. Code base hardly...

we rarely need to build and deploy the LTA/SCU images. Code base hardly changes. If we do need to build and deploy them, then fix them. For now, accept the broken image, and do not build to save resources and failure warnings
parent ddaee62f
No related branches found
No related tags found
No related merge requests found
......@@ -81,6 +81,22 @@ variables:
#
# PREPARE BASE STAGE
#
prepare_ci_base_docker_image:
stage: prepare-base
rules:
- if: '$CI_COMMIT_BRANCH !~ /Front-End-Only/'
before_script:
- *prepare_registry
script:
- docker pull ${REGISTRY_PATH}/ci_base:latest || true
- docker build -t ${REGISTRY_PATH}/ci_base:$CI_COMMIT_SHORT_SHA -f Docker/lofar-ci/Dockerfile_ci_base .
- docker tag ${REGISTRY_PATH}/ci_base:latest ${REGISTRY_PATH}/ci_base:$CI_COMMIT_SHORT_SHA
- docker push ${REGISTRY_PATH}/ci_base:$CI_COMMIT_SHORT_SHA
interruptible: true
allow_failure: true # current image is based on CentOS 7, for which some repositories are now down
when: manual # JS 20241211: we rarely need to build and deploy the LTA/SCU images. Code base hardly changes. If we do need to build and deploy them, then fix them. For now, accept the broken image, and do not build to save resources and failure warnings.
prepare_ci_base_ubuntu_docker_image:
stage: prepare-base
rules:
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment