Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
42 changes: 28 additions & 14 deletions .buildkite/pipeline.trigger.integration.tests.sh
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,8 @@ STACK_COMMAND_TESTS=(
)

for test in "${STACK_COMMAND_TESTS[@]}"; do
echo " - label: \":go: Integration test: ${test}\""
test_name=${test#"test-"}
echo " - label: \":go: Integration test: ${test_name}\""
echo " command: ./.buildkite/scripts/integration_tests.sh -t ${test}"
echo " agents:"
echo " provider: \"gcp\""
Expand All @@ -39,7 +40,12 @@ CHECK_PACKAGES_TESTS=(
)
for independent_agent in false true ; do
for test in "${CHECK_PACKAGES_TESTS[@]}"; do
echo " - label: \":go: Integration test: ${test} - independent_agent ${independent_agent}\""
label_suffix=""
if [[ "$independent_agent" == "true" ]]; then
label_suffix=" (independent agent)"
fi
test_name=${test#"test-check-packages-"}
echo " - label: \":go: Integration test: ${test_name}${label_suffix}\""
echo " command: ./.buildkite/scripts/integration_tests.sh -t ${test}"
echo " agents:"
echo " provider: \"gcp\""
Expand Down Expand Up @@ -76,8 +82,12 @@ done
pushd test/packages/parallel > /dev/null
for independent_agent in false true; do
for package in $(find . -maxdepth 1 -mindepth 1 -type d) ; do
label_suffix=""
if [[ "$independent_agent" == "true" ]]; then
label_suffix=" (independent agent)"
fi
package_name=$(basename "${package}")
echo " - label: \":go: Integration test: ${package_name} - independent_agent ${independent_agent}\""
echo " - label: \":go: Integration test: ${package_name}${label_suffix}\""
echo " key: \"integration-parallel-${package_name}-agent-${independent_agent}\""
echo " command: ./.buildkite/scripts/integration_tests.sh -t test-check-packages-parallel -p ${package_name}"
echo " env:"
Expand All @@ -93,38 +103,42 @@ done

popd > /dev/null

echo " - label: \":go: Integration test: test-build-zip\""
echo " - label: \":go: Integration test: build-zip\""
echo " command: ./.buildkite/scripts/integration_tests.sh -t test-build-zip"
echo " agents:"
echo " provider: \"gcp\""
echo " artifact_paths:"
echo " - build/elastic-stack-dump/build-zip/logs/*.log"
echo " - build/packages/*.sig"

echo " - label: \":go: Integration test: test-install-zip\""
echo " - label: \":go: Integration test: install-zip\""
echo " command: ./.buildkite/scripts/integration_tests.sh -t test-install-zip"
echo " agents:"
echo " provider: \"gcp\""
echo " artifact_paths:"
echo " - build/elastic-stack-dump/install-zip/logs/*.log"

echo " - label: \":go: Integration test: test-install-zip-shellinit\""
echo " - label: \":go: Integration test: install-zip-shellinit\""
echo " command: ./.buildkite/scripts/integration_tests.sh -t test-install-zip-shellinit"
echo " agents:"
echo " provider: \"gcp\""
echo " artifact_paths:"
echo " - build/elastic-stack-dump/install-zip-shellinit/logs/*.log"

for independent_agent in false true; do
echo " - label: \":go: Integration test: test-system-test-flags - independent_agent ${independent_agent}\""
echo " command: ./.buildkite/scripts/integration_tests.sh -t test-system-test-flags"
echo " agents:"
echo " provider: \"gcp\""
echo " env:"
echo " ELASTIC_PACKAGE_TEST_ENABLE_INDEPENDENT_AGENT: ${independent_agent}"
label_suffix=""
if [[ "$independent_agent" == "true" ]]; then
label_suffix=" (independent agent)"
fi
echo " - label: \":go: Integration test: system-flags${label_suffix}\""
echo " command: ./.buildkite/scripts/integration_tests.sh -t test-system-test-flags"
echo " agents:"
echo " provider: \"gcp\""
echo " env:"
echo " ELASTIC_PACKAGE_TEST_ENABLE_INDEPENDENT_AGENT: ${independent_agent}"
done

echo " - label: \":go: Integration test: test-profiles-command\""
echo " - label: \":go: Integration test: profiles-command\""
echo " command: ./.buildkite/scripts/integration_tests.sh -t test-profiles-command"
echo " env:"
echo " DOCKER_COMPOSE_VERSION: \"false\""
Expand All @@ -134,7 +148,7 @@ echo " image: \"${LINUX_AGENT_IMAGE}\""
echo " cpu: \"8\""
echo " memory: \"4G\""

echo " - label: \":go: Integration test: test-check-update-version\""
echo " - label: \":go: Integration test: check-update-version\""
echo " command: ./.buildkite/scripts/integration_tests.sh -t test-check-update-version"
echo " env:"
echo " DEFAULT_VERSION_TAG: v0.80.0"
Expand Down