diff --git a/.github/workflows/integration_test_result.yml b/.github/workflows/integration_test_result.yml index a32a484..5086e61 100644 --- a/.github/workflows/integration_test_result.yml +++ b/.github/workflows/integration_test_result.yml @@ -13,6 +13,7 @@ jobs: timeout-minutes: 1 env: CI_JOB: 'ansible-test-molecule-${{ github.event.repository.name }}' + CI_DOMAIN: 'ci.ansibleguy.net' steps: - name: Checkout @@ -25,7 +26,7 @@ jobs: shell: bash - name: Pulling logs - run: curl https://ci.ansibleguy.net/api/job/${{ env.CI_JOB }}/logs?token=${{ secrets.CI_TOKEN_RO }} | jq > /tmp/test.log + run: curl https://${{ env.CI_DOMAIN }}/api/job/${{ env.CI_JOB }}/logs?token=${{ secrets.CI_TOKEN_RO }} | jq > /tmp/test.log shell: bash - uses: actions/upload-artifact@v4 @@ -36,5 +37,5 @@ jobs: - name: Checking job-state run: > - curl https://ci.ansibleguy.net/api/job/${{ env.CI_JOB }}/state?token=${{ secrets.CI_TOKEN_RO }} | jq -r '.state' | grep -q 'failed' && exit 1 || exit 0 + curl https://${{ env.CI_DOMAIN }}/api/job/${{ env.CI_JOB }}/state?token=${{ secrets.CI_TOKEN_RO }} | jq -r '.state' | grep -q 'failed' && exit 1 || exit 0 shell: bash diff --git a/.github/workflows/integration_test_run.yml b/.github/workflows/integration_test_run.yml index d4730aa..e2d4fec 100644 --- a/.github/workflows/integration_test_run.yml +++ b/.github/workflows/integration_test_run.yml @@ -10,6 +10,7 @@ jobs: timeout-minutes: 1 env: CI_JOB: 'ansible-test-molecule-${{ github.event.repository.name }}' + CI_DOMAIN: 'ci.ansibleguy.net' steps: - name: Checkout @@ -22,12 +23,12 @@ jobs: shell: bash - name: Starting Tests - run: curl -XPOST https://ci.ansibleguy.net/api/job/${{ env.CI_JOB }}?token=${{ secrets.CI_TOKEN_RW }} + run: curl -XPOST https://${{ env.CI_DOMAIN }}/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}" + echo " > https://${{ env.CI_DOMAIN }}/api/job/${{ env.CI_JOB }}/tail?token=${CI_TOKEN_RO}" env: CI_TOKEN_RO: "2b7bba30-9a37-4b57-be8a-99e23016ce70" diff --git a/.github/workflows/lint.yml b/.github/workflows/lint.yml index 20c35d6..8c3435d 100644 --- a/.github/workflows/lint.yml +++ b/.github/workflows/lint.yml @@ -19,7 +19,7 @@ on: - 'requirements_lint.txt' jobs: - build: + lint: runs-on: ubuntu-latest timeout-minutes: 2 steps: