Skip to content

Commit 5e04a2f

Browse files
authored
chore: Remove DataDog test reporting (coder#3958)
It was costing a lot of money, and it wasn't being used very much.
1 parent e1afec6 commit 5e04a2f

File tree

2 files changed

+0
-235
lines changed

2 files changed

+0
-235
lines changed

.github/workflows/coder.yaml

Lines changed: 0 additions & 38 deletions
Original file line numberDiff line numberDiff line change
@@ -344,15 +344,6 @@ jobs:
344344
fi
345345
gotestsum --junitfile="gotests.xml" --packages="./..." -- -parallel=8 -timeout=$test_timeout -short -failfast $COVERAGE_FLAGS
346346
347-
- name: Upload DataDog Trace
348-
if: github.actor != 'dependabot[bot]' && !github.event.pull_request.head.repo.fork
349-
env:
350-
DATADOG_API_KEY: ${{ secrets.DATADOG_API_KEY }}
351-
DD_DATABASE: fake
352-
DD_CATEGORY: unit
353-
GIT_COMMIT_MESSAGE: ${{ github.event.head_commit.message }}
354-
run: go run scripts/datadog-cireport/main.go gotests.xml
355-
356347
- uses: codecov/codecov-action@v3
357348
# This action has a tendency to error out unexpectedly, it has
358349
# the `fail_ci_if_error` option that defaults to `false`, but
@@ -414,14 +405,6 @@ jobs:
414405
- name: Test with PostgreSQL Database
415406
run: make test-postgres
416407

417-
- name: Upload DataDog Trace
418-
if: always() && github.actor != 'dependabot[bot]' && !github.event.pull_request.head.repo.fork
419-
env:
420-
DATADOG_API_KEY: ${{ secrets.DATADOG_API_KEY }}
421-
DD_DATABASE: postgresql
422-
GIT_COMMIT_MESSAGE: ${{ github.event.head_commit.message }}
423-
run: go run scripts/datadog-cireport/main.go gotests.xml
424-
425408
- uses: codecov/codecov-action@v3
426409
# This action has a tendency to error out unexpectedly, it has
427410
# the `fail_ci_if_error` option that defaults to `false`, but
@@ -548,11 +531,6 @@ jobs:
548531
restore-keys: |
549532
js-${{ runner.os }}-
550533
551-
# Go is required for uploading the test results to datadog
552-
- uses: actions/setup-go@v3
553-
with:
554-
go-version: "~1.19"
555-
556534
- uses: actions/setup-node@v3
557535
with:
558536
node-version: "14"
@@ -575,14 +553,6 @@ jobs:
575553
files: ./site/coverage/lcov.info
576554
flags: unittest-js
577555

578-
- name: Upload DataDog Trace
579-
if: always() && github.actor != 'dependabot[bot]' && !github.event.pull_request.head.repo.fork
580-
env:
581-
DATADOG_API_KEY: ${{ secrets.DATADOG_API_KEY }}
582-
DD_CATEGORY: unit
583-
GIT_COMMIT_MESSAGE: ${{ github.event.head_commit.message }}
584-
run: go run scripts/datadog-cireport/main.go site/test-results/junit.xml
585-
586556
test-e2e:
587557
name: "test/e2e/${{ matrix.os }}"
588558
needs:
@@ -606,7 +576,6 @@ jobs:
606576
.eslintcache
607577
key: js-${{ runner.os }}-e2e-${{ hashFiles('**/yarn.lock') }}
608578

609-
# Go is required for uploading the test results to datadog
610579
- uses: actions/setup-go@v3
611580
with:
612581
go-version: "~1.19"
@@ -662,13 +631,6 @@ jobs:
662631
path: ./site/test-results/**/*.webm
663632
retention:days: 7
664633

665-
- name: Upload DataDog Trace
666-
if: always() && github.actor != 'dependabot[bot]' && runner.os == 'Linux' && !github.event.pull_request.head.repo.fork
667-
env:
668-
DATADOG_API_KEY: ${{ secrets.DATADOG_API_KEY }}
669-
DD_CATEGORY: e2e
670-
GIT_COMMIT_MESSAGE: ${{ github.event.head_commit.message }}
671-
run: go run scripts/datadog-cireport/main.go site/test-results/junit.xml
672634
chromatic:
673635
# REMARK: this is only used to build storybook and deploy it to Chromatic.
674636
runs-on: ubuntu-latest

scripts/datadog-cireport/main.go

Lines changed: 0 additions & 197 deletions
This file was deleted.

0 commit comments

Comments
 (0)