make sure gauntlet does not run unless scheduled

This commit is contained in:
pokeeffe-molecula 2022-01-05 16:19:47 -06:00
parent 1fccfabc8f
commit c5e91420cc

View file

@ -281,8 +281,8 @@ gauntlet:
TF_VAR_cluster_prefix: ""
TF_VAR_branch: ""
rules:
- if: '$CI_COMMIT_BRANCH == $CI_DEFAULT_BRANCH'
- if: '$CI_PIPELINE_SOURCE == "schedule" || $CI_PIPELINE_SOURCE == "web"'
- if: '$CI_COMMIT_BRANCH == $CI_DEFAULT_BRANCH'
before_script:
- apt-get update && apt-get install -y gnupg software-properties-common curl git
- curl -fsSL https://apt.releases.hashicorp.com/gpg | apt-key add -