33env :
44 DOCKER_COMPOSE_VERSION : " 1.25.5"
55 TERRAFORM_VERSION : " 1.6.4"
6+ IMAGE_UBUNTU_X86_64 : " family/core-ubuntu-2204"
7+ IMAGE_UBUNTU_ARM_64 : " core-ubuntu-2204-aarch64"
68 IMAGE_UBUNTU_X86_64_FIPS : " platform-ingest-fleet-server-ubuntu-2204-fips"
79
810# This section is used to define the plugins that will be used in the pipeline.
@@ -22,6 +24,13 @@ common:
2224 - docker_elastic_login_plugin : &docker_elastic_login_plugin
2325 elastic/vault-docker-login#v0.6.0:
2426 secret_path : ' kv/ci-shared/platform-ingest/elastic_docker_registry'
27+ # See https://github.com/elastic/oblt-infra/blob/main/conf/resources/repos/fleet-server/01-gcp-buildkite-oidc.tf
28+ # This plugin authenticates to Google Cloud using the OIDC token.
29+ - oidc_plugin : &oidc_plugin
30+ elastic/oblt-google-auth#v1.2.0:
31+ lifetime : 10800 # seconds
32+ project-id : " elastic-observability-ci"
33+ project-number : " 911195782929"
2534
2635steps :
2736 - group : " Check and build"
@@ -33,18 +42,63 @@ steps:
3342 agents :
3443 provider : " gcp"
3544
36- - label : " :building_construction: Run local build"
37- key : make-local
38- command : " .buildkite/scripts/local_build.sh"
45+ - label : " Package x86_64"
46+ key : " package-x86-64-pr"
47+ env :
48+ PLATFORMS : " linux/amd64,darwin/amd64,windows/amd64"
49+ command : " .buildkite/scripts/release_test.sh"
50+ artifact_paths :
51+ - build/distributions/**
3952 agents :
4053 provider : " gcp"
54+ image : " ${IMAGE_UBUNTU_X86_64}"
55+ machineType : " c2-standard-16"
56+ plugins :
57+ - *oidc_plugin
4158
42- - label : " :building_construction: Run local build: MacOS"
43- key : make-local-macos
44- command : " .buildkite/scripts/local_build.sh"
59+ - label : " Package x86_64 FIPS"
60+ key : " package-fips-x86-64-pr"
61+ env :
62+ FIPS : " true"
63+ PLATFORMS : " linux/amd64"
64+ command : " .buildkite/scripts/release_test.sh"
65+ artifact_paths :
66+ - build/distributions/**
4567 agents :
46- provider : orka
47- imagePrefix : generic-13-ventura-arm
68+ provider : " gcp"
69+ image : " ${IMAGE_UBUNTU_X86_64}"
70+ machineType : " c2-standard-16"
71+ plugins :
72+ - *oidc_plugin
73+
74+ - label : " Package aarch64"
75+ key : " package-arm64-pr"
76+ env :
77+ PLATFORMS : " linux/arm64,darwin/arm64"
78+ command : " .buildkite/scripts/release_test.sh"
79+ artifact_paths :
80+ - build/distributions/**
81+ agents :
82+ provider : " aws"
83+ imagePrefix : " ${IMAGE_UBUNTU_ARM_64}"
84+ instanceType : " t4g.2xlarge"
85+ plugins :
86+ - *oidc_plugin
87+
88+ - label : " Package aarch64 FIPS"
89+ key : " package-fips-arm64-pr"
90+ env :
91+ FIPS : " true"
92+ PLATFORMS : " linux/arm64"
93+ command : " .buildkite/scripts/release_test.sh"
94+ artifact_paths :
95+ - build/distributions/**
96+ agents :
97+ provider : " aws"
98+ imagePrefix : " ${IMAGE_UBUNTU_ARM_64}"
99+ instanceType : " t4g.2xlarge"
100+ plugins :
101+ - *oidc_plugin
48102
49103 - group : " Performance test"
50104 key : " performance-test"
@@ -288,22 +342,6 @@ steps:
288342 depends_on :
289343 - step : " publish"
290344
291- - label : " :gcloud: Release test"
292- key : " release-test"
293- command : " .buildkite/scripts/release_test.sh"
294- agents :
295- provider : " gcp"
296- depends_on :
297- - step : " tests"
298- allow_failure : false
299- plugins :
300- # See https://github.com/elastic/oblt-infra/blob/main/conf/resources/repos/fleet-server/01-gcp-buildkite-oidc.tf
301- # This plugin authenticates to Google Cloud using the OIDC token.
302- - elastic/oblt-google-auth#v1.2.0:
303- lifetime : 10800 # seconds
304- project-id : " elastic-observability-ci"
305- project-number : " 911195782929"
306-
307345 - label : " :jenkins: Release - Package Registry Distribution"
308346 key : " release-package-registry"
309347 trigger : " package-registry-release-package-registry-distribution"
0 commit comments