mirror of
https://github.com/geerlingguy/ansible-role-ansible.git
synced 2025-01-06 18:28:12 +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:
|
||||
- container_id=$(date +%s)
|
||||
- cleanup=false
|
||||
|
||||
# Download test shim.
|
||||
- wget -O ${PWD}/tests/test.sh https://gist.githubusercontent.com/geerlingguy/73ef1e5ee45d8694570f334be385e181/raw/
|
||||
- chmod +x ${PWD}/tests/test.sh
|
||||
|
||||
# Run tests.
|
||||
- ${PWD}/tests/test.sh
|
||||
- cleanup=false ${PWD}/tests/test.sh
|
||||
|
||||
# Ensure Ansible is installed (contrived... since it's already installed).
|
||||
- 'docker exec --tty ${container_id} env TERM=xterm ansible --version'
|
||||
|
Loading…
Reference in New Issue
Block a user