Skip to content

Commit 646486a

Browse files
feat: invoke serverless tests in different BK runners
1 parent 613fb40 commit 646486a

File tree

1 file changed

+65
-38
lines changed

1 file changed

+65
-38
lines changed

.buildkite/integration.pipeline.yml

Lines changed: 65 additions & 38 deletions
Original file line numberDiff line numberDiff line change
@@ -169,47 +169,74 @@ steps:
169169
imagePrefix: "core-ubuntu-2204-aarch64"
170170
diskSizeGb: 200
171171

172-
- label: "Serverless integration test"
173-
key: "serverless-integration-tests"
174-
depends_on:
175-
- int-packaging
176-
concurrency_group: elastic-agent-extended-testing/serverless-integration
177-
concurrency: 8
178-
env:
179-
# we run each step in a different data center to spread the load
180-
TEST_INTEG_AUTH_GCP_DATACENTER: "us-central1-a"
181-
command: |
182-
buildkite-agent artifact download "build/distributions/**" . $BUILDKITE_BUILD_ID
183-
.buildkite/scripts/steps/integration_tests.sh serverless integration:single TestLogIngestionFleetManaged #right now, run a single test in serverless mode as a sort of smoke test, instead of re-running the entire suite
184-
artifact_paths:
185-
- "build/TEST-**"
186-
- "build/diagnostics/*"
187-
agents:
188-
provider: "gcp"
189-
machineType: "n2-standard-8"
190-
retry:
191-
automatic:
192-
limit: 1
193-
notify:
194-
- github_commit_status:
195-
context: "buildkite/elastic-agent-extended-testing - Serverless integration test"
196-
197-
- label: "Serverless integration test (oblt-cli)"
198-
depends_on:
199-
- int-packaging
200-
command: .buildkite/scripts/steps/serverless-integration-tests.sh
201-
agents:
202-
provider: "gcp"
203-
machineType: "n2-standard-8"
204-
plugins:
205-
- *google_oidc_plugin
206-
- *gcp_serverless_secrets_plugin
207-
retry:
208-
automatic:
209-
limit: 1
172+
- group: "Serverless integration test (oblt-cli)"
173+
key: serverless-integration-tests
210174
notify:
211175
- github_commit_status:
212176
context: "buildkite/elastic-agent-extended-testing - Serverless integration test (oblt-cli)"
177+
steps:
178+
- label: "Windows:2022:amd64:sudo"
179+
depends_on:
180+
- packaging-windows
181+
command: |
182+
#right now, run a single test in serverless mode as a sort of smoke test, instead of re-running the entire suite
183+
buildkite-agent artifact download build/distributions/** . --step 'packaging-windows'
184+
.buildkite/scripts/integration-tests.ps1 fleet true TestLogIngestionFleetManaged
185+
artifact_paths:
186+
- build/**
187+
- build/diagnostics/**
188+
retry:
189+
automatic:
190+
limit: 1
191+
agents:
192+
provider: "gcp"
193+
machineType: "n2-standard-8"
194+
# TODO: replace with IMAGE_WIN_2022 when we migrate this in bk.integration.pipeline.yml
195+
image: "family/platform-ingest-elastic-agent-windows-2022"
196+
plugins:
197+
- *google_oidc_plugin
198+
- *gcp_serverless_secrets_plugin
199+
- label: "Windows:2025:amd64:sudo"
200+
depends_on:
201+
- packaging-windows
202+
command: |
203+
#right now, run a single test in serverless mode as a sort of smoke test, instead of re-running the entire suite
204+
buildkite-agent artifact download build/distributions/** . --step 'packaging-windows'
205+
.buildkite/scripts/integration-tests.ps1 fleet true TestLogIngestionFleetManaged
206+
artifact_paths:
207+
- build/**
208+
- build/diagnostics/**
209+
retry:
210+
automatic:
211+
limit: 1
212+
agents:
213+
provider: "gcp"
214+
machineType: "n2-standard-8"
215+
# TODO: replace with IMAGE_WIN_2025 when we migrate this in bk.integration.pipeline.yml
216+
image: "family/platform-ingest-elastic-agent-windows-2025"
217+
plugins:
218+
- *google_oidc_plugin
219+
- *gcp_serverless_secrets_plugin
220+
- label: "Ubuntu:2404:amd64:sudo"
221+
depends_on: packaging-ubuntu-x86-64
222+
command: |
223+
#right now, run a single test in serverless mode as a sort of smoke test, instead of re-running the entire suite
224+
buildkite-agent artifact download build/distributions/** . --step 'packaging-ubuntu-x86-64'
225+
.buildkite/scripts/steps/integration_tests_tf.sh fleet true TestLogIngestionFleetManaged
226+
artifact_paths:
227+
- build/**
228+
- build/diagnostics/**
229+
retry:
230+
automatic:
231+
limit: 1
232+
agents:
233+
provider: "gcp"
234+
machineType: "n2-standard-8"
235+
# TODO: replace with IMAGE_UBUNTU_2404_X86_64 when we migrate this in bk.integration.pipeline.yml
236+
image: "family/platform-ingest-elastic-agent-ubuntu-2404"
237+
plugins:
238+
- *google_oidc_plugin
239+
- *gcp_serverless_secrets_plugin
213240

214241
- label: "Triggering Integration tests"
215242
depends_on:

0 commit comments

Comments
 (0)