Skip to content

Commit

Permalink
fix: generate integration_config
Browse files Browse the repository at this point in the history
Signed-off-by: gardar <gardar@users.noreply.github.com>
  • Loading branch information
gardar committed Jan 15, 2024
1 parent a97b414 commit ea4b22f
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 0 deletions.
6 changes: 6 additions & 0 deletions .github/workflows/ansible-test-integration.yml
Original file line number Diff line number Diff line change
Expand Up @@ -41,5 +41,11 @@ jobs:
testing-type: integration
target: ${{ matrix.targets.test }}
coverage: ${{ inputs.coverage }}
pre-test-cmd: |-
echo -e "org_name: ${{ secrets.ANSIBLE_TEST_ORG_NAME }} \n\
grafana_cloud_api_key: ${{ secrets.ANSIBLE_TEST_CLOUD_API_KEY }} \n\
grafana_api_key: ${{ secrets.ANSIBLE_TEST_GRAFANA_API_KEY }} \n\
grafana_url: ${{ secrets.ANSIBLE_GRAFANA_URL }} \n\
test_stack_name: ${{ secrets.ANSIBLE_TEST_CI_STACK }}" > tests/integration/integration_config.yml
env:
GITHUB_TOKEN: "${{ secrets.GITHUB_TOKEN }}"
1 change: 1 addition & 0 deletions .github/workflows/full-integration-test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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"]'
Expand Down

0 comments on commit ea4b22f

Please sign in to comment.