Skip to content

Commit

Permalink
added MODULE env var definition
Browse files Browse the repository at this point in the history
  • Loading branch information
oakrizan committed Apr 26, 2024
1 parent 074f221 commit 1549ad5
Showing 1 changed file with 8 additions and 1 deletion.
9 changes: 8 additions & 1 deletion .buildkite/x-pack/pipeline.xpack.dockerlogbeat.yml
Expand Up @@ -41,7 +41,14 @@ steps:

- label: ":ubuntu: Xpack/Dockerlogbeat Go Integration Tests"
key: "mandatory-int-test"
command: "cd x-pack/dockerlogbeat && mage goIntegTest"
command: |
set -euo pipefail
# defines the MODULE env var based on what's changed in a PR
source .buildkite/scripts/changesets.sh
defineModuleFromTheChangeSet x-pack/dockerlogbeat
echo "~~~ Running tests with env var MODULE=$$MODULE"
cd x-pack/dockerlogbeat
mage goIntegTest
env:
MODULE: $MODULE
agents:
Expand Down

0 comments on commit 1549ad5

Please sign in to comment.