Skip to content

Commit

Permalink
Revert "ci: remove win 2019 and win 2016 pipelines (#42706)" (#42718)
Browse files Browse the repository at this point in the history
This reverts commit 0f487df.
  • Loading branch information
pierrehilbert authored Feb 14, 2025
1 parent 5fbf359 commit 12db1f9
Show file tree
Hide file tree
Showing 14 changed files with 762 additions and 0 deletions.
55 changes: 55 additions & 0 deletions .buildkite/auditbeat/auditbeat-pipeline.yml
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,8 @@ env:
IMAGE_UBUNTU_2404_ARM64: "platform-ingest-beats-ubuntu-2404-aarch64"
IMAGE_WIN_10: "family/platform-ingest-beats-windows-10"
IMAGE_WIN_11: "family/platform-ingest-beats-windows-11"
IMAGE_WIN_2016: "family/platform-ingest-beats-windows-2016"
IMAGE_WIN_2019: "family/platform-ingest-beats-windows-2019"
IMAGE_WIN_2022: "family/platform-ingest-beats-windows-2022"

IMAGE_BEATS_WITH_HOOKS_LATEST: "docker.elastic.co/ci-agent-images/platform-ingest/buildkite-agent-beats-ci-with-hooks:latest"
Expand Down Expand Up @@ -128,6 +130,32 @@ steps:
- github_commit_status:
context: "auditbeat: RHEL9 Unit Tests"

- label: ":windows: Auditbeat: Win 2016 Unit Tests"
command: |
Set-Location -Path auditbeat
mage build unitTest
retry:
automatic:
- limit: 1
agents:
provider: "gcp"
image: "${IMAGE_WIN_2016}"
machine_type: "${GCP_WIN_MACHINE_TYPE}"
disk_size: 200
disk_type: "pd-ssd"
artifact_paths:
- "auditbeat/build/*.xml"
- "auditbeat/build/*.json"
plugins:
- test-collector#v1.10.2:
files: "auditbeat/build/TEST-*.xml"
format: "junit"
branches: "main"
debug: true
notify:
- github_commit_status:
context: "auditbeat: Win 2016 Unit Tests"

- label: ":windows: Auditbeat: Win 2022 Unit Tests"
command: |
Set-Location -Path auditbeat
Expand Down Expand Up @@ -329,6 +357,33 @@ steps:
if: build.env("BUILDKITE_PULL_REQUEST") == "false" || build.env("GITHUB_PR_LABELS") =~ /.*[Ww]indows.*/

steps:
- label: ":windows: Auditbeat: Win 2019 Unit Tests"
key: "auditbeat-extended-win-2019-unit-tests"
command: |
Set-Location -Path auditbeat
mage build unitTest
retry:
automatic:
- limit: 1
agents:
provider: "gcp"
image: "${IMAGE_WIN_2019}"
machine_type: "${GCP_WIN_MACHINE_TYPE}"
disk_size: 100
disk_type: "pd-ssd"
artifact_paths:
- "auditbeat/build/*.xml"
- "auditbeat/build/*.json"
plugins:
- test-collector#v1.10.2:
files: "auditbeat/build/TEST-*.xml"
format: "junit"
branches: "main"
debug: true
notify:
- github_commit_status:
context: "auditbeat: Win 2019 Unit Tests"

- label: ":windows: Auditbeat: Win 10 Unit Tests"
key: "auditbeat-extended-win-10-unit-tests"
command: |
Expand Down
56 changes: 56 additions & 0 deletions .buildkite/filebeat/filebeat-pipeline.yml
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,8 @@ env:
IMAGE_UBUNTU_X86_64: "family/platform-ingest-beats-ubuntu-2204"
IMAGE_WIN_10: "family/platform-ingest-beats-windows-10"
IMAGE_WIN_11: "family/platform-ingest-beats-windows-11"
IMAGE_WIN_2016: "family/platform-ingest-beats-windows-2016"
IMAGE_WIN_2019: "family/platform-ingest-beats-windows-2019"
IMAGE_WIN_2022: "family/platform-ingest-beats-windows-2022"

IMAGE_BEATS_WITH_HOOKS_LATEST: "docker.elastic.co/ci-agent-images/platform-ingest/buildkite-agent-beats-ci-with-hooks:latest"
Expand Down Expand Up @@ -151,6 +153,33 @@ steps:
- github_commit_status:
context: "filebeat: Python Integration Tests"

- label: ":windows: Filebeat: Win 2016 Unit Tests"
key: "windows-2016-unit-tests"
command: |
Set-Location -Path filebeat
mage build unitTest
retry:
automatic:
- limit: 1
agents:
provider: "gcp"
image: "${IMAGE_WIN_2016}"
machine_type: "${GCP_WIN_MACHINE_TYPE}"
disk_size: 200
disk_type: "pd-ssd"
artifact_paths:
- "filebeat/build/*.xml"
- "filebeat/build/*.json"
plugins:
- test-collector#v1.10.2:
files: "filebeat/build/TEST-*.xml"
format: "junit"
branches: "main"
debug: true
notify:
- github_commit_status:
context: "filebeat: Win 2016 Unit Tests"

- label: ":windows: Filebeat: Win 2022 Unit Tests"
key: "windows-2022-unit-tests"
command: |
Expand Down Expand Up @@ -274,6 +303,33 @@ steps:
if: build.env("BUILDKITE_PULL_REQUEST") == "false" || build.env("GITHUB_PR_LABELS") =~ /.*[Ww]indows.*/

steps:
- label: ":windows: Filebeat: Win 2019 Unit Tests"
key: "windows-extended-2019"
command: |
Set-Location -Path filebeat
mage build unitTest
retry:
automatic:
- limit: 1
agents:
provider: "gcp"
image: "${IMAGE_WIN_2019}"
machine_type: "${GCP_WIN_MACHINE_TYPE}"
disk_size: 200
disk_type: "pd-ssd"
artifact_paths:
- "filebeat/build/*.xml"
- "filebeat/build/*.json"
plugins:
- test-collector#v1.10.2:
files: "filebeat/build/TEST-*.xml"
format: "junit"
branches: "main"
debug: true
notify:
- github_commit_status:
context: "filebeat: Win 2019 Unit Tests"

- label: ":windows: Filebeat: Win 11 Unit Tests"
key: "windows-extended-11"
command: |
Expand Down
42 changes: 42 additions & 0 deletions .buildkite/heartbeat/heartbeat-pipeline.yml
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,8 @@ env:
IMAGE_UBUNTU_X86_64: "family/platform-ingest-beats-ubuntu-2204"
IMAGE_WIN_10: "family/platform-ingest-beats-windows-10"
IMAGE_WIN_11: "family/platform-ingest-beats-windows-11"
IMAGE_WIN_2016: "family/platform-ingest-beats-windows-2016"
IMAGE_WIN_2019: "family/platform-ingest-beats-windows-2019"
IMAGE_WIN_2022: "family/platform-ingest-beats-windows-2022"

IMAGE_BEATS_WITH_HOOKS_LATEST: "docker.elastic.co/ci-agent-images/platform-ingest/buildkite-agent-beats-ci-with-hooks:latest"
Expand Down Expand Up @@ -111,6 +113,26 @@ steps:
- github_commit_status:
context: "heartbeat: RHEL9 Unit Tests"

- label: ":windows: Heartbeat: Win 2016 Unit Tests"
key: "windows-2016"
command: |
Set-Location -Path heartbeat
mage build unitTest
retry:
automatic:
- limit: 1
agents:
provider: "gcp"
image: "${IMAGE_WIN_2016}"
machine_type: "${GCP_WIN_MACHINE_TYPE}"
disk_type: "pd-ssd"
artifact_paths:
- "heartbeat/build/*.xml"
- "heartbeat/build/*.json"
notify:
- github_commit_status:
context: "heartbeat: Win 2016 Unit Tests"

- label: ":windows: Heartbeat: Win 2022 Unit Test"
key: "windows-2022"
command: |
Expand Down Expand Up @@ -245,6 +267,26 @@ steps:
if: build.env("BUILDKITE_PULL_REQUEST") == "false" || build.env("GITHUB_PR_LABELS") =~ /.*[Ww]indows.*/

steps:
- label: ":windows: Heartbeat: Win 2019 Unit Tests"
key: "heartbeat-win-extended-2019"
command: |
Set-Location -Path heartbeat
mage build unitTest
retry:
automatic:
- limit: 1
agents:
provider: "gcp"
image: "${IMAGE_WIN_2019}"
machine_type: "${GCP_WIN_MACHINE_TYPE}"
disk_type: "pd-ssd"
artifact_paths:
- "heartbeat/build/*.xml"
- "heartbeat/build/*.json"
notify:
- github_commit_status:
context: "heartbeat: Win 2019 Unit Tests"

- label: ":windows: Heartbeat: Win 11 Unit Tests"
key: "heartbeat-windows-extended-11"
command: |
Expand Down
56 changes: 56 additions & 0 deletions .buildkite/metricbeat/pipeline.yml
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,8 @@ env:
IMAGE_UBUNTU_X86_64: "family/platform-ingest-beats-ubuntu-2204"
IMAGE_WIN_10: "family/platform-ingest-beats-windows-10"
IMAGE_WIN_11: "family/platform-ingest-beats-windows-11"
IMAGE_WIN_2016: "family/platform-ingest-beats-windows-2016"
IMAGE_WIN_2019: "family/platform-ingest-beats-windows-2019"
IMAGE_WIN_2022: "family/platform-ingest-beats-windows-2022"

IMAGE_BEATS_WITH_HOOKS_LATEST: "docker.elastic.co/ci-agent-images/platform-ingest/buildkite-agent-beats-ci-with-hooks:latest"
Expand Down Expand Up @@ -177,6 +179,33 @@ steps:
- github_commit_status:
context: "metricbeat: Crosscompile"

- label: ":windows: Metricbeat: Win 2016 Unit Tests"
command: |
Set-Location -Path metricbeat
mage build unitTest
key: "mandatory-win-2016-unit-tests"
retry:
automatic:
- limit: 1
agents:
provider: "gcp"
image: "${IMAGE_WIN_2016}"
machine_type: "${GCP_WIN_MACHINE_TYPE}"
disk_size: 100
disk_type: "pd-ssd"
artifact_paths:
- "metricbeat/build/*.xml"
- "metricbeat/build/*.json"
plugins:
- test-collector#v1.10.2:
files: "metricbeat/build/TEST-*.xml"
format: "junit"
branches: "main"
debug: true
notify:
- github_commit_status:
context: "metricbeat: Win 2016 Unit Tests"

- label: ":windows: Metricbeat: Win 2022 Unit Tests"
command: |
Set-Location -Path metricbeat
Expand Down Expand Up @@ -263,6 +292,33 @@ steps:
- github_commit_status:
context: "metricbeat: Win 11 Unit Tests"

- label: ":windows: Metricbeat: Win 2019 Unit Tests"
command: |
Set-Location -Path metricbeat
mage build unitTest
key: "extended-win-2019-unit-tests"
retry:
automatic:
- limit: 1
agents:
provider: "gcp"
image: "${IMAGE_WIN_2019}"
machineType: "${GCP_WIN_MACHINE_TYPE}"
disk_size: 100
disk_type: "pd-ssd"
artifact_paths:
- "metricbeat/build/*.xml"
- "metricbeat/build/*.json"
plugins:
- test-collector#v1.10.2:
files: "metricbeat/build/TEST-*.xml"
format: "junit"
branches: "main"
debug: true
notify:
- github_commit_status:
context: "metricbeat: Win 2019 Unit Tests"

- group: "Extended Tests"
key: "metricbeat-extended-tests"
if: build.env("BUILDKITE_PULL_REQUEST") == "false" || build.env("GITHUB_PR_LABELS") =~ /.*macOS.*/
Expand Down
55 changes: 55 additions & 0 deletions .buildkite/packetbeat/pipeline.packetbeat.yml
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,8 @@ env:
IMAGE_UBUNTU_X86_64: "family/platform-ingest-beats-ubuntu-2204"
IMAGE_WIN_10: "family/platform-ingest-beats-windows-10"
IMAGE_WIN_11: "family/platform-ingest-beats-windows-11"
IMAGE_WIN_2016: "family/platform-ingest-beats-windows-2016"
IMAGE_WIN_2019: "family/platform-ingest-beats-windows-2019"
IMAGE_WIN_2022: "family/platform-ingest-beats-windows-2022"

IMAGE_BEATS_WITH_HOOKS_LATEST: "docker.elastic.co/ci-agent-images/platform-ingest/buildkite-agent-beats-ci-with-hooks:latest"
Expand Down Expand Up @@ -122,6 +124,32 @@ steps:
- github_commit_status:
context: "packetbeat: RHEL9 Unit Tests"

- label: ":windows: Packetbeat: Win 2016 Unit Tests"
command: |
Set-Location -Path packetbeat
mage build unitTest
retry:
automatic:
- limit: 1
agents:
provider: "gcp"
image: "${IMAGE_WIN_2016}"
machine_type: "${GCP_WIN_MACHINE_TYPE}"
disk_size: 100
disk_type: "pd-ssd"
artifact_paths:
- "packetbeat/build/*.xml"
- "packetbeat/build/*.json"
plugins:
- test-collector#v1.10.2:
files: "packetbeat/build/TEST-*.xml"
format: "junit"
branches: "main"
debug: true
notify:
- github_commit_status:
context: "packetbeat: Win 2016 Unit Tests"

- label: ":windows: Packetbeat: Win 2022 Unit Tests"
command: |
Set-Location -Path packetbeat
Expand Down Expand Up @@ -206,6 +234,33 @@ steps:
- github_commit_status:
context: "packetbeat: Win 11 Unit Tests"

- label: ":windows: Packetbeat: Win 2019 Unit Tests"
command: |
Set-Location -Path packetbeat
mage build unitTest
key: "extended-win-2019-unit-tests"
retry:
automatic:
- limit: 1
agents:
provider: "gcp"
image: "${IMAGE_WIN_2019}"
machineType: "${GCP_WIN_MACHINE_TYPE}"
disk_size: 100
disk_type: "pd-ssd"
artifact_paths:
- "packetbeat/build/*.xml"
- "packetbeat/build/*.json"
plugins:
- test-collector#v1.10.2:
files: "packetbeat/build/TEST-*.xml"
format: "junit"
branches: "main"
debug: true
notify:
- github_commit_status:
context: "packetbeat: Win 2019 Unit Tests"

- group: "Extended Tests"
key: "extended-tests"

Expand Down
Loading

0 comments on commit 12db1f9

Please sign in to comment.