@@ -42,29 +42,20 @@ common:
4242 KIBANA_HOST : ea-serverless-it-kibana-hostname
4343 KIBANA_USERNAME : ea-serverless-it-kibana-username
4444 KIBANA_PASSWORD : ea-serverless-it-kibana-password
45- - gcp_hosted_secrets_plugin : &gcp_hosted_secrets_plugin
46- elastic/gcp-secret-manager#v1.3.0-elastic:
47- env :
48- # These secrets are created in the step called Start ESS stack for integration tests
49- # TODO: need to find a way to use dynamic names in the secrets
50- ELASTICSEARCH_HOST : ea-hosted-it-elasticsearch-hostname
51- ELASTICSEARCH_PASSWORD : ea-hosted-it-elasticsearch-password
52- ELASTICSEARCH_USERNAME : ea-hosted-it-elasticsearch-username
53- KIBANA_HOST : ea-hosted-it-kibana-hostname
54- KIBANA_USERNAME : ea-hosted-it-kibana-username
55- KIBANA_PASSWORD : ea-hosted-it-kibana-password
56- INTEGRATIONS_SERVER_HOST : ea-hosted-it-integration-hostname
45+ # TODO: maybe we can rely on the VM and install only if not present?
46+ - oblt_cli_plugin : &oblt_cli_plugin:
47+ elastic/oblt-cli#v0.2.0:
48+ version-file : .oblt-cli-version
5749
5850steps :
59- - label : Start ESS stack for integration tests
51+ - label : Start ESS stack for integration tests using oblt-cli
6052 key : integration-ess
6153 notify :
6254 - github_commit_status :
6355 context : " buildkite/elastic-agent-extended-testing - ESS stack provision using oblt-cli"
6456 command : .buildkite/scripts/steps/ess_start.sh
6557 agents :
6658 image : " docker.elastic.co/ci-agent-images/platform-ingest/oblt-cli:latest"
67- useCustomGlobalHooks : true
6859
6960 - group : " Extended runtime leak tests"
7061 key : extended-integration-tests
@@ -92,6 +83,10 @@ steps:
9283 retry :
9384 automatic :
9485 limit : 1
86+ plugins :
87+ - *google_oidc_observability_plugin
88+ - *oblt_cli_plugin
89+
9590 - label : " Windows:2025:amd64:sudo"
9691 depends_on :
9792 - packaging-windows
@@ -110,6 +105,10 @@ steps:
110105 provider : " gcp"
111106 machineType : " n2-standard-8"
112107 image : " ${IMAGE_WIN_2025}"
108+ plugins :
109+ - *google_oidc_observability_plugin
110+ - *oblt_cli_plugin
111+
113112 - label : " Ubuntu:2404:amd64:sudo"
114113 depends_on : packaging-ubuntu-x86-64
115114 env :
@@ -127,6 +126,9 @@ steps:
127126 provider : " gcp"
128127 machineType : " n2-standard-8"
129128 image : " ${IMAGE_UBUNTU_2404_X86_64}"
129+ plugins :
130+ - *google_oidc_observability_plugin
131+ - *oblt_cli_plugin
130132
131133 - group : " Stateful: Windows"
132134 key : integration-tests-win
@@ -163,7 +165,7 @@ steps:
163165 - install-uninstall
164166 plugins :
165167 - *google_oidc_observability_plugin
166- - *gcp_hosted_secrets_plugin
168+ - *oblt_cli_plugin
167169
168170 - label : " Win2022:non-sudo:{{matrix}}"
169171 depends_on :
@@ -185,7 +187,7 @@ steps:
185187 - default
186188 plugins :
187189 - *google_oidc_observability_plugin
188- - *gcp_hosted_secrets_plugin
190+ - *oblt_cli_plugin
189191
190192 - label : " Win2025:sudo:{{matrix}}"
191193 depends_on :
@@ -214,7 +216,7 @@ steps:
214216 - install-uninstall
215217 plugins :
216218 - *google_oidc_observability_plugin
217- - *gcp_hosted_secrets_plugin
219+ - *oblt_cli_plugin
218220
219221 - label : " Win2025:non-sudo:{{matrix}}"
220222 depends_on :
@@ -236,7 +238,7 @@ steps:
236238 - default
237239 plugins :
238240 - *google_oidc_observability_plugin
239- - *gcp_hosted_secrets_plugin
241+ - *oblt_cli_plugin
240242
241243 - group : " Stateful:Ubuntu"
242244 key : integration-tests-ubuntu
@@ -265,7 +267,7 @@ steps:
265267 - default
266268 plugins :
267269 - *google_oidc_observability_plugin
268- - *gcp_hosted_secrets_plugin
270+ - *oblt_cli_plugin
269271
270272 - label : " x86_64:sudo: {{matrix}}"
271273 depends_on :
@@ -301,7 +303,7 @@ steps:
301303 - container
302304 plugins :
303305 - *google_oidc_observability_plugin
304- - *gcp_hosted_secrets_plugin
306+ - *oblt_cli_plugin
305307
306308 - label : " arm:sudo: {{matrix}}"
307309 depends_on :
@@ -337,7 +339,7 @@ steps:
337339 # - container
338340 plugins :
339341 - *google_oidc_observability_plugin
340- - *gcp_hosted_secrets_plugin
342+ - *oblt_cli_plugin
341343
342344 - label : " arm:non-sudo: {{matrix}}"
343345 skip : true
@@ -360,7 +362,7 @@ steps:
360362 - default
361363 plugins :
362364 - *google_oidc_observability_plugin
363- - *gcp_hosted_secrets_plugin
365+ - *oblt_cli_plugin
364366
365367 - group : " Stateful:Debian"
366368 key : integration-tests-debian
@@ -389,7 +391,7 @@ steps:
389391 - default
390392 plugins :
391393 - *google_oidc_observability_plugin
392- - *gcp_hosted_secrets_plugin
394+ - *oblt_cli_plugin
393395
394396 - label : " x86_64:sudo: {{matrix}}"
395397 depends_on :
@@ -426,7 +428,7 @@ steps:
426428 - container
427429 plugins :
428430 - *google_oidc_observability_plugin
429- - *gcp_hosted_secrets_plugin
431+ - *oblt_cli_plugin
430432
431433 - group : " Stateful(Sudo):RHEL8"
432434 key : integration-tests-rhel8
@@ -448,13 +450,13 @@ steps:
448450 retry :
449451 automatic :
450452 limit : 1
451- plugins :
452- - *google_oidc_observability_plugin
453- - *gcp_hosted_secrets_plugin
454453 agents :
455454 provider : " gcp"
456455 machineType : " n2-standard-8"
457456 image : " ${IMAGE_RHEL_8}"
457+ plugins :
458+ - *google_oidc_observability_plugin
459+ - *oblt_cli_plugin
458460
459461 - group : " Kubernetes"
460462 key : integration-tests-kubernetes
@@ -486,9 +488,6 @@ steps:
486488 machineType : " n2-standard-4"
487489 image : " ${IMAGE_UBUNTU_2404_X86_64}"
488490 diskSizeGb : 80
489- plugins :
490- - *google_oidc_observability_plugin
491- - *gcp_hosted_secrets_plugin
492491 matrix :
493492 setup :
494493 variants :
@@ -506,6 +505,9 @@ steps:
506505 - v1.31.0
507506 - v1.32.0
508507 - v1.33.0
508+ plugins :
509+ - *google_oidc_observability_plugin
510+ - *oblt_cli_plugin
509511
510512 - group : " Serverless integration test"
511513 key : integration-tests-serverless
@@ -585,10 +587,9 @@ steps:
585587 - integration-tests-kubernetes
586588 - extended-integration-tests
587589 allow_dependency_failure : true
588- command : .buildkite/scripts/steps/oblt-cli-teardown .sh
590+ command : .buildkite/scripts/steps/ess_down .sh
589591 agents :
590592 image : " docker.elastic.co/ci-agent-images/platform-ingest/oblt-cli:latest"
591- useCustomGlobalHooks : true
592593
593594 - label : Aggregate test reports
594595 # Warning: The key has a hook in pre-command
0 commit comments