|
5 | 5 | VAULT_PATH: "kv/ci-shared/observability-ingest/cloud/gcp"
|
6 | 6 |
|
7 | 7 | steps:
|
8 |
| - - label: "Integration tests: packaging" |
9 |
| - key: "package-it" |
10 |
| - command: ".buildkite/scripts/steps/integration-package.sh" |
11 |
| - artifact_paths: |
12 |
| - - build/distributions/** |
13 |
| - agents: |
14 |
| - provider: "gcp" |
15 |
| - machineType: "n1-standard-8" |
| 8 | + - group: "Integration tests: packaging" |
| 9 | + key: "int-packaging" |
| 10 | + steps: |
| 11 | + - label: "Packaging: Ubuntu x86_64" |
| 12 | + key: "packaging-ubuntu-x86-64" |
| 13 | + env: |
| 14 | + PACKAGES: "tar.gz" |
| 15 | + PLATFORMS: "linux/amd64" |
| 16 | + command: ".buildkite/scripts/steps/integration-package.sh" |
| 17 | + artifact_paths: |
| 18 | + - build/distributions/** |
| 19 | + agents: |
| 20 | + provider: "gcp" |
| 21 | + machineType: "n2-standard-8" |
| 22 | + |
| 23 | + - label: "Packaging: Ubuntu arm64" |
| 24 | + key: "packaging-ubuntu-arm64" |
| 25 | + env: |
| 26 | + PACKAGES: "tar.gz" |
| 27 | + PLATFORMS: "linux/arm64" |
| 28 | + command: ".buildkite/scripts/steps/integration-package.sh" |
| 29 | + artifact_paths: |
| 30 | + - build/distributions/** |
| 31 | + agents: |
| 32 | + provider: "gcp" |
| 33 | + machineType: "n2-standard-8" |
| 34 | + |
| 35 | + - label: "Packaging: Windows" |
| 36 | + key: "packaging-windows" |
| 37 | + env: |
| 38 | + PACKAGES: "zip" |
| 39 | + PLATFORMS: "windows/amd64" |
| 40 | + command: ".buildkite/scripts/steps/integration-package.sh" |
| 41 | + artifact_paths: |
| 42 | + - build/distributions/** |
| 43 | + agents: |
| 44 | + provider: "gcp" |
| 45 | + machineType: "n2-standard-8" |
| 46 | + |
| 47 | + - label: "Packaging: Containers {{matrix.ext}} {{matrix.arch}}" |
| 48 | + key: "packaging-containers" |
| 49 | + env: |
| 50 | + PACKAGES: "{{matrix.ext}}" |
| 51 | + PLATFORMS: "{{matrix.arch}}" |
| 52 | + command: ".buildkite/scripts/steps/integration-package.sh" |
| 53 | + artifact_paths: |
| 54 | + - build/distributions/** |
| 55 | + agents: |
| 56 | + provider: "gcp" |
| 57 | + machineType: "n2-standard-8" |
| 58 | + matrix: |
| 59 | + setup: |
| 60 | + arch: |
| 61 | + - linux/amd64 |
| 62 | + - linux/arm64 |
| 63 | + ext: |
| 64 | + - rpm |
| 65 | + - deb |
16 | 66 |
|
17 | 67 | - label: "Serverless integration test"
|
18 | 68 | key: "serverless-integration-tests"
|
19 | 69 | depends_on:
|
20 |
| - - package-it |
| 70 | + - int-packaging |
21 | 71 | concurrency_group: elastic-agent-extended-testing/serverless-integration
|
22 | 72 | concurrency: 8
|
23 | 73 | env:
|
24 | 74 | # we run each step in a different data center to spread the load
|
25 | 75 | TEST_INTEG_AUTH_GCP_DATACENTER: "us-central1-a"
|
26 | 76 | command: |
|
27 |
| - buildkite-agent artifact download build/distributions/** . --step 'package-it' |
| 77 | + buildkite-agent artifact download "build/distributions/**" . $BUILDKITE_BUILD_ID |
28 | 78 | .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
|
29 | 79 | artifact_paths:
|
30 | 80 | - "build/TEST-**"
|
31 | 81 | - "build/diagnostics/*"
|
32 | 82 | agents:
|
33 | 83 | provider: "gcp"
|
34 |
| - machineType: "n1-standard-8" |
| 84 | + machineType: "n2-standard-8" |
35 | 85 | notify:
|
36 | 86 | - github_commit_status:
|
37 | 87 | context: "buildkite/elastic-agent-extended-testing - Serverless integration test"
|
38 | 88 |
|
39 | 89 | - label: "Extended runtime leak tests"
|
40 | 90 | key: "extended-integration-tests"
|
41 | 91 | depends_on:
|
42 |
| - - package-it |
| 92 | + - int-packaging |
43 | 93 | concurrency_group: elastic-agent-extended-testing/leak-tests
|
44 | 94 | concurrency: 8
|
45 | 95 | env:
|
46 | 96 | TEST_INTEG_AUTH_GCP_DATACENTER: "us-central1-b"
|
47 | 97 | command: |
|
48 |
| - buildkite-agent artifact download build/distributions/** . --step 'package-it' |
| 98 | + buildkite-agent artifact download "build/distributions/**" . $BUILDKITE_BUILD_ID |
49 | 99 | .buildkite/scripts/steps/integration_tests.sh stateful integration:TestForResourceLeaks
|
50 | 100 | artifact_paths:
|
51 | 101 | - "build/TEST-**"
|
52 | 102 | - "build/diagnostics/*"
|
53 | 103 | agents:
|
54 | 104 | provider: "gcp"
|
55 |
| - machineType: "n1-standard-8" |
| 105 | + machineType: "n2-standard-8" |
56 | 106 | notify:
|
57 | 107 | - github_commit_status:
|
58 | 108 | context: "buildkite/elastic-agent-extended-testing - Extended runtime leak tests"
|
59 | 109 |
|
60 | 110 | - label: "Triggering Integration tests"
|
61 | 111 | depends_on:
|
62 |
| - - package-it |
| 112 | + - int-packaging |
63 | 113 | trigger: "elastic-agent-extended-testing-bk"
|
64 | 114 | build:
|
65 | 115 | commit: "${BUILDKITE_COMMIT}"
|
66 | 116 | branch: "${BUILDKITE_BRANCH}"
|
67 | 117 |
|
68 | 118 | - label: "Serverless Beats Tests"
|
| 119 | + # To speedup the build process only packaging-ubuntu-x86-64 artifact dependency is required |
69 | 120 | depends_on:
|
70 |
| - - package-it |
| 121 | + - packaging-ubuntu-x86-64 |
71 | 122 | key: "serverless-beats-integration-tests"
|
72 | 123 | concurrency_group: elastic-agent-extended-testing/beats-integration
|
73 | 124 | concurrency: 8
|
74 | 125 | env:
|
75 | 126 | TEST_INTEG_AUTH_GCP_DATACENTER: "us-central1-a"
|
76 | 127 | command: |
|
77 |
| - buildkite-agent artifact download build/distributions/** . --step 'package-it' |
| 128 | + buildkite-agent artifact download "build/distributions/**" . $BUILDKITE_BUILD_ID |
78 | 129 | .buildkite/scripts/steps/beats_tests.sh
|
79 | 130 | agents:
|
80 | 131 | provider: "gcp"
|
81 |
| - machineType: "n1-standard-8" |
| 132 | + machineType: "n2-standard-8" |
82 | 133 | notify:
|
83 | 134 | - github_commit_status:
|
84 | 135 | context: "buildkite/elastic-agent-extended-testing - Serverless Beats Tests"
|
|
0 commit comments