Skip to content

Commit

Permalink
Jenkins test
Browse files Browse the repository at this point in the history
  • Loading branch information
Siarhei Harbuz committed Mar 6, 2024
1 parent 2e531f8 commit e440521
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 128 deletions.
18 changes: 1 addition & 17 deletions Jenkinsfile.yml
Original file line number Diff line number Diff line change
@@ -1,22 +1,6 @@
projects:
- "auditbeat"
- "deploy/kubernetes"
- "filebeat"
- "heartbeat"
- "libbeat"
- "metricbeat"
- "packetbeat"
- "winlogbeat"
- "x-pack/auditbeat"
- "x-pack/dockerlogbeat"
- "x-pack/filebeat"
- "x-pack/functionbeat"
- "x-pack/heartbeat"
- "x-pack/libbeat"
- "x-pack/metricbeat"
- "x-pack/osquerybeat"
- "x-pack/packetbeat"
- "x-pack/winlogbeat"


## Changeset macros that are defined here and used in each specific 2.0 pipeline.
changeset:
Expand Down
111 changes: 0 additions & 111 deletions x-pack/metricbeat/Jenkinsfile.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,43 +13,6 @@ when:
tags: true ## for all the tags
platform: "immutable && ubuntu-22" ## default label for all the stages
stages:
unitTest:
mage: "mage build unitTest"
stage: mandatory
goIntegTest:
mage: "mage goIntegTest"
withModule: true
stage: mandatory
pythonIntegTest:
mage: "mage pythonIntegTest"
withModule: true
stage: mandatory
cloud:
cloud: "mage build test"
withModule: true ## run the ITs only if the changeset affects a specific module.
dirs: ## run the cloud tests for the given modules.
- "x-pack/metricbeat/module/aws"
when: ## Override the top-level when.
parameters:
- "awsCloudTests"
comments:
- "/test x-pack/metricbeat for aws cloud"
labels:
- "aws"
# stage: extended
# Skip test until fixed https://github.com/elastic/beats/issues/36425
#cloudAWS:
# cloud: "mage build test goIntegTest"
# withAWS: true ## Enable the tests to run in AWS
# withModule: true ## run the ITs only if the changeset affects a specific module.
# dirs: ## run the cloud tests for the given modules.
# - "x-pack/metricbeat/module/aws"
# when: ## Override the top-level when.
# changeset: ## when PR contains any of those entries in the changeset
# - "^x-pack/metricbeat/module/aws/.*"
# - "^x-pack/metricbeat/Jenkinsfile.yml"
# - "^x-pack/libbeat/common/aws/.*"
# stage: extended
macos:
mage: "mage build unitTest"
platforms: ## override default label in this specific stage.
Expand All @@ -62,78 +25,4 @@ stages:
parameters:
- "macosTest"
tags: true ## for all the tags
stage: extended
# Ignore as long as there are test failures, see https://github.com/elastic/beats/issues/33036
# macosM1:
# mage: "mage build unitTest"
# platforms: ## override default label in this specific stage.
# - "orka && darwin && aarch64"
# when: ## Override the top-level when.
# comments:
# - "/test metricbeat for macos-m1"
# labels:
# - "macos-m1"
# parameters:
# - "macosM1Test"
# tags: false ## for all the tags
# stage: extended
windows-2022:
mage: "mage build unitTest"
platforms: ## override default labels in this specific stage.
- "windows-2022"
stage: mandatory
windows-2019:
mage: "mage build unitTest"
platforms: ## override default labels in this specific stage.
- "windows-2019"
stage: extended_win
windows-2016:
mage: "mage build unitTest"
platforms: ## override default labels in this specific stage.
- "windows-2016"
stage: mandatory
windows-2012:
mage: "mage build unitTest"
platforms: ## override default labels in this specific stage.
- "windows-2012-r2"
stage: extended_win
windows-11:
mage: "mage build unitTest"
platforms: ## override default labels in this specific stage.
- "windows-11"
stage: extended_win
windows-10:
mage: "mage build unitTest"
platforms: ## override default labels in this specific stage.
- "windows-10"
stage: extended_win
windows-8:
mage: "mage build unitTest"
platforms: ## override default labels in this specific stage.
- "windows-8"
stage: extended_win
packaging-linux:
packaging-linux: "mage package"
e2e:
enabled: false
entrypoint: 'metricbeat-test.sh'
stage: packaging
when:
branches: false ## Only on a PR basis for the time being
tags: false ## packaging on branches/tags is already in place with the downstream build.
changeset: ## when PR contains any of those entries in the changeset
- "^x-pack/metricbeat/.*"
- "@xpack" ## special token regarding the changeset for the xpack
packaging-arm:
packaging-arm: "mage package"
e2e:
enabled: false
platforms: ## override default label in this specific stage.
- "ubuntu-2204-aarch64"
stage: packaging
when:
branches: false ## Only on a PR basis for the time being
tags: false ## packaging on branches/tags is already in place with the downstream build.
changeset: ## when PR contains any of those entries in the changeset
- "^x-pack/metricbeat/.*"
- "@xpack" ## special token regarding the changeset for the xpack

0 comments on commit e440521

Please sign in to comment.