Skip to content

Commit 9a59891

Browse files
authored
Updated branch filtering and removed matrix (#331)
1 parent 02946f4 commit 9a59891

File tree

2 files changed

+10
-17
lines changed

2 files changed

+10
-17
lines changed

.buildkite/pipeline.yml

Lines changed: 9 additions & 16 deletions
Original file line numberDiff line numberDiff line change
@@ -66,7 +66,7 @@ steps:
6666
command:
6767
- ".buildkite/scripts/build.sh {{matrix.makefile}}"
6868
- ".buildkite/scripts/publish.sh {{matrix.makefile}}"
69-
branches: "^(main|\\d+\\.\\d+)$"
69+
branches: "(main|\\d+\\.\\d+)"
7070
agents:
7171
provider: "gcp"
7272
image: "${IMAGE_UBUNTU_X86_64}"
@@ -81,31 +81,24 @@ steps:
8181
- "Makefile.debian11"
8282
- "Makefile.debian12"
8383

84-
- label: ":linux: Release / Ubuntu ARM - {{matrix.makefile}}"
84+
- label: ":linux: Release / Ubuntu ARM - Makefile.debian9"
8585
key: "release-ubuntu-arm"
8686
command:
87-
- ".buildkite/scripts/build.sh {{matrix.makefile}}"
88-
- ".buildkite/scripts/publish.sh {{matrix.makefile}}"
89-
branches: "^(main|\\d+\\.\\d+)$"
87+
- ".buildkite/scripts/build.sh Makefile.debian9"
88+
- ".buildkite/scripts/publish.sh Makefile.debian9"
89+
branches: "(main|\\d+\\.\\d+)"
9090
agents:
9191
provider: "aws"
9292
imagePrefix: "${IMAGE_UBUNTU_ARM_64}"
9393
instanceType: "t4g.large"
94-
matrix:
95-
setup:
96-
makefile:
97-
- "Makefile"
98-
- "Makefile.debian7"
99-
- "Makefile.debian8"
100-
- "Makefile.debian9"
101-
- "Makefile.debian10"
102-
- "Makefile.debian11"
103-
- "Makefile.debian12"
10494

10595
- label: "Post-Release"
10696
key: "post-release"
10797
command: ".buildkite/scripts/post-release.sh ${GOLANG_VERSION}"
108-
branches: "^(main|\\d+\\.\\d+)$"
98+
branches: "(main|\\d+\\.\\d+)"
99+
depends_on:
100+
- "release-ubuntu-x86"
101+
- "release-ubuntu-arm"
109102
notify:
110103
- github_commit_status:
111104
context: "Post-release"

catalog-info.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -43,7 +43,7 @@ spec:
4343
build_pull_requests: true # requires filter_enabled and filter_condition settings as below when used with buildkite-pr-bot
4444
filter_enabled: true
4545
filter_condition: >-
46-
build.pull_request.id == null || (build.creator.name == 'elasticmachine' && build.pull_request.id != null)
46+
build.creator.name == 'elasticmachine' && build.pull_request.id != null
4747
repository: elastic/golang-crossbuild
4848
cancel_intermediate_builds: true
4949
cancel_intermediate_builds_branch_filter: '!main'

0 commit comments

Comments
 (0)