diff --git a/.github/workflows/training-e2e.yaml b/.github/workflows/training-e2e.yaml index 97e286563..69f9f9c24 100644 --- a/.github/workflows/training-e2e.yaml +++ b/.github/workflows/training-e2e.yaml @@ -96,20 +96,13 @@ jobs: - name: Wait for 4 minutes run: sleep 240 - - # - name: Setup tmate session - # uses: mxschmitt/action-tmate@v3.18 - # timeout-minutes: 20 - # with: - # detached: true - # limit-access-to-actor: false - name: Setup tmate session uses: mxschmitt/action-tmate@v3.18 timeout-minutes: 60 with: - detached: true - limit-access-to-actor: false + detached: false + limit-access-to-actor: true - name: Run tests run: | @@ -124,13 +117,13 @@ jobs: ANSIBLE_CONFIG: ./main/training/tests/ansible.cfg # This should exist in the final workflow - - name: Setup tmate session - if: ${{ failure() }} - uses: mxschmitt/action-tmate@v3.18 - timeout-minutes: 15 - with: - detached: true - limit-access-to-actor: false + # - name: Setup tmate session + # if: ${{ failure() }} + # uses: mxschmitt/action-tmate@v3.18 + # timeout-minutes: 15 + # with: + # detached: true + # limit-access-to-actor: false - name: Destroy Test Environment id: down diff --git a/training/tests/e2e-tests/playbook.yml b/training/tests/e2e-tests/playbook.yml index dd07b765b..801af6fd7 100644 --- a/training/tests/e2e-tests/playbook.yml +++ b/training/tests/e2e-tests/playbook.yml @@ -22,18 +22,18 @@ mode: 755 # Allow for debugging with tmate - # - name: Wait for 15 minutes - # pause: - # minutes: 15 + - name: Wait for 30 minutes + pause: + minutes: 30 - - name: Run tests - ansible.builtin.shell: /tmp/basic-workflow-tests.sh - register: out + # - name: Run tests + # ansible.builtin.shell: /tmp/basic-workflow-tests.sh + # register: out - - name: Test Results - stdout - debug: - msg: "{{out.stdout_lines}}" + # - name: Test Results - stdout + # debug: + # msg: "{{out.stdout_lines}}" - - name: Test Results - stderr - debug: - msg: "{{out.stderr_lines}}" + # - name: Test Results - stderr + # debug: + # msg: "{{out.stderr_lines}}"