Skip to content

Commit

Permalink
DO NOT MERGE Test aws terraform on CI
Browse files Browse the repository at this point in the history
  • Loading branch information
bhapas committed May 15, 2023
1 parent cc58daf commit 4cd8aad
Show file tree
Hide file tree
Showing 2 changed files with 25 additions and 24 deletions.
48 changes: 24 additions & 24 deletions .buildkite/pipeline.trigger.integration.tests.sh
Original file line number Diff line number Diff line change
Expand Up @@ -18,37 +18,37 @@ STACK_COMMAND_TESTS=(
test-stack-command-8x
)

for test in ${STACK_COMMAND_TESTS[@]}; do
echo " - label: \":go: Running integration test: ${test}\""
echo " command: ./.buildkite/scripts/integration_tests.sh -t ${test}"
echo " agents:"
echo " provider: \"gcp\""
echo " artifact_paths:"
echo " - build/elastic-stack-dump/stack/*/logs/*.log"
echo " - build/elastic-stack-dump/stack/*/logs/fleet-server-internal/**/*"
echo " - build/elastic-stack-status/*/*"
done
# for test in ${STACK_COMMAND_TESTS[@]}; do
# echo " - label: \":go: Running integration test: ${test}\""
# echo " command: ./.buildkite/scripts/integration_tests.sh -t ${test}"
# echo " agents:"
# echo " provider: \"gcp\""
# echo " artifact_paths:"
# echo " - build/elastic-stack-dump/stack/*/logs/*.log"
# echo " - build/elastic-stack-dump/stack/*/logs/fleet-server-internal/**/*"
# echo " - build/elastic-stack-status/*/*"
# done

CHECK_PACKAGES_TESTS=(
test-check-packages-other
test-check-packages-with-kind
test-check-packages-with-custom-agent
test-check-packages-benchmarks
)
for test in ${CHECK_PACKAGES_TESTS[@]}; do
echo " - label: \":go: Running integration test: ${test}\""
echo " command: ./.buildkite/scripts/integration_tests.sh -t ${test}"
echo " agents:"
echo " provider: \"gcp\""
echo " artifact_paths:"
echo " - build/test-results/*.xml"
echo " - build/elastic-stack-dump/stack/check-*/logs/*.log"
echo " - build/elastic-stack-dump/stack/check-*/logs/fleet-server-internal/**/*"
echo " - build/elastic-stack-status/*/*"
if [[ $test =~ with-kind$ ]]; then
echo " - build/kubectl-dump.txt"
fi
done
# for test in ${CHECK_PACKAGES_TESTS[@]}; do
# echo " - label: \":go: Running integration test: ${test}\""
# echo " command: ./.buildkite/scripts/integration_tests.sh -t ${test}"
# echo " agents:"
# echo " provider: \"gcp\""
# echo " artifact_paths:"
# echo " - build/test-results/*.xml"
# echo " - build/elastic-stack-dump/stack/check-*/logs/*.log"
# echo " - build/elastic-stack-dump/stack/check-*/logs/fleet-server-internal/**/*"
# echo " - build/elastic-stack-status/*/*"
# if [[ $test =~ with-kind$ ]]; then
# echo " - build/kubectl-dump.txt"
# fi
# done

pushd test/packages/parallel > /dev/null
for package in $(find . -maxdepth 1 -mindepth 1 -type d) ; do
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,7 @@ trap cleanup EXIT INT TERM
terraform init
terraform plan
terraform apply -auto-approve && touch /tmp/tf-applied
terraform output -json

echo "Terraform definitions applied."

Expand Down

0 comments on commit 4cd8aad

Please sign in to comment.