Skip to content

Commit

Permalink
must make this faster
Browse files Browse the repository at this point in the history
Signed-off-by: Ryan Cook <rcook@redhat.com>
  • Loading branch information
cooktheryan committed Jun 11, 2024
1 parent 4911ad3 commit bf3be83
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 9 deletions.
3 changes: 0 additions & 3 deletions .github/workflows/training-e2e.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -96,9 +96,6 @@ jobs:
env:
ANSIBLE_CONFIG: ./main/training/tests/ansible.cfg

- name: Wait for 4 minutes
run: sleep 240

# - name: Setup tmate session
# uses: mxschmitt/action-tmate@v3.18
# timeout-minutes: 20
Expand Down
12 changes: 6 additions & 6 deletions training/tests/provision/playbook.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,12 +6,12 @@
gather_facts: false

tasks:

- name: Wait until the instance is ready
ansible.builtin.wait_for_connection:
delay: 15
timeout: 180

- name: Gather facts for first time
ansible.builtin.setup:

Expand Down Expand Up @@ -42,7 +42,7 @@
ansible.builtin.shell: |
podman pull "quay.io/ai-lab/{{ image_name }}:latest" \
--authfile=/etc/containers/auth.json \
--arch amd64
--arch amd64
# --retry=3 \
# --retry-delay=15 \
Expand Down Expand Up @@ -112,6 +112,6 @@
delegate_to: localhost

- name: Reboot
ansible.builtin.shell: systemctl reboot
ignore_errors: true
ignore_unreachable: true
ansible.builtin.reboot:
reboot_timeout: 300
reboot_msg: "Reboot initiated by Ansible"

0 comments on commit bf3be83

Please sign in to comment.