mirror of
https://github.com/geerlingguy/ansible-role-ansible.git
synced 2025-01-07 18:38:29 +01:00
Another attempt at setting the cleanup var for tests.
This commit is contained in:
parent
9203f8bd3c
commit
633237c0db
@ -12,14 +12,13 @@ env:
|
|||||||
|
|
||||||
script:
|
script:
|
||||||
- container_id=$(date +%s)
|
- container_id=$(date +%s)
|
||||||
- cleanup=false
|
|
||||||
|
|
||||||
# Download test shim.
|
# Download test shim.
|
||||||
- wget -O ${PWD}/tests/test.sh https://gist.githubusercontent.com/geerlingguy/73ef1e5ee45d8694570f334be385e181/raw/
|
- wget -O ${PWD}/tests/test.sh https://gist.githubusercontent.com/geerlingguy/73ef1e5ee45d8694570f334be385e181/raw/
|
||||||
- chmod +x ${PWD}/tests/test.sh
|
- chmod +x ${PWD}/tests/test.sh
|
||||||
|
|
||||||
# Run tests.
|
# Run tests.
|
||||||
- ${PWD}/tests/test.sh
|
- cleanup=false ${PWD}/tests/test.sh
|
||||||
|
|
||||||
# Ensure Ansible is installed (contrived... since it's already installed).
|
# Ensure Ansible is installed (contrived... since it's already installed).
|
||||||
- 'docker exec --tty ${container_id} env TERM=xterm ansible --version'
|
- 'docker exec --tty ${container_id} env TERM=xterm ansible --version'
|
||||||
|
Loading…
Reference in New Issue
Block a user