From 034e9624cf948bb76aa6bc4b8df1a31dd7828f75 Mon Sep 17 00:00:00 2001 From: Laplie Anderson Date: Tue, 25 Apr 2023 13:38:36 -0400 Subject: [PATCH] Update .gitlab-ci.yml --- .gitlab-ci.yml | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index 48a8ea50b65..2ab8dfb9990 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -13,16 +13,17 @@ variables: DOWNSTREAM_BRANCH: value: "master" description: "Run a specific datadog-reliability-env branch downstream" - FORCE_TRIGGER: - value: "false" - description: "Set to true to override rules in the reliability-env pipeline (e.g. override 'only deploy master')" .common: &common tags: [ "runner:main", "size:large" ] deploy_to_reliability_env: stage: deploy - when: on_success + rules: + - if: $CI_PIPELINE_SOURCE == "scheduled" + when: on_success + - when: manual + allow_failure: true trigger: project: DataDog/apm-reliability/datadog-reliability-env branch: $DOWNSTREAM_BRANCH @@ -31,7 +32,6 @@ deploy_to_reliability_env: UPSTREAM_PROJECT_ID: $CI_PROJECT_ID UPSTREAM_PROJECT_NAME: $CI_PROJECT_NAME UPSTREAM_COMMIT_SHA: $CI_COMMIT_SHA - FORCE_TRIGGER: $FORCE_TRIGGER deploy_to_docker_registries: stage: deploy