diff --git a/Jenkinsfile.yml b/Jenkinsfile.yml index 811b4ae985b..3e2431a7eed 100644 --- a/Jenkinsfile.yml +++ b/Jenkinsfile.yml @@ -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: diff --git a/x-pack/metricbeat/Jenkinsfile.yml b/x-pack/metricbeat/Jenkinsfile.yml index 27574b62ada..6d0d2319db7 100644 --- a/x-pack/metricbeat/Jenkinsfile.yml +++ b/x-pack/metricbeat/Jenkinsfile.yml @@ -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. @@ -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