From 0e0813c1a2b94749b2d187d7fc71ffef4df8dd9b Mon Sep 17 00:00:00 2001 From: Rath Pascal Date: Sat, 8 Feb 2025 15:01:15 +0100 Subject: [PATCH] update ci --- .github/workflows/integration_test_run.yml | 33 ++++++++++++++++++++++ 1 file changed, 33 insertions(+) create mode 100644 .github/workflows/integration_test_run.yml diff --git a/.github/workflows/integration_test_run.yml b/.github/workflows/integration_test_run.yml new file mode 100644 index 0000000..d4730aa --- /dev/null +++ b/.github/workflows/integration_test_run.yml @@ -0,0 +1,33 @@ +--- + +name: Integration-Tests Execution + +on: workflow_dispatch + +jobs: + test: + runs-on: ubuntu-latest + timeout-minutes: 1 + env: + CI_JOB: 'ansible-test-molecule-${{ github.event.repository.name }}' + + steps: + - name: Checkout + uses: actions/checkout@v3 + with: + ref: ${{ github.ref }} + + - name: Install dependencies + run: sudo apt install curl + shell: bash + + - name: Starting Tests + run: curl -XPOST https://ci.ansibleguy.net/api/job/${{ env.CI_JOB }}?token=${{ secrets.CI_TOKEN_RW }} + shell: bash + + - name: You can pull the current logs at this URL + run: > + echo "You can pull the current logs at this URL:" + echo " > https://ci.ansibleguy.net/api/job/${{ env.CI_JOB }}/tail?token=${CI_TOKEN_RO}" + env: + CI_TOKEN_RO: "2b7bba30-9a37-4b57-be8a-99e23016ce70"