We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents 63c7751 + e47f8a1 commit 61d1215Copy full SHA for 61d1215
1 file changed
tools/cloud-build/provision/pr-tests.tf
@@ -16,6 +16,10 @@ locals {
16
auto_approved_pr_tests = [
17
"slurm-gcp-v6-simple-job-completion"
18
]
19
+
20
+ no_auto_trigger_tests = [
21
+ "slurm-gcp-v6-simple-job-completion"
22
+ ]
23
}
24
25
@@ -33,7 +37,7 @@ resource "google_cloudbuild_trigger" "pr_test" {
33
37
owner = "GoogleCloudPlatform"
34
38
name = "cluster-toolkit"
35
39
pull_request {
36
- branch = ".*"
40
+ branch = contains(local.no_auto_trigger_tests, each.key) ? "no-auto-trigger" : ".*"
41
comment_control = "COMMENTS_ENABLED_FOR_EXTERNAL_CONTRIBUTORS_ONLY"
42
43
0 commit comments