Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Cherry-pick to 7.x: [CI] enable x-pack/heartbeat in the CI (#23873) #24113

Merged
merged 1 commit into from
Feb 23, 2021
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
57 changes: 57 additions & 0 deletions x-pack/heartbeat/Jenkinsfile.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,63 @@ when:
tags: true ## for all the tags
platform: "immutable && ubuntu-18" ## default label for all the stages
stages:
Lint:
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Suggested change
Lint:
lint:

Should this be capatalized?

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Lint was there for other modules, so I'll say this is something we can tackle with a follow up to normalise the Lint stage across all the beats

make: |
make -C x-pack/heartbeat check;
make -C x-pack/heartbeat update;
make -C heartbeat check;
make -C heartbeat update;
make check-no-changes;
build:
mage: "mage build test"
macos:
mage: "mage build test"
platforms: ## override default label in this specific stage.
- "macosx"
when: ## Override the top-level when.
comments:
- "/test x-pack/heartbeat for macos"
labels:
- "macOS"
parameters:
- "macosTest"
branches: true ## for all the branches
tags: true ## for all the tags
# TODO: there are windows test failures already reported
# https://github.com/elastic/beats/issues/23957 and https://github.com/elastic/beats/issues/23958
# waiting for being fixed.
# windows:
# mage: "mage build test"
# platforms: ## override default labels in this specific stage.
# - "windows-2019"
# windows-2016:
# mage: "mage build test"
# platforms: ## override default labels in this specific stage.
# - "windows-2016"
# windows-2012:
# mage: "mage build test"
# platforms: ## override default labels in this specific stage.
# - "windows-2012-r2"
# windows-10:
# mage: "mage build test"
# platforms: ## override default labels in this specific stage.
# - "windows-10"
# windows-2008:
# mage: "mage build test"
# platforms: ## override default labels in this specific stage.
# - "windows-2008-r2"
# windows-8:
# mage: "mage build test"
# platforms: ## override default labels in this specific stage.
# - "windows-8"
# windows-7:
# mage: "mage build test"
# platforms: ## override default labels in this specific stage.
# - "windows-7"
# windows-7-32:
# mage: "mage build test"
# platforms: ## override default labels in this specific stage.
# - "windows-7-32-bit"
packaging-linux:
packaging-linux: "mage package"
e2e:
Expand Down
2 changes: 2 additions & 0 deletions x-pack/heartbeat/magefile.go
Original file line number Diff line number Diff line change
Expand Up @@ -22,6 +22,8 @@ import (
// mage:import
"github.com/elastic/beats/v7/dev-tools/mage/target/build"

// mage:import
_ "github.com/elastic/beats/v7/dev-tools/mage/target/unittest"
// mage:import
_ "github.com/elastic/beats/v7/dev-tools/mage/target/integtest/notests"
// mage:import
Expand Down