Skip to content

Commit 0d110ad

Browse files
committed
ci: set Datadog team in functional workflow runs
- Adds a new job to the functional workflow to set the Datadog team using the set-datadog-team workflow from dx-team-toolkit. This will associate workflow results with the integrations team in Datadog. - Removes the report_status job in favor of centralizing notifications with Datadog monitors.
1 parent 91a7dd9 commit 0d110ad

File tree

1 file changed

+6
-9
lines changed

1 file changed

+6
-9
lines changed

.github/workflows/functional.yml

Lines changed: 6 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,12 @@ on:
99
- cron: '0 5 * * *'
1010

1111
jobs:
12+
set_datadog_team:
13+
name: 'Set Datadog team'
14+
uses: fingerprintjs/dx-team-toolkit/.github/workflows/set-datadog-team.yml@v1
15+
secrets:
16+
DD_API_KEY: ${{ secrets.INTEGRATIONS_DATADOG_API_KEY }}
17+
1218
functional_tests:
1319
name: "Functional Tests Java ${{ matrix.java }}"
1420
runs-on: ubuntu-latest
@@ -29,12 +35,3 @@ jobs:
2935
FPJS_API_SECRET: "${{ secrets.FPJS_API_SECRET }}"
3036
FPJS_API_REGION: "${{ secrets.FPJS_API_REGION }}"
3137

32-
report_status:
33-
needs: functional_tests
34-
if: always()
35-
uses: fingerprintjs/dx-team-toolkit/.github/workflows/report-workflow-status.yml@v1
36-
with:
37-
notification_title: 'Java SDK Functional Tests has {status_message}'
38-
job_status: ${{ needs.functional_tests.result }}
39-
secrets:
40-
SLACK_WEBHOOK_URL: ${{ secrets.SLACK_WEBHOOK_URL }}

0 commit comments

Comments
 (0)