Skip to content

Commit

Permalink
Update .gitlab-ci.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
randomanderson authored Apr 25, 2023
1 parent dc2648a commit 034e962
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions .gitlab-ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand All @@ -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
Expand Down

0 comments on commit 034e962

Please sign in to comment.