Skip to content

Commit ea4b22f

Browse files
committed
fix: generate integration_config
Signed-off-by: gardar <[email protected]>
1 parent a97b414 commit ea4b22f

File tree

2 files changed

+7
-0
lines changed

2 files changed

+7
-0
lines changed

.github/workflows/ansible-test-integration.yml

+6
Original file line numberDiff line numberDiff line change
@@ -41,5 +41,11 @@ jobs:
4141
testing-type: integration
4242
target: ${{ matrix.targets.test }}
4343
coverage: ${{ inputs.coverage }}
44+
pre-test-cmd: |-
45+
echo -e "org_name: ${{ secrets.ANSIBLE_TEST_ORG_NAME }} \n\
46+
grafana_cloud_api_key: ${{ secrets.ANSIBLE_TEST_CLOUD_API_KEY }} \n\
47+
grafana_api_key: ${{ secrets.ANSIBLE_TEST_GRAFANA_API_KEY }} \n\
48+
grafana_url: ${{ secrets.ANSIBLE_GRAFANA_URL }} \n\
49+
test_stack_name: ${{ secrets.ANSIBLE_TEST_CI_STACK }}" > tests/integration/integration_config.yml
4450
env:
4551
GITHUB_TOKEN: "${{ secrets.GITHUB_TOKEN }}"

.github/workflows/full-integration-test.yml

+1
Original file line numberDiff line numberDiff line change
@@ -50,6 +50,7 @@ jobs:
5050
uses: ./.github/workflows/ansible-test-integration.yml
5151
needs: discover-ansible-tests
5252
if: needs.discover-ansible-tests.outputs.integration-tests != '[]'
53+
secrets: inherit
5354
with:
5455
targets: ${{ needs.discover-ansible-tests.outputs.integration-tests }}
5556
ansible-core-versions: '["stable-2.14","stable-2.15","stable-2.16"]'

0 commit comments

Comments
 (0)