Skip to content

Commit 22b8319

Browse files
committed
only trigger cusim/relenv deploy on nightly build scheduled run or manual trigger
1 parent 17a0855 commit 22b8319

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
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)