Skip to content

Commit

Permalink
further testing
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 18d8e81 commit 4911ad3
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 3 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/training-e2e.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -115,7 +115,7 @@ jobs:

- name: Run tests
run: |
ansible-playbook ./main/training/tests/e2e-tests/playbook.yml \
ansible-playbook ./main/training/tests/e2e-tests/playbook.yml -vvv \
-i terraform-test-environment-module/hosts.ini \
--private-key=terraform-test-environment-module/${{ steps.terraform-output.outputs.pem_filename }} \
--extra-vars "HF_TOKEN=${{ secrets.HF_TOKEN }}" \
Expand Down
6 changes: 4 additions & 2 deletions training/tests/e2e-tests/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 All @@ -20,6 +20,8 @@
url: https://raw.githubusercontent.com/instructlab/instructlab/main/scripts/basic-workflow-tests.sh
dest: /tmp/basic-workflow-tests.sh
mode: 755
environment:
HF_TOKEN: "{{ HF_TOKEN }}"

# Allow for debugging with tmate
# - name: Wait for 15 minutes
Expand Down

0 comments on commit 4911ad3

Please sign in to comment.