1
0
Fork 0
mirror of https://github.com/NaN-tic/ansible.git synced 2023-12-14 02:32:58 +01:00

Enable cloud tests for use with ansible-test.

This commit is contained in:
Matt Clay 2017-05-03 08:24:05 +08:00
parent ac72fd9d2c
commit 17e07a27b2
89 changed files with 66 additions and 3 deletions

View file

@ -53,6 +53,9 @@ matrix:
- env: TEST=linux/ubuntu1404/3
- env: TEST=linux/ubuntu1604/3
- env: TEST=linux/ubuntu1604py3/3
- env: TEST=cloud/ubuntu1604
- env: TEST=cloud/ubuntu1604py3
build:
pre_ci:
- docker images drydock/u16pytall

View file

@ -0,0 +1 @@
../targets/setup_ec2

View file

@ -0,0 +1 @@
../targets/setup_sshkey

View file

@ -0,0 +1,2 @@
cloud/cs
posix/ci/cloud/cs

View file

@ -0,0 +1,2 @@
cloud/cs
posix/ci/cloud/cs

View file

@ -0,0 +1,3 @@
cloud/cs
posix/ci/cloud/cs
skip/python3

View file

@ -0,0 +1,3 @@
cloud/cs
posix/ci/cloud/cs
skip/python3

View file

@ -0,0 +1,2 @@
cloud/cs
posix/ci/cloud/cs

View file

@ -0,0 +1,3 @@
cloud/cs
posix/ci/cloud/cs
skip/python3

View file

@ -0,0 +1,3 @@
cloud/cs
posix/ci/cloud/cs
skip/python3

View file

@ -0,0 +1,2 @@
cloud/cs
posix/ci/cloud/cs

View file

@ -0,0 +1,2 @@
cloud/cs
posix/ci/cloud/cs

View file

@ -0,0 +1,3 @@
cloud/cs
posix/ci/cloud/cs
skip/python3

View file

@ -0,0 +1,2 @@
cloud/aws
posix/ci/cloud/aws

View file

@ -0,0 +1,2 @@
cloud/aws
posix/ci/cloud/aws

View file

@ -239,7 +239,7 @@
assert:
that:
- 'result.failed'
- 'result.msg == "missing required arguments: name,state"'
- 'result.msg.startswith("missing required arguments: ")'

View file

@ -0,0 +1,2 @@
cloud/aws
posix/ci/cloud/aws

View file

@ -0,0 +1,2 @@
cloud/aws
posix/ci/cloud/aws

View file

@ -0,0 +1,3 @@
cloud/aws
posix/ci/cloud/aws
skip/python3

View file

@ -0,0 +1,2 @@
cloud/aws
posix/ci/cloud/aws

View file

@ -0,0 +1,2 @@
cloud/aws
posix/ci/cloud/aws

View file

@ -0,0 +1,2 @@
cloud/aws
posix/ci/cloud/aws

View file

@ -0,0 +1,2 @@
cloud/aws
posix/ci/cloud/aws

View file

@ -0,0 +1 @@
hidden

View file

@ -0,0 +1,2 @@
---
cs_resource_prefix: cloudstack

11
test/utils/shippable/cloud.sh Executable file
View file

@ -0,0 +1,11 @@
#!/bin/bash -eux
set -o pipefail
declare -a args
IFS='/:' read -ra args <<< "${TEST}"
image="ansible/ansible:${args[1]}"
target="posix/ci/cloud/"
ansible-test integration --color -v --retry-on-error "${target}" --docker "${image}"

View file

@ -9,4 +9,4 @@ platform="${args[0]}"
version="${args[1]}"
target="posix/ci/"
ansible-test integration --color -v --retry-on-error "${target}" --remote "${platform}/${version}"
ansible-test integration --color -v --retry-on-error "${target}" --remote "${platform}/${version}" --exclude "posix/ci/cloud/"

View file

@ -9,4 +9,4 @@ platform="${args[0]}"
version="${args[1]}"
target="posix/ci/"
ansible-test integration --color -v --retry-on-error "${target}" --remote "${platform}/${version}"
ansible-test integration --color -v --retry-on-error "${target}" --remote "${platform}/${version}" --exclude "posix/ci/cloud/"