Skip to content

Commit

Permalink
Added weekly macos pipeline (#41308)
Browse files Browse the repository at this point in the history
  • Loading branch information
oakrizan authored Oct 24, 2024
1 parent f8d3880 commit d3876d7
Show file tree
Hide file tree
Showing 2 changed files with 68 additions and 0 deletions.
27 changes: 27 additions & 0 deletions .buildkite/macos-tests-pipeline.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,27 @@
# yaml-language-server: $schema=https://raw.githubusercontent.com/buildkite/pipeline-schema/main/schema.json

env:
IMAGE_MACOS_ARM: "generic-13-ventura-arm"
IMAGE_MACOS_X86_64: "generic-13-ventura-x64"

# Other deps
ASDF_MAGE_VERSION: 1.15.0
ASDF_NODEJS_VERSION: 18.17.1
ASDF_PYTHON_VERSION: 3.10.9

# Unit tests
RACE_DETECTOR: "true"
TEST_COVERAGE: "true"

steps:
- label: ":mac: Auditbeat: macOS x86_64 Unit Tests"
command: echo "test!"
retry:
automatic:
- limit: 3 # using higher retries for now due to lack of custom vm images and vendor instability
agents:
provider: "orka"
imagePrefix: "${IMAGE_MACOS_X86_64}"
artifact_paths:
- "auditbeat/build/*.xml"
- "auditbeat/build/*.json"
41 changes: 41 additions & 0 deletions catalog-info.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -1149,6 +1149,40 @@ spec:
everyone:
access_level: BUILD_AND_READ

---
# yaml-language-server: $schema=https://gist.githubusercontent.com/elasticmachine/988b80dae436cafea07d9a4a460a011d/raw/rre.schema.json
apiVersion: backstage.io/v1alpha1
kind: Resource
metadata:
name: beats-macos-tests
description: 'Runs of Beats macOS tests'
links:
- title: Pipeline
url: https://buildkite.com/elastic/beats-macos-tests
spec:
type: buildkite-pipeline
owner: group:ingest-fp
system: buildkite
implementation:
apiVersion: buildkite.elastic.dev/v1
kind: Pipeline
metadata:
name: beats-macos-tests
description: 'Runs of Beats macOS tests'
spec:
repository: elastic/beats
pipeline_file: ".buildkite/macos-tests-pipeline.yml"
cancel_intermediate_builds: false
provider_settings:
trigger_mode: none
teams:
ingest-fp:
access_level: MANAGE_BUILD_AND_READ
release-eng:
access_level: BUILD_AND_READ
everyone:
access_level: BUILD_AND_READ

---
# yaml-language-server: $schema=https://gist.githubusercontent.com/elasticmachine/988b80dae436cafea07d9a4a460a011d/raw/rre.schema.json
apiVersion: backstage.io/v1alpha1
Expand Down Expand Up @@ -1186,6 +1220,12 @@ spec:
message: Daily trigger of Beats AWS tests
env:
PIPELINES_TO_TRIGGER: 'beats-aws-tests'
Weekly run of macOS tests:
branch: main
cronline: 0 0 * * 0
message: Weekly trigger of Beats macOS tests
env:
PIPELINES_TO_TRIGGER: 'beats-macos-tests'
skip_intermediate_builds: true
provider_settings:
trigger_mode: none
Expand All @@ -1200,3 +1240,4 @@ spec:
access_level: BUILD_AND_READ
everyone:
access_level: BUILD_AND_READ

0 comments on commit d3876d7

Please sign in to comment.