Skip to content
Snippets Groups Projects
Verified Commit 0b2dd494 authored by David Hoese's avatar David Hoese
Browse files

Switch pipeline source check to pipeline

parent 982462c8
No related branches found
No related tags found
No related merge requests found
...@@ -26,12 +26,11 @@ build ci: ...@@ -26,12 +26,11 @@ build ci:
extends: .docker_based_job extends: .docker_based_job
script: script:
- cd cichart - cd cichart
- echo $CI_PIPELINE_SOURCE
- docker build --tag $CICHART_IMAGE . - docker build --tag $CICHART_IMAGE .
- docker push $CICHART_IMAGE - docker push $CICHART_IMAGE
rules: rules:
# no need to build if another project triggered us # no need to build if another project triggered us
- if: $CI_PIPELINE_SOURCE == "parent_pipeline" - if: $CI_PIPELINE_SOURCE == "pipeline"
when: never when: never
- changes: - changes:
- cichart/Dockerfile - cichart/Dockerfile
...@@ -47,7 +46,7 @@ build sidecar rabbit init: ...@@ -47,7 +46,7 @@ build sidecar rabbit init:
IMAGE_DIR: sidecars/cspp-geo-rabbit-init IMAGE_DIR: sidecars/cspp-geo-rabbit-init
rules: rules:
# no need to build if another project triggered us # no need to build if another project triggered us
- if: $CI_PIPELINE_SOURCE == "parent_pipeline" - if: $CI_PIPELINE_SOURCE == "pipeline"
when: never when: never
- changes: - changes:
- sidecars/cspp-geo-rabbit-init/Dockerfile - sidecars/cspp-geo-rabbit-init/Dockerfile
......
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