From 8dbe5943b9bf8d88fe7272754266ea019d6fad26 Mon Sep 17 00:00:00 2001 From: Mario Rodriguez Molins Date: Tue, 27 Aug 2024 19:42:33 +0200 Subject: [PATCH] Test env. var substitution --- .buildkite/pipeline.yml | 2 ++ .buildkite/scripts/common.sh | 2 +- 2 files changed, 3 insertions(+), 1 deletion(-) diff --git a/.buildkite/pipeline.yml b/.buildkite/pipeline.yml index 50a1773ad9c..27b671fb921 100644 --- a/.buildkite/pipeline.yml +++ b/.buildkite/pipeline.yml @@ -26,6 +26,8 @@ env: ELASTIC_PACKAGE_TEST_ENABLE_INDEPENDENT_AGENT: "true" # Set maximum number of parallel tests to run if package allows it ELASTIC_PACKAGE_MAXIMUM_NUMBER_PARALLEL_TESTS: "5" + # Disable the usage of wolfi images for Elastic Agent + ELASTIC_PACKAGE_DISABLE_ELASTIC_AGENT_WOLFI: "${ELASTIC_PACKAGE_DISABLE_ELASTIC_AGENT_WOLFI:-true}" steps: - label: "Get reference from target branch" diff --git a/.buildkite/scripts/common.sh b/.buildkite/scripts/common.sh index 0ff8a77d352..3ddce49993b 100755 --- a/.buildkite/scripts/common.sh +++ b/.buildkite/scripts/common.sh @@ -742,7 +742,7 @@ teardown_test_package() { } list_all_directories() { - find . -maxdepth 1 -mindepth 1 -type d | xargs -I {} basename {} | sort + find . -maxdepth 1 -mindepth 1 -type d | xargs -I {} basename {} | sort |grep -E '^elastic_package_registry$' } check_package() {