Skip to content
Snippets Groups Projects
Commit 08357b96 authored by Corné Lukken's avatar Corné Lukken
Browse files

Force lofar-device-base rebuild

parent 68438c3c
No related branches found
No related tags found
No related merge requests found
......@@ -42,30 +42,6 @@ stages:
- . bootstrap/etc/lofar20rc.sh || true
## Allow docker image script to execute
# - chmod u+x $CI_PROJECT_DIR/sbin/tag_and_push_docker_image.sh
.base_docker_store_images:
extends: .base_docker_images
script:
# Do not remove 'bash' or statement will be ignored by primitive docker shell
- bash $CI_PROJECT_DIR/sbin/tag_and_push_docker_image.sh
docker_store_images_master_tag:
extends: .base_docker_store_images
only:
refs:
- tags
- master
docker_store_images_changes:
extends: .base_docker_store_images
rules:
# https://stackoverflow.com/questions/68955071/how-to-disable-detached-pipelines-in-gitlab
- if: '$CI_PIPELINE_SOURCE == "merge_request_event"'
when: never
- if: '$CI_COMMIT_TAG != null'
when: never
- if: '$CI_COMMIT_BRANCH == $CI_DEFAULT_BRANCH'
when: never
- changes:
- docker-compose/.env
when: always
docker_build_image_all:
extends: .base_docker_images
only:
......@@ -105,7 +81,6 @@ docker_build_image_all:
- bash $CI_PROJECT_DIR/sbin/tag_and_push_docker_image.sh archiver-timescale latest
- bash $CI_PROJECT_DIR/sbin/tag_and_push_docker_image.sh hdbppts-cm latest
- bash $CI_PROJECT_DIR/sbin/tag_and_push_docker_image.sh hdbppts-es latest
docker_build_image_elk:
extends: .base_docker_images
rules:
......
ARG SOURCE_IMAGE
FROM ${SOURCE_IMAGE}
RUN sudo apt-get update && sudo apt-get install -y git g++ python3-dev && sudo apt-get clean
RUN sudo apt-get update && sudo apt-get install -y git g++ gcc python3-dev && sudo apt-get clean
COPY docker-compose/lofar-device-base/lofar-requirements.txt /lofar-requirements.txt
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment