Consolidate image and server setup in several checks (#14477)

This commit is contained in:
Alan Rominger
2023-09-25 09:02:20 -04:00
committed by GitHub
parent 29ad6e1eaa
commit 9ed527eb26
6 changed files with 48 additions and 54 deletions

View File

@@ -11,23 +11,6 @@
- name: Test that the development environment is able to launch a job
hosts: localhost
tasks:
- name: Boot the development environment
command: |
make docker-compose
environment:
COMPOSE_UP_OPTS: -d
args:
chdir: "{{ playbook_dir }}/../../../"
# Takes a while for migrations to finish
- name: Wait for the dev environment to be ready
uri:
url: "http://localhost:8013/api/v2/ping/"
register: _result
until: _result.status == 200
retries: 120
delay: 5
- name: Reset admin password
shell: |
docker exec -i tools_awx_1 bash <<EOSH