From 4911ad30d56ac3b4e2023749bed579481c9a29a3 Mon Sep 17 00:00:00 2001 From: Ryan Cook Date: Tue, 11 Jun 2024 12:59:03 -0400 Subject: [PATCH] further testing Signed-off-by: Ryan Cook --- .github/workflows/training-e2e.yaml | 2 +- training/tests/e2e-tests/playbook.yml | 6 ++++-- 2 files changed, 5 insertions(+), 3 deletions(-) diff --git a/.github/workflows/training-e2e.yaml b/.github/workflows/training-e2e.yaml index 66fd2655..9033f119 100644 --- a/.github/workflows/training-e2e.yaml +++ b/.github/workflows/training-e2e.yaml @@ -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 }}" \ diff --git a/training/tests/e2e-tests/playbook.yml b/training/tests/e2e-tests/playbook.yml index dd07b765..4d2102d1 100644 --- a/training/tests/e2e-tests/playbook.yml +++ b/training/tests/e2e-tests/playbook.yml @@ -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: @@ -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