Skip to content

Commit

Permalink
[CI] Enable macOS builds for branches/tags (#21323)
Browse files Browse the repository at this point in the history
  • Loading branch information
v1v authored Sep 28, 2020
1 parent 5b5c4cf commit 15bb49c
Show file tree
Hide file tree
Showing 11 changed files with 36 additions and 12 deletions.
4 changes: 3 additions & 1 deletion auditbeat/Jenkinsfile.yml
Original file line number Diff line number Diff line change
Expand Up @@ -21,13 +21,15 @@ stages:
mage: "mage build unitTest"
platforms: ## override default label in this specific stage.
- "macosx"
when: ## Aggregate when with the top-level one.
when: ## Override the top-level when.
comments:
- "/test auditbeat for macos"
labels:
- "macOS"
parameters:
- "macosTest"
branches: true ## for all the branches
tags: true ## for all the tags
windows:
mage: "mage build unitTest"
platforms: ## override default labels in this specific stage.
Expand Down
4 changes: 3 additions & 1 deletion filebeat/Jenkinsfile.yml
Original file line number Diff line number Diff line change
Expand Up @@ -20,13 +20,15 @@ stages:
mage: "mage build unitTest"
platforms: ## override default label in this specific stage.
- "macosx"
when: ## Aggregate when with the top-level one.
when: ## Override the top-level when.
comments:
- "/test filebeat for macos"
labels:
- "macOS"
parameters:
- "macosTest"
branches: true ## for all the branches
tags: true ## for all the tags
windows:
mage: "mage build unitTest"
platforms: ## override default labels in this specific stage.
Expand Down
8 changes: 6 additions & 2 deletions generator/Jenkinsfile.yml
Original file line number Diff line number Diff line change
Expand Up @@ -23,21 +23,25 @@ stages:
make: "make -C generator/_templates/metricbeat test"
platforms: ## override default label in this specific stage.
- "macosx"
when: ## Aggregate when with the top-level one.
when: ## Override the top-level when.
comments:
- "/test generator for macos"
labels:
- "macOS"
parameters:
- "macosTest"
branches: true ## for all the branches
tags: true ## for all the tags
macos-beat:
make: "make -C generator/_templates/beat test"
platforms: ## override default label in this specific stage.
- "macosx"
when: ## Aggregate when with the top-level one.
when: ## Override the top-level when.
comments:
- "/test generator for macos"
labels:
- "macOS"
parameters:
- "macosTest"
branches: true ## for all the branches
tags: true ## for all the tags
4 changes: 3 additions & 1 deletion heartbeat/Jenkinsfile.yml
Original file line number Diff line number Diff line change
Expand Up @@ -19,13 +19,15 @@ stages:
mage: "mage build unitTest"
platforms: ## override default label in this specific stage.
- "macosx"
when: ## Aggregate when with the top-level one.
when: ## Override the top-level when.
comments:
- "/test heartbeat for macos"
labels:
- "macOS"
parameters:
- "macosTest"
branches: true ## for all the branches
tags: true ## for all the tags
windows:
mage: "mage build unitTest"
platforms: ## override default labels in this specific stage.
Expand Down
4 changes: 3 additions & 1 deletion metricbeat/Jenkinsfile.yml
Original file line number Diff line number Diff line change
Expand Up @@ -27,13 +27,15 @@ stages:
mage: "mage build unitTest"
platforms: ## override default label in this specific stage.
- "macosx"
when: ## Aggregate when with the top-level one.
when: ## Override the top-level when.
comments:
- "/test metricbeat for macos"
labels:
- "macOS"
parameters:
- "macosTest"
branches: true ## for all the branches
tags: true ## for all the tags
windows:
mage: "mage build unitTest"
platforms: ## override default labels in this specific stage.
Expand Down
4 changes: 3 additions & 1 deletion packetbeat/Jenkinsfile.yml
Original file line number Diff line number Diff line change
Expand Up @@ -19,13 +19,15 @@ stages:
mage: "mage build unitTest"
platforms: ## override default label in this specific stage.
- "macosx"
when: ## Aggregate when with the top-level one.
when: ## Override the top-level when.
comments:
- "/test packetbeat for macos"
labels:
- "macOS"
parameters:
- "macosTest"
branches: true ## for all the branches
tags: true ## for all the tags
windows:
mage: "mage build unitTest"
platforms: ## override default labels in this specific stage.
Expand Down
4 changes: 3 additions & 1 deletion x-pack/auditbeat/Jenkinsfile.yml
Original file line number Diff line number Diff line change
Expand Up @@ -20,13 +20,15 @@ stages:
mage: "mage build unitTest"
platforms: ## override default label in this specific stage.
- "macosx"
when: ## Aggregate when with the top-level one.
when: ## Override the top-level when.
comments:
- "/test auditbeat for macos"
labels:
- "macOS"
parameters:
- "macosTest"
branches: true ## for all the branches
tags: true ## for all the tags
windows:
mage: "mage build unitTest"
platforms: ## override default labels in this specific stage.
Expand Down
4 changes: 3 additions & 1 deletion x-pack/elastic-agent/Jenkinsfile.yml
Original file line number Diff line number Diff line change
Expand Up @@ -19,13 +19,15 @@ stages:
mage: "mage build unitTest"
platforms: ## override default label in this specific stage.
- "macosx"
when: ## Aggregate when with the top-level one.
when: ## Override the top-level when.
comments:
- "/test x-pack/elastic-agent for macos"
labels:
- "macOS"
parameters:
- "macosTest"
branches: true ## for all the branches
tags: true ## for all the tags
windows:
mage: "mage build unitTest"
platforms: ## override default labels in this specific stage.
Expand Down
4 changes: 3 additions & 1 deletion x-pack/filebeat/Jenkinsfile.yml
Original file line number Diff line number Diff line change
Expand Up @@ -20,13 +20,15 @@ stages:
mage: "mage build unitTest"
platforms: ## override default label in this specific stage.
- "macosx"
when: ## Aggregate when with the top-level one.
when: ## Override the top-level when.
comments:
- "/test x-pack/filebeat for macos"
labels:
- "macOS"
parameters:
- "macosTest"
branches: true ## for all the branches
tags: true ## for all the tags
windows:
mage: "mage build unitTest"
platforms: ## override default labels in this specific stage.
Expand Down
4 changes: 3 additions & 1 deletion x-pack/functionbeat/Jenkinsfile.yml
Original file line number Diff line number Diff line change
Expand Up @@ -19,13 +19,15 @@ stages:
mage: "mage build unitTest"
platforms: ## override default label in this specific stage.
- "macosx"
when: ## Aggregate when with the top-level one.
when: ## Override the top-level when.
comments:
- "/test x-pack/functionbeat for macos"
labels:
- "macOS"
parameters:
- "macosTest"
branches: true ## for all the branches
tags: true ## for all the tags
windows:
mage: "mage build unitTest"
platforms: ## override default labels in this specific stage.
Expand Down
4 changes: 3 additions & 1 deletion x-pack/metricbeat/Jenkinsfile.yml
Original file line number Diff line number Diff line change
Expand Up @@ -22,13 +22,15 @@ stages:
mage: "mage build unitTest"
platforms: ## override default label in this specific stage.
- "macosx"
when: ## Aggregate when with the top-level one.
when: ## Override the top-level when.
comments:
- "/test x-pack/metricbeat for macos"
labels:
- "macOS"
parameters:
- "macosTest"
branches: true ## for all the branches
tags: true ## for all the tags
windows:
mage: "mage build unitTest"
platforms: ## override default labels in this specific stage.
Expand Down

0 comments on commit 15bb49c

Please sign in to comment.