Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

test(ci): update datadog-ci #5714

Merged
merged 1 commit into from
Aug 16, 2023
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
8 changes: 2 additions & 6 deletions .github/workflows/nextjs-integration-test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -215,19 +215,15 @@ jobs:
- name: Download test reports artifact
id: download-test-reports
uses: actions/download-artifact@v3
continue-on-error: true
with:
name: Test trace reports
path: test
- name: Upload test trace to datadog
continue-on-error: true
run: |
npm install -g [email protected] @datadog/datadog-ci @aws-sdk/property-provider
jrm ./nextjs-test-result-junit.xml "test/**/*.xml"
npm install -g @datadog/[email protected]
ls -al ./test/*.xml
ls -al ./*.xml
# We'll tag this to the Turbopack service, not the next.js
DD_ENV=ci datadog-ci junit upload --tags test.type:turbopack.daily --service Turbopack ./nextjs-test-result-junit.xml
DD_ENV=ci datadog-ci junit upload --tags test.type:turbopack.daily --service Turbopack test
# For the debugging purpose, upload the test trace to github artifact.
# So we can manually analyze test reports.
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -1048,7 +1048,7 @@ jobs:
env:
DATADOG_API_KEY: ${{ secrets.DD_KEY_TURBOPACK }}
run: |
npm install -g @datadog/datadog-ci @aws-sdk/property-provider
npm install -g @datadog/datadog-ci@2.18.1
# Query raw benchmark output, create key:value pairs for each benchmark entries.
# The generated key name is compact format the path of the benchmark entry, i.e
# `base.hmr_to_commit.CSR.1000.mean`
Expand Down Expand Up @@ -1407,7 +1407,7 @@ jobs:
node-version: 18

- name: Install datadog
run: npm install -g @datadog/datadog-ci
run: npm install -g @datadog/datadog-ci@2.18.1

- name: Download test results
uses: actions/download-artifact@v3
Expand Down