Skip to content

Commit 1e6acd2

Browse files
pazonev1v
andauthored
[CI] New dedicated MacOS Integration pipieline (#8874)
* [CI] New dedicated MacOS Integration pipieline * Update catalog-info.yaml Co-authored-by: Victor Martinez <[email protected]> * Added trigger to macos pipeline * Don't run MacOS tests for Pull Requests ATM * Added the scheduler pipeline --------- Co-authored-by: Victor Martinez <[email protected]>
1 parent d3b5ea7 commit 1e6acd2

File tree

1 file changed

+80
-3
lines changed

1 file changed

+80
-3
lines changed

catalog-info.yaml

Lines changed: 80 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -65,7 +65,7 @@ spec:
6565
build_pull_requests: true
6666
build_tags: false
6767
filter_enabled: true
68-
# TODO: what's the reason for this filter?
68+
# required by "build_pull_requests: true" when used with buildkite-pr-bot
6969
filter_condition: >-
7070
build.pull_request.id == null || (build.creator.name == 'elasticmachine' && build.pull_request.id != null)
7171
schedules:
@@ -174,6 +174,82 @@ spec:
174174
# yaml-language-server: $schema=https://gist.githubusercontent.com/elasticmachine/988b80dae436cafea07d9a4a460a011d/raw/e57ee3bed7a6f73077a3f55a38e76e40ec87a7cf/rre.schema.json
175175
apiVersion: backstage.io/v1alpha1
176176
kind: Resource
177+
metadata:
178+
name: buildkite-pipeline-elastic-agent-macos-integration
179+
description: Elastic Agent macos integration test pipeline
180+
links:
181+
- title: Pipeline
182+
url: https://buildkite.com/elastic/elastic-agent-macos-integration
183+
184+
spec:
185+
type: buildkite-pipeline
186+
owner: group:ingest-fp
187+
system: platform-ingest
188+
implementation:
189+
apiVersion: buildkite.elastic.dev/v1
190+
kind: Pipeline
191+
metadata:
192+
name: elastic-agent-macos-integration
193+
description: Elastic Agent extended testing using Orka agents
194+
spec:
195+
repository: elastic/elastic-agent
196+
pipeline_file: ".buildkite/macos.integration.pipeline.yml"
197+
provider_settings:
198+
trigger_mode: none
199+
cancel_intermediate_builds: false
200+
skip_intermediate_builds: false
201+
teams:
202+
ingest-fp:
203+
access_level: MANAGE_BUILD_AND_READ
204+
observablt-robots:
205+
access_level: MANAGE_BUILD_AND_READ
206+
everyone:
207+
access_level: BUILD_AND_READ
208+
209+
---
210+
# yaml-language-server: $schema=https://gist.githubusercontent.com/elasticmachine/988b80dae436cafea07d9a4a460a011d/raw/e57ee3bed7a6f73077a3f55a38e76e40ec87a7cf/rre.schema.json
211+
apiVersion: backstage.io/v1alpha1
212+
kind: Resource
213+
metadata:
214+
name: buildkite-pipeline-elastic-agent-macos-scheduler
215+
description: Elastic Agent macos integration test pipeline scheduler
216+
links:
217+
- title: Pipeline
218+
url: https://buildkite.com/elastic/elastic-agent-macos-integration-scheduler
219+
220+
spec:
221+
type: buildkite-pipeline
222+
owner: group:ingest-fp
223+
system: platform-ingest
224+
implementation:
225+
apiVersion: buildkite.elastic.dev/v1
226+
kind: Pipeline
227+
metadata:
228+
name: elastic-agent-macos-integration-scheduler
229+
description: Elastic Agent MacOS pipeline scheduler
230+
spec:
231+
repository: elastic/elastic-agent
232+
pipeline_file: ".buildkite/macos.integration.scheduler.yml"
233+
provider_settings:
234+
trigger_mode: none
235+
cancel_intermediate_builds: false
236+
skip_intermediate_builds: false
237+
schedules:
238+
Tuesday:
239+
branch: main
240+
cronline: "0 0 * * 2" # every Tuesday at 00:00
241+
message: MacOS Elastic Agent Scheduled tests
242+
teams:
243+
ingest-fp:
244+
access_level: MANAGE_BUILD_AND_READ
245+
observablt-robots:
246+
access_level: MANAGE_BUILD_AND_READ
247+
everyone:
248+
access_level: BUILD_AND_READ
249+
---
250+
# yaml-language-server: $schema=https://gist.githubusercontent.com/elasticmachine/988b80dae436cafea07d9a4a460a011d/raw/e57ee3bed7a6f73077a3f55a38e76e40ec87a7cf/rre.schema.json
251+
apiVersion: backstage.io/v1alpha1
252+
kind: Resource
177253
metadata:
178254
name: buildkite-pipeline-elastic-agent-package
179255
description: Buildkite pipeline for packaging Elastic Agent package
@@ -206,6 +282,7 @@ spec:
206282
build_tags: false
207283
build_branches: false
208284
filter_enabled: true
285+
# required by "build_pull_requests: true" when used with buildkite-pr-bot
209286
filter_condition: >-
210287
build.pull_request.id == null || (build.creator.name == 'elasticmachine' && build.pull_request.id != null)
211288
cancel_intermediate_builds: true
@@ -255,7 +332,7 @@ spec:
255332
build_tags: false
256333
build_branches: true # enable build for branches. This relies on the filter in .buildkite/pipeline.elastic-agent-binary-dra.yml
257334
filter_enabled: true
258-
# TODO: what's the reason for this filter?
335+
# required by "build_pull_requests: true" when used with buildkite-pr-bot
259336
filter_condition: >-
260337
build.pull_request.id == null || (build.creator.name == 'elasticmachine' && build.pull_request.id != null)
261338
repository: elastic/elastic-agent
@@ -346,7 +423,7 @@ spec:
346423
build_tags: false
347424
build_branches: false
348425
filter_enabled: true
349-
# TODO: what's the reason for this filter?
426+
# required by "build_pull_requests: true" when used with buildkite-pr-bot
350427
filter_condition: >-
351428
build.pull_request.id == null || (build.creator.name == 'elasticmachine' && build.pull_request.id != null)
352429
repository: elastic/elastic-agent

0 commit comments

Comments
 (0)