mirror of
https://github.com/deepset-ai/haystack.git
synced 2026-01-06 12:07:04 +00:00
Add workflow to push CI metrics to Datadog (#4336)
This commit is contained in:
parent
c802305ccf
commit
9253990bdf
24
.github/workflows/ci_metrics.yml
vendored
Normal file
24
.github/workflows/ci_metrics.yml
vendored
Normal file
@ -0,0 +1,24 @@
|
||||
name: CI Metrics
|
||||
|
||||
on:
|
||||
workflow_run:
|
||||
workflows:
|
||||
- "end-to-end"
|
||||
- "Linting"
|
||||
- "Tests"
|
||||
- "REST API Tests"
|
||||
types:
|
||||
- completed
|
||||
pull_request:
|
||||
types:
|
||||
- opened
|
||||
- closed
|
||||
jobs:
|
||||
send:
|
||||
runs-on: ubuntu-latest
|
||||
steps:
|
||||
- uses: int128/datadog-actions-metrics@v1
|
||||
with:
|
||||
datadog-api-key: ${{ secrets.DATADOG_API_KEY }}
|
||||
datadog-site: "datadoghq.eu"
|
||||
collect-job-metrics: true
|
||||
1
.github/workflows/e2e.yml
vendored
1
.github/workflows/e2e.yml
vendored
@ -1,3 +1,4 @@
|
||||
# If you change this name also do it in ci_metrics.yml
|
||||
name: end-to-end
|
||||
|
||||
on:
|
||||
|
||||
2
.github/workflows/linting-skipper.yml
vendored
2
.github/workflows/linting-skipper.yml
vendored
@ -1,4 +1,4 @@
|
||||
# If you change this name also do it in linting.yml
|
||||
# If you change this name also do it in linting.yml and ci_metrics.yml
|
||||
name: Linting
|
||||
|
||||
on:
|
||||
|
||||
2
.github/workflows/linting.yml
vendored
2
.github/workflows/linting.yml
vendored
@ -1,4 +1,4 @@
|
||||
# If you change this name also do it in linting-skipper.yml
|
||||
# If you change this name also do it in linting-skipper.yml and ci_metrics.yml
|
||||
name: Linting
|
||||
|
||||
on:
|
||||
|
||||
1
.github/workflows/rest_api_tests.yml
vendored
1
.github/workflows/rest_api_tests.yml
vendored
@ -1,3 +1,4 @@
|
||||
# If you change this name also do it in ci_metrics.yml
|
||||
name: REST API Tests
|
||||
|
||||
on:
|
||||
|
||||
1
.github/workflows/tests.yml
vendored
1
.github/workflows/tests.yml
vendored
@ -1,3 +1,4 @@
|
||||
# If you change this name also do it in tests_skipper.yml and ci_metrics.yml
|
||||
name: Tests
|
||||
|
||||
on:
|
||||
|
||||
1
.github/workflows/tests_skipper.yml
vendored
1
.github/workflows/tests_skipper.yml
vendored
@ -1,3 +1,4 @@
|
||||
# If you change this name also do it in tests.yml and ci_metrics.yml
|
||||
name: Tests
|
||||
|
||||
on:
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user