Skip to content

Commit

Permalink
fix MODULE_DIR and add nmap
Browse files Browse the repository at this point in the history
  • Loading branch information
Siarhei Harbuz committed Mar 19, 2024
1 parent 4ee79d6 commit 3c0db7c
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions .buildkite/scripts/cloud_tests.sh
Original file line number Diff line number Diff line change
@@ -1,9 +1,9 @@
#!/usr/bin/env bash

# What Terraform Module will run
if [[ "$BUILDKITE_STEP_KEY" == "xpack-metricbeat-pipeline" ]]; then
if [[ "$BUILDKITE_PIPELINE_SLUG" == "beats-xpack-metricbeat" ]]; then
export MODULE_DIR="x-pack/metricbeat/module/aws"
elif [["$BUILDKITE_STEP_KEY" == "xpack-filebeat-pipeline"]]; then
elif [[ "$BUILDKITE_PIPELINE_SLUG" == "beats-xpack-filebeat" ]]; then
export MODULE_DIR="x-pack/filebeat/input/awss3/_meta/terraform"
fi

Expand Down
2 changes: 1 addition & 1 deletion .buildkite/scripts/win_unit_tests.ps1
Original file line number Diff line number Diff line change
Expand Up @@ -150,7 +150,7 @@ withPython $env:SETUP_WIN_PYTHON_VERSION

withMinGW

if ($env:BUILDKITE_PIPELINE_SLUG -eq "beats-packetbeat") {
if ($env:BUILDKITE_PIPELINE_SLUG -eq "beats-packetbeat" -or $env:BUILDKITE_PIPELINE_SLUG -eq "beats-xpack-filebeat") {
withNmap $env:NMAP_WIN_VERSION
}

Expand Down

0 comments on commit 3c0db7c

Please sign in to comment.