Skip to content

Commit b3541f9

Browse files
authored
Merge pull request #4047 from DataDog/erikayasuda/cusim-deploy-trigger-fix
fix: Only trigger CuSim/RelEnv deploys on nightly scheduled runs or manual triggers [APMLP-1610]
2 parents 8f7e04e + a1f3589 commit b3541f9

1 file changed

Lines changed: 4 additions & 1 deletion

File tree

.gitlab/generate-package.php

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1709,7 +1709,10 @@ function appsec_image_from_tag_mapping(string $tag): string
17091709
needs:
17101710
- job: "bundle for reliability env"
17111711
rules:
1712-
- when: on_success
1712+
- if: $NIGHTLY_BUILD == "true"
1713+
when: on_success
1714+
- when: manual
1715+
allow_failure: true
17131716
trigger:
17141717
project: DataDog/apm-reliability/datadog-reliability-env
17151718
branch: $RELIABILITY_ENV_BRANCH

0 commit comments

Comments
 (0)