Split hcloud tests into two CI groups. (#67683)

* Split hcloud tests into two CI groups.

This will hopefully resolve CI failures when running with code coverage.

* Fix smoketest logic.
pull/67686/head
Matt Clay 6 years ago committed by GitHub
parent 4a885072af
commit 2dadc259d3
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

@ -213,6 +213,9 @@ matrix:
- env: T=hcloud/2.7/1
- env: T=hcloud/3.6/1
- env: T=hcloud/2.7/2
- env: T=hcloud/3.6/2
branches:
except:
- "*-patch-*"

@ -1,2 +1,2 @@
cloud/hcloud
shippable/hcloud/group1
shippable/hcloud/group2

@ -1,2 +1,2 @@
cloud/hcloud
shippable/hcloud/group1
shippable/hcloud/group2

@ -1,2 +1,2 @@
cloud/hcloud
shippable/hcloud/group1
shippable/hcloud/group2

@ -1,2 +1,2 @@
cloud/hcloud
shippable/hcloud/group1
shippable/hcloud/group2

@ -1,2 +1,2 @@
cloud/hcloud
shippable/hcloud/group1
shippable/hcloud/group2

@ -1,2 +1,2 @@
cloud/hcloud
shippable/hcloud/group1
shippable/hcloud/group2

@ -1,2 +1,2 @@
cloud/hcloud
shippable/hcloud/group1
shippable/hcloud/group2

@ -1,2 +1,2 @@
cloud/hcloud
shippable/hcloud/group1
shippable/hcloud/group2

@ -1,2 +1,2 @@
cloud/hcloud
shippable/hcloud/group1
shippable/hcloud/group2

@ -1,2 +1,2 @@
cloud/hcloud
shippable/hcloud/group1
shippable/hcloud/group2

@ -1,2 +1,2 @@
cloud/hcloud
shippable/hcloud/group1
shippable/hcloud/group2

@ -1,2 +1,2 @@
cloud/hcloud
shippable/hcloud/group1
shippable/hcloud/group2

@ -1,2 +1,2 @@
cloud/hcloud
shippable/hcloud/group1
shippable/hcloud/group2

@ -15,14 +15,14 @@ stage="${S:-prod}"
changed_all_target="shippable/${cloud}/smoketest/"
if ! ansible-test integration "${changed_all_target}" --list-targets > /dev/null 2>&1; then
# no smoketest tests are available for this cloud
changed_all_target="none"
fi
if [ "${group}" == "1" ]; then
# only run smoketest tests for group1
changed_all_mode="include"
if ! ansible-test integration "${changed_all_target}" --list-targets > /dev/null 2>&1; then
# no smoketest tests are available for this cloud
changed_all_target="none"
fi
else
# smoketest tests already covered by group1
changed_all_mode="exclude"

Loading…
Cancel
Save