Skip to content

Commit

Permalink
ci: enable orka (elastic#29426)
Browse files Browse the repository at this point in the history
  • Loading branch information
v1v authored Dec 16, 2021
1 parent 43ae3c9 commit 8921ea4
Show file tree
Hide file tree
Showing 15 changed files with 15 additions and 14 deletions.
2 changes: 1 addition & 1 deletion Jenkinsfile
Original file line number Diff line number Diff line change
Expand Up @@ -634,7 +634,7 @@ def withBeatsEnv(Map args = [:], Closure body) {

if(isUnix()) {
gox_flags = (isArm() && is64arm()) ? '-arch arm' : '-arch amd64'
path = "${env.WORKSPACE}/bin:${env.PATH}"
path = "${env.WORKSPACE}/bin:${env.PATH}:/usr/local/bin"
magefile = "${WORKSPACE}/.magefile"
pythonEnv = "${WORKSPACE}/python-env"
testResults = '**/build/TEST*.xml'
Expand Down
2 changes: 1 addition & 1 deletion auditbeat/Jenkinsfile.yml
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,7 @@ stages:
macos:
mage: "mage build unitTest"
platforms: ## override default label in this specific stage.
- "macosx&&x86_64"
- "orka && darwin && poc"
when: ## Override the top-level when.
comments:
- "/test auditbeat for macos"
Expand Down
2 changes: 1 addition & 1 deletion filebeat/Jenkinsfile.yml
Original file line number Diff line number Diff line change
Expand Up @@ -55,7 +55,7 @@ stages:
macos:
mage: "mage build unitTest"
platforms: ## override default label in this specific stage.
- "macosx&&x86_64"
- "orka && darwin && poc"
when: ## Override the top-level when.
comments:
- "/test filebeat for macos"
Expand Down
2 changes: 1 addition & 1 deletion heartbeat/Jenkinsfile.yml
Original file line number Diff line number Diff line change
Expand Up @@ -49,7 +49,7 @@ stages:
macos:
mage: "mage build unitTest"
platforms: ## override default label in this specific stage.
- "macosx&&x86_64"
- "orka && darwin && poc"
when: ## Override the top-level when.
comments:
- "/test heartbeat for macos"
Expand Down
2 changes: 1 addition & 1 deletion metricbeat/Jenkinsfile.yml
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,7 @@ stages:
macos:
mage: "mage build unitTest"
platforms: ## override default label in this specific stage.
- "macosx&&x86_64"
- "orka && darwin && poc"
when: ## Override the top-level when.
comments:
- "/test metricbeat for macos"
Expand Down
2 changes: 1 addition & 1 deletion packetbeat/Jenkinsfile.yml
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,7 @@ stages:
macos:
mage: "mage build unitTest"
platforms: ## override default label in this specific stage.
- "macosx&&x86_64"
- "orka && darwin && poc"
when: ## Override the top-level when.
comments:
- "/test packetbeat for macos"
Expand Down
2 changes: 1 addition & 1 deletion x-pack/auditbeat/Jenkinsfile.yml
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,7 @@ stages:
macos:
mage: "mage build unitTest"
platforms: ## override default label in this specific stage.
- "macosx&&x86_64"
- "orka && darwin && poc"
when: ## Override the top-level when.
comments:
- "/test x-pack/auditbeat for macos"
Expand Down
1 change: 1 addition & 0 deletions x-pack/auditbeat/tests/system/test_metricsets.py
Original file line number Diff line number Diff line change
Expand Up @@ -48,6 +48,7 @@ def test_metricset_login(self):
@unittest.skipIf(sys.platform == "win32", "Not implemented for Windows")
@unittest.skipIf(sys.platform.startswith('linux') and not (os.path.isdir("/var/lib/dpkg") or os.path.isdir("/var/lib/rpm")),
"Only implemented for dpkg and rpm")
@unittest.skipIf(sys.platform.startswith('darwin'), "See https://github.com/elastic/beats/issues/21308")
def test_metricset_package(self):
"""
package metricset collects information about installed packages on a system.
Expand Down
2 changes: 1 addition & 1 deletion x-pack/elastic-agent/Jenkinsfile.yml
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,7 @@ stages:
macos:
mage: "mage build unitTest"
platforms: ## override default label in this specific stage.
- "macosx&&x86_64"
- "orka && darwin && poc"
when: ## Override the top-level when.
comments:
- "/test x-pack/elastic-agent for macos"
Expand Down
2 changes: 1 addition & 1 deletion x-pack/filebeat/Jenkinsfile.yml
Original file line number Diff line number Diff line change
Expand Up @@ -55,7 +55,7 @@ stages:
macos:
mage: "mage build unitTest"
platforms: ## override default label in this specific stage.
- "macosx&&x86_64"
- "orka && darwin && poc"
when: ## Override the top-level when.
comments:
- "/test x-pack/filebeat for macos"
Expand Down
2 changes: 1 addition & 1 deletion x-pack/functionbeat/Jenkinsfile.yml
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,7 @@ stages:
macos:
mage: "mage build unitTest"
platforms: ## override default label in this specific stage.
- "macosx&&x86_64"
- "orka && darwin && poc"
when: ## Override the top-level when.
comments:
- "/test x-pack/functionbeat for macos"
Expand Down
2 changes: 1 addition & 1 deletion x-pack/heartbeat/Jenkinsfile.yml
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@ stages:
macos:
mage: "mage build unitTest"
platforms: ## override default label in this specific stage.
- "macosx&&x86_64"
- "orka && darwin && poc"
when: ## Override the top-level when.
comments:
- "/test x-pack/heartbeat for macos"
Expand Down
2 changes: 1 addition & 1 deletion x-pack/metricbeat/Jenkinsfile.yml
Original file line number Diff line number Diff line change
Expand Up @@ -60,7 +60,7 @@ stages:
macos:
mage: "mage build unitTest"
platforms: ## override default label in this specific stage.
- "macosx&&x86_64"
- "orka && darwin && poc"
when: ## Override the top-level when.
comments:
- "/test x-pack/metricbeat for macos"
Expand Down
2 changes: 1 addition & 1 deletion x-pack/osquerybeat/Jenkinsfile.yml
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ stages:
macos:
mage: "mage build unitTest"
platforms: ## override default label in this specific stage.
- "macosx&&x86_64"
- "orka && darwin && poc"
when: ## Override the top-level when.
comments:
- "/test x-pack/osquerybeat for macos"
Expand Down
2 changes: 1 addition & 1 deletion x-pack/packetbeat/Jenkinsfile.yml
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,7 @@ stages:
macos:
mage: "mage build unitTest"
platforms: ## override default label in this specific stage.
- "macosx&&x86_64"
- "orka && darwin && poc"
when: ## Override the top-level when.
comments:
- "/test x-pack/packetbeat for macos"
Expand Down

0 comments on commit 8921ea4

Please sign in to comment.