Skip to content

Commit f143c6e

Browse files
authored
Upload Upstream Tests to common dashboard (#430)
1 parent 5056fd6 commit f143c6e

File tree

1 file changed

+20
-1
lines changed

1 file changed

+20
-1
lines changed

.github/workflows/tests.yml

Lines changed: 20 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -40,6 +40,23 @@ jobs:
4040
integration:
4141
uses: ansible/ansible-content-actions/.github/workflows/integration.yaml@main
4242

43+
report-status:
44+
if: ${{ always() && github.event_name == 'schedule' }}
45+
needs:
46+
- changelog
47+
- ansible-lint
48+
- sanity
49+
- unit-galaxy
50+
- integration
51+
uses: ansible/ansible-content-actions/.github/workflows/upload_upstream_results.yaml@main
52+
with:
53+
job_context: ${{ toJSON(needs) }}
54+
component_name: ${{ github.event.repository.name }}
55+
UPLOAD_USER: ${{ vars.PDE_ORG_RESULTS_AGGREGATOR_UPLOAD_USER }}
56+
UPLOAD_URL: ${{ vars.PDE_ORG_RESULTS_AGGREGATOR_UPLOAD_URL }}
57+
secrets:
58+
UPLOAD_PASSWORD: ${{ secrets.PDE_ORG_RESULTS_UPLOAD_PASSWORD }}
59+
4360
all_green:
4461
if: ${{ always() }}
4562
needs:
@@ -49,6 +66,7 @@ jobs:
4966
- ansible-lint
5067
- integration
5168
- sonar
69+
- report-status
5270
runs-on: ubuntu-latest
5371
steps:
5472
- run: >-
@@ -59,5 +77,6 @@ jobs:
5977
'${{ needs.sanity.result }}',
6078
'${{ needs.unit-galaxy.result }}',
6179
'${{ needs.ansible-lint.result }}',
62-
'${{ needs.sonar.result }}'
80+
'${{ needs.sonar.result }}',
81+
'${{ needs.report-status.result }}'
6382
])"

0 commit comments

Comments
 (0)