-
Notifications
You must be signed in to change notification settings - Fork 4.9k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge branch 'main' into metricbeat-process-multierr
- Loading branch information
Showing
44 changed files
with
1,782 additions
and
413 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,64 @@ | ||
# yaml-language-server: $schema=https://raw.githubusercontent.com/buildkite/pipeline-schema/main/schema.json | ||
|
||
env: | ||
AWS_ARM_INSTANCE_TYPE: "m6g.xlarge" | ||
AWS_IMAGE_UBUNTU_ARM_64: "platform-ingest-beats-ubuntu-2204-aarch64" | ||
|
||
# TEST_TAGS should be reviewed and updated: https://github.com/elastic/ingest-dev/issues/3476 | ||
TEST_TAGS: "aws" | ||
MODULE: "aws" | ||
|
||
# Other deps | ||
ASDF_TERRAFORM_VERSION: 1.0.2 | ||
ASDF_MAGE_VERSION: 1.15.0 | ||
|
||
# Unit tests | ||
RACE_DETECTOR: "true" | ||
TEST_COVERAGE: "true" | ||
|
||
steps: | ||
- label: ":ubuntu: x-pack/filebeat: AWS Tests" | ||
key: "x-pack-filebeat-extended-cloud-test" | ||
skip: "skipping as it was on Jenkins: elastic/ingest-dev#3467" | ||
# Related issue: https://github.com/elastic/ingest-dev/issues/3467 | ||
env: | ||
MODULE_DIR: "x-pack/filebeat/input/awss3/_meta/terraform" | ||
command: | | ||
set -euo pipefail | ||
source .buildkite/scripts/initCloudEnv.sh | ||
echo "~~~ Running tests" | ||
cd x-pack/filebeat | ||
mage build test goIntegTest | ||
agents: | ||
provider: "aws" | ||
imagePrefix: "${AWS_IMAGE_UBUNTU_ARM_64}" | ||
instanceType: "${AWS_ARM_INSTANCE_TYPE}" | ||
artifact_paths: | ||
- "x-pack/filebeat/build/*.xml" | ||
- "x-pack/filebeat/build/*.json" | ||
notify: | ||
- github_commit_status: | ||
context: "x-pack/filebeat: AWS Tests" | ||
|
||
- label: ":ubuntu: x-pack/metricbeat: AWS Tests" | ||
key: "x-pack-metricbeat-extended-cloud-test" | ||
env: | ||
MODULE_DIR: "x-pack/metricbeat/module/aws" | ||
command: | | ||
set -euo pipefail | ||
source .buildkite/scripts/initCloudEnv.sh | ||
echo "~~~ Running tests" | ||
cd x-pack/metricbeat | ||
mage build test goIntegTest | ||
agents: | ||
provider: "aws" | ||
imagePrefix: "${AWS_IMAGE_UBUNTU_ARM_64}" | ||
instanceType: "${AWS_ARM_INSTANCE_TYPE}" | ||
artifact_paths: | ||
- "x-pack/metricbeat/build/*.xml" | ||
- "x-pack/metricbeat/build/*.json" | ||
notify: | ||
- github_commit_status: | ||
context: "x-pack/metricbeat: AWS Tests" | ||
|
||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.