-
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 url-extension-value-fix
- Loading branch information
Showing
12 changed files
with
504 additions
and
30 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
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,24 @@ | ||
#!/usr/bin/env bash | ||
|
||
# What Terraform Module will run | ||
export MODULE_DIR="x-pack/metricbeat/module/aws" | ||
|
||
source .buildkite/scripts/install_tools.sh | ||
|
||
set -euo pipefail | ||
|
||
trap 'teardown || true; unset_secrets' EXIT | ||
|
||
# Set the MODULE env variable if possible | ||
defineModuleFromTheChangeSet "${BEATS_PROJECT_NAME}" | ||
|
||
# Prepare the cloud resources using Terraform | ||
startCloudTestEnv "${MODULE_DIR}" | ||
|
||
# Run tests | ||
echo "--- Run Cloud Tests for $BEATS_PROJECT_NAME" | ||
pushd "${BEATS_PROJECT_NAME}" > /dev/null | ||
|
||
mage build test | ||
|
||
popd > /dev/null |
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
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.