@@ -45,13 +45,17 @@ spec:
45
45
spec :
46
46
repository : elastic/fleet-server
47
47
pipeline_file : " .buildkite/pipeline.yml"
48
- branch_configuration : " main 9.* 8.* 7.*"
48
+ # patterns for tags are required to trigger the step that publishes the docker.elastic.co/package-registry/distribution images
49
+ # step with key: "release-package-registry"
50
+ branch_configuration : " main 9.* 8.* 7.* v9.* v8.* v7.*"
49
51
provider_settings :
50
52
build_pull_request_forks : false
51
53
build_pull_requests : true # requires filter_enabled and filter_condition settings as below when used with buildkite-pr-bot
52
- build_tags : false
54
+ build_tags : true
53
55
filter_enabled : true
54
- # TODO: what's the reason for this filter?
56
+ # filter condition to ensure that builds triggered are created from branch (build.pull_request.id= null)
57
+ # or if they are created from pull requests, just the build from the user `elasticmachine` is triggered.
58
+ # this user is the one used by the buildkite-pr-bot
55
59
filter_condition : >-
56
60
build.pull_request.id == null || (build.creator.name == 'elasticmachine' && build.pull_request.id != null)
57
61
env :
95
99
build_tags : false
96
100
build_branches : false
97
101
filter_enabled : true
98
- # TODO: what's the reason for this filter?
102
+ # filter condition to ensure that builds triggered are created from branch (build.pull_request.id= null)
103
+ # or if they are created from pull requests, just the build from the user `elasticmachine` is triggered.
104
+ # this user is the one used by the buildkite-pr-bot
99
105
filter_condition : >-
100
106
build.pull_request.id == null || (build.creator.name == 'elasticmachine' && build.pull_request.id != null)
101
107
env :
@@ -177,7 +183,9 @@ spec:
177
183
build_tags : false
178
184
build_branches : false
179
185
filter_enabled : true
180
- # TODO: what's the reason for this filter?
186
+ # filter condition to ensure that builds triggered are created from branch (build.pull_request.id= null)
187
+ # or if they are created from pull requests, just the build from the user `elasticmachine` is triggered.
188
+ # this user is the one used by the buildkite-pr-bot
181
189
filter_condition : >-
182
190
build.pull_request.id == null || (build.creator.name == 'elasticmachine' && build.pull_request.id != null)
183
191
cancel_intermediate_builds : true
0 commit comments