From 0b2dd4941bfc2763a9dcbcb4613e59820d7c855d Mon Sep 17 00:00:00 2001 From: David Hoese <david.hoese@ssec.wisc.edu> Date: Fri, 17 Jul 2020 12:02:18 -0500 Subject: [PATCH] Switch pipeline source check to pipeline --- .gitlab-ci.yml | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index 3385d8c..182bc0e 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -26,12 +26,11 @@ build ci: extends: .docker_based_job script: - cd cichart - - echo $CI_PIPELINE_SOURCE - docker build --tag $CICHART_IMAGE . - docker push $CICHART_IMAGE rules: # no need to build if another project triggered us - - if: $CI_PIPELINE_SOURCE == "parent_pipeline" + - if: $CI_PIPELINE_SOURCE == "pipeline" when: never - changes: - cichart/Dockerfile @@ -47,7 +46,7 @@ build sidecar rabbit init: IMAGE_DIR: sidecars/cspp-geo-rabbit-init rules: # no need to build if another project triggered us - - if: $CI_PIPELINE_SOURCE == "parent_pipeline" + - if: $CI_PIPELINE_SOURCE == "pipeline" when: never - changes: - sidecars/cspp-geo-rabbit-init/Dockerfile -- GitLab