Skip to content

Commit 99b5820

Browse files
authored
1695: Update infrastructure for golang-crossbuild BK pipelines (#327)
1 parent d674a24 commit 99b5820

File tree

2 files changed

+7
-4
lines changed

2 files changed

+7
-4
lines changed

.buildkite/pull-requests.json

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55
"pipelineSlug": "golang-crossbuild",
66
"allow_org_users": true,
77
"allowed_repo_permissions": ["admin", "write"],
8-
"allowed_list": [ ],
8+
"allowed_list": ["dependabot[bot]", "mergify[bot]"],
99
"set_commit_status": true,
1010
"build_on_commit": true,
1111
"build_on_comment": true,
@@ -14,7 +14,8 @@
1414
"skip_ci_labels": [ ],
1515
"skip_target_branches": [ ],
1616
"skip_ci_on_only_changed": [ ],
17-
"always_require_ci_on_changed": [ ]
17+
"always_require_ci_on_changed": [ ],
18+
"fail_on_not_mergeable": true
1819
}
1920
]
2021
}

catalog-info.yaml

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -34,12 +34,14 @@ spec:
3434
name: golang-crossbuild
3535
description: 'Pipeline for the golang-crossbuild project'
3636
spec:
37-
branch_configuration: "main v1.*"
37+
# TODO uncomment when pipeline is ready
38+
# branch_configuration: "main v1.*" # temporarily disable to build PRs from forks
3839
pipeline_file: ".buildkite/pipeline.yml"
3940
provider_settings:
41+
build_tags: true
42+
publish_commit_status: true
4043
build_pull_request_forks: false
4144
build_pull_requests: true # requires filter_enabled and filter_condition settings as below when used with buildkite-pr-bot
42-
build_tags: true
4345
filter_enabled: true
4446
filter_condition: >-
4547
build.pull_request.id == null || (build.creator.name == 'elasticmachine' && build.pull_request.id != null)

0 commit comments

Comments
 (0)