Skip to content

Commit

Permalink
Add variable to select downstream branch (DataDog#3890)
Browse files Browse the repository at this point in the history
  • Loading branch information
randomanderson authored Dec 19, 2023
1 parent d8809f2 commit acd9f35
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions .gitlab-ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,9 @@ include:
variables:
JS_PACKAGE_VERSION:
description: "Version to build for .deb and .rpm. Must be already published in NPM"
DOWNSTREAM_BRANCH:
value: "master"
description: "Run a specific datadog-reliability-env branch downstream"

.common: &common
tags: [ "runner:main", "size:large" ]
Expand Down Expand Up @@ -50,6 +53,7 @@ deploy_to_reliability_env:
allow_failure: true
trigger:
project: DataDog/apm-reliability/datadog-reliability-env
branch: $DOWNSTREAM_BRANCH
variables:
UPSTREAM_BRANCH: $CI_COMMIT_REF_NAME
UPSTREAM_PROJECT_ID: $CI_PROJECT_ID
Expand Down

0 comments on commit acd9f35

Please sign in to comment.