diff --git a/.github/workflows/ansible-test-integration.yml b/.github/workflows/ansible-test-integration.yml index ff085e84..707fdad6 100644 --- a/.github/workflows/ansible-test-integration.yml +++ b/.github/workflows/ansible-test-integration.yml @@ -41,5 +41,15 @@ jobs: testing-type: integration target: ${{ matrix.targets.test }} coverage: ${{ inputs.coverage }} + pre-test-cmd: | + { + cat < tests/integration/integration_config.yml + org_name: "${{ secrets.ANSIBLE_TEST_ORG_NAME }}" + grafana_cloud_api_key: "${{ secrets.ANSIBLE_TEST_CLOUD_API_KEY }}" + grafana_api_key: "${{ secrets.ANSIBLE_TEST_GRAFANA_API_KEY }}" + grafana_url: "${{ secrets.ANSIBLE_GRAFANA_URL }}" + test_stack_name: "${{ secrets.ANSIBLE_TEST_CI_STACK }}" + EOF + } env: GITHUB_TOKEN: "${{ secrets.GITHUB_TOKEN }}" diff --git a/.github/workflows/full-integration-test.yml b/.github/workflows/full-integration-test.yml index b4885101..854dce23 100644 --- a/.github/workflows/full-integration-test.yml +++ b/.github/workflows/full-integration-test.yml @@ -50,6 +50,7 @@ jobs: uses: ./.github/workflows/ansible-test-integration.yml needs: discover-ansible-tests if: needs.discover-ansible-tests.outputs.integration-tests != '[]' + secrets: inherit with: targets: ${{ needs.discover-ansible-tests.outputs.integration-tests }} ansible-core-versions: '["stable-2.14","stable-2.15","stable-2.16"]'