Skip to content

Commit

Permalink
tmp: run integration test on dev env
Browse files Browse the repository at this point in the history
  • Loading branch information
jooola committed Sep 6, 2023
1 parent 1432845 commit e80bedd
Showing 1 changed file with 10 additions and 9 deletions.
19 changes: 10 additions & 9 deletions tests/utils/shippable/hcloud.sh
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,8 @@ group="${args[2]}"

target="shippable/${cloud}/group${group}/"

stage="${S:-prod}"
# stage="${S:-prod}"
stage="dev"

changed_all_target="shippable/${cloud}/smoketest/"

Expand All @@ -20,15 +21,15 @@ if ! ansible-test integration "${changed_all_target}" --list-targets > /dev/null
changed_all_target="none"
fi

if [ "${group}" == "1" ]; then
# only run smoketest tests for group1
changed_all_mode="include"
else
# smoketest tests already covered by group1
changed_all_mode="exclude"
fi
# if [ "${group}" == "1" ]; then
# # only run smoketest tests for group1
# changed_all_mode="include"
# else
# # smoketest tests already covered by group1
# changed_all_mode="exclude"
# fi

# shellcheck disable=SC2086
ansible-test integration --color -v --retry-on-error "${target}" ${COVERAGE:+"$COVERAGE"} ${CHANGED:+"$CHANGED"} ${UNSTABLE:+"$UNSTABLE"} \
--remote-terminate always --remote-stage "${stage}" \
--docker --python "${python}" --changed-all-target "${changed_all_target}" --changed-all-mode "${changed_all_mode}"
--docker --python "${python}"

0 comments on commit e80bedd

Please sign in to comment.