Skip to content

Commit

Permalink
[7.17](backport #39598) Restore macOS CI execution with merge commits (
Browse files Browse the repository at this point in the history
…#39599)

This PR partially reverts #39533 and restores the execution of macOS CI
with merge commits (`main` + release branches) since there is coverage
via GH actions.

It also removes the GH actions to avoid duplicate checks.

(cherry picked from commit 2aef900)

---------

Co-authored-by: Dimitrios Liappis <[email protected]>
  • Loading branch information
mergify[bot] and dliappis authored May 17, 2024
1 parent af563a7 commit 0304ab6
Show file tree
Hide file tree
Showing 23 changed files with 12 additions and 577 deletions.
2 changes: 1 addition & 1 deletion .buildkite/auditbeat/auditbeat-pipeline.yml
Original file line number Diff line number Diff line change
Expand Up @@ -135,7 +135,7 @@ steps:

steps:
- label: ":mac: Auditbeat macOS x86_64 Unit Tests"
if: build.env("GITHUB_PR_LABELS") =~ /.*macOS.*/
if: build.env("BUILDKITE_PULL_REQUEST") == "false" || build.env("GITHUB_PR_LABELS") =~ /.*macOS.*/
command: |
set -euo pipefail
source .buildkite/scripts/install_macos_tools.sh
Expand Down
2 changes: 1 addition & 1 deletion .buildkite/filebeat/filebeat-pipeline.yml
Original file line number Diff line number Diff line change
Expand Up @@ -179,7 +179,7 @@ steps:
steps:
- label: ":mac: MacOS x64_64 Unit Tests"
key: "macos-unit-tests-extended"
if: build.env("GITHUB_PR_LABELS") =~ /.*macOS.*/
if: build.env("BUILDKITE_PULL_REQUEST") == "false" || build.env("GITHUB_PR_LABELS") =~ /.*macOS.*/
command: |
set -euo pipefail
source .buildkite/scripts/install_macos_tools.sh
Expand Down
2 changes: 1 addition & 1 deletion .buildkite/heartbeat/heartbeat-pipeline.yml
Original file line number Diff line number Diff line change
Expand Up @@ -166,7 +166,7 @@ steps:

- group: "Heartbeat Extended Testing MacOS"
key: "heartbeat-extended-tests-macos"
if: build.env("GITHUB_PR_LABELS") =~ /.*macOS.*/
if: build.env("BUILDKITE_PULL_REQUEST") == "false" || build.env("GITHUB_PR_LABELS") =~ /.*macOS.*/
steps:
- label: ":mac: Heartbeat MacOS Unit Tests"
key: "macos-extended"
Expand Down
2 changes: 1 addition & 1 deletion .buildkite/metricbeat/pipeline.yml
Original file line number Diff line number Diff line change
Expand Up @@ -245,7 +245,7 @@ steps:

- group: "Metricbeat Extended MacOS Tests"
key: "metricbeat-extended-macos-tests"
if: build.env("GITHUB_PR_LABELS") =~ /.*macOS.*/
if: build.env("BUILDKITE_PULL_REQUEST") == "false" || build.env("GITHUB_PR_LABELS") =~ /.*macOS.*/
steps:
- label: ":mac: MacOS x64_64 Unit Tests"
key: "extended-macos-x64-64-unit-tests"
Expand Down
2 changes: 1 addition & 1 deletion .buildkite/packetbeat/pipeline.packetbeat.yml
Original file line number Diff line number Diff line change
Expand Up @@ -173,7 +173,7 @@ steps:
steps:
- label: ":mac: MacOS x86_64 Unit Tests"
key: "macos-x86-64-unit-tests-extended"
if: build.env("GITHUB_PR_LABELS") =~ /.*macOS.*/
if: build.env("BUILDKITE_PULL_REQUEST") == "false" || build.env("GITHUB_PR_LABELS") =~ /.*macOS.*/
command: |
set -euo pipefail
source .buildkite/scripts/install_macos_tools.sh
Expand Down
2 changes: 1 addition & 1 deletion .buildkite/x-pack/pipeline.xpack.auditbeat.yml
Original file line number Diff line number Diff line change
Expand Up @@ -184,7 +184,7 @@ steps:

- group: "x-pack/auditbeat MacOS Extended Tests"
key: "x-pack-auditbeat-extended-tests-macos"
if: build.env("GITHUB_PR_LABELS") =~ /.*macOS.*/
if: build.env("BUILDKITE_PULL_REQUEST") == "false" || build.env("GITHUB_PR_LABELS") =~ /.*macOS.*/
steps:
- label: ":mac: MacOS x86_64 Unit Tests"
command: |
Expand Down
4 changes: 2 additions & 2 deletions .buildkite/x-pack/pipeline.xpack.filebeat.yml
Original file line number Diff line number Diff line change
Expand Up @@ -226,7 +226,7 @@ steps:
key: "x-pack-filebeat-extended-tests"
steps:
- label: ":mac: MacOS x86_64 Unit Tests"
if: build.env("GITHUB_PR_LABELS") =~ /.*(macOS).*/
if: build.env("BUILDKITE_PULL_REQUEST") == "false" || build.env("GITHUB_PR_LABELS") =~ /.*macOS.*/
command: |
set -euo pipefail
source .buildkite/scripts/install_macos_tools.sh
Expand All @@ -246,7 +246,7 @@ steps:

- label: ":mac: MacOS arm64 Unit Tests"
skip: "https://github.com/elastic/beats/issues/33036"
if: build.env("GITHUB_PR_LABELS") =~ /.*(macOS).*/
if: build.env("BUILDKITE_PULL_REQUEST") == "false" || build.env("GITHUB_PR_LABELS") =~ /.*macOS.*/
command: |
set -euo pipefail
source .buildkite/scripts/install_macos_tools.sh
Expand Down
2 changes: 1 addition & 1 deletion .buildkite/x-pack/pipeline.xpack.heartbeat.yml
Original file line number Diff line number Diff line change
Expand Up @@ -153,7 +153,7 @@ steps:

- group: "x-pack/heartbeat macOS Extended Tests"
key: "x-pack-heartbeat-extended-tests-macos"
if: build.env("GITHUB_PR_LABELS") =~ /.*macOS.*/
if: build.env("BUILDKITE_PULL_REQUEST") == "false" || build.env("GITHUB_PR_LABELS") =~ /.*macOS.*/

steps:
- label: ":mac: x-pack/heartbeat macOS x86_64 Unit Tests"
Expand Down
4 changes: 2 additions & 2 deletions .buildkite/x-pack/pipeline.xpack.metricbeat.yml
Original file line number Diff line number Diff line change
Expand Up @@ -208,7 +208,7 @@ steps:
if: build.env("BUILDKITE_PULL_REQUEST") == "false" || build.env("GITHUB_PR_LABELS") =~ /.*(macOS|aws).*/
steps:
- label: ":mac: MacOS x86_64 Unit Tests"
if: build.env("GITHUB_PR_LABELS") =~ /.*macOS.**/
if: build.env("BUILDKITE_PULL_REQUEST") == "false" || build.env("GITHUB_PR_LABELS") =~ /.*macOS.*/
command: |
set -euo pipefail
source .buildkite/scripts/install_macos_tools.sh
Expand All @@ -228,7 +228,7 @@ steps:

- label: ":mac: MacOS arm64 Unit Tests"
skip: "https://github.com/elastic/beats/issues/33036"
if: build.env("GITHUB_PR_LABELS") =~ /.*macOS.**/
if: build.env("BUILDKITE_PULL_REQUEST") == "false" || build.env("GITHUB_PR_LABELS") =~ /.*macOS.*/
command: |
set -euo pipefail
source .buildkite/scripts/install_macos_tools.sh
Expand Down
2 changes: 1 addition & 1 deletion .buildkite/x-pack/pipeline.xpack.packetbeat.yml
Original file line number Diff line number Diff line change
Expand Up @@ -132,7 +132,7 @@ steps:

- group: "x-pack/packetbeat MacOS Extended Tests"
key: "x-pack-packetbeat-extended-macos-tests"
if: build.env("GITHUB_PR_LABELS") =~ /.*macOS.*/
if: build.env("BUILDKITE_PULL_REQUEST") == "false" || build.env("GITHUB_PR_LABELS") =~ /.*macOS.*/
steps:
- label: ":mac: MacOS Unit Tests"
key: "extended-macos-unit-tests"
Expand Down
41 changes: 0 additions & 41 deletions .github/workflows/macos-auditbeat.yml

This file was deleted.

73 changes: 0 additions & 73 deletions .github/workflows/macos-build.yml

This file was deleted.

41 changes: 0 additions & 41 deletions .github/workflows/macos-filebeat.yml

This file was deleted.

41 changes: 0 additions & 41 deletions .github/workflows/macos-heartbeat.yml

This file was deleted.

41 changes: 0 additions & 41 deletions .github/workflows/macos-metricbeat.yml

This file was deleted.

41 changes: 0 additions & 41 deletions .github/workflows/macos-packetbeat.yml

This file was deleted.

Loading

0 comments on commit 0304ab6

Please sign in to comment.