Skip to content

Commit bed9326

Browse files
Clean up old CI reports (#8753)
* fix(ci): Clean up old reports * fix(ci): Stop reporting test result to staging Test results are now reported to production
1 parent bdab655 commit bed9326

File tree

4 files changed

+0
-51
lines changed

4 files changed

+0
-51
lines changed

.circleci/upload_ciapp.sh

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -33,10 +33,5 @@ junit_upload() {
3333
./results
3434
}
3535

36-
# Make sure we do not use DATADOG_API_KEY from the environment
37-
unset DATADOG_API_KEY
38-
3936
# Upload test results to production environment like all other CI jobs
4037
junit_upload "$DATADOG_API_KEY_PROD"
41-
# And also upload to staging environment to benefit from the new features not yet released
42-
junit_upload "$DATADOG_API_KEY_DDSTAGING"

.github/workflows/README.md

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -110,7 +110,6 @@ _Trigger:_ When pushing commits to `master` or any pull request targeting `maste
110110

111111
_Action:_
112112

113-
* Run [DataDog Static Analysis](https://docs.datadoghq.com/static_analysis/) and upload result to DataDog Code Analysis,
114113
* Run [GitHub CodeQL](https://codeql.github.com/) action, upload result to GitHub security tab -- do not apply to pull request, only when pushing to `master`,
115114
* Run [Trivy security scanner](https://github.com/aquasecurity/trivy) on built artifacts and upload result to GitHub security tab and Datadog Code Analysis.
116115

.github/workflows/analyze-changes.yaml

Lines changed: 0 additions & 44 deletions
Original file line numberDiff line numberDiff line change
@@ -13,25 +13,6 @@ concurrency:
1313
cancel-in-progress: true
1414

1515
jobs:
16-
datadog-static-analyzer:
17-
name: Analyze changes with DataDog Static Analyzer
18-
runs-on: ubuntu-latest
19-
steps:
20-
- name: Checkout repository
21-
uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # 4.2.2
22-
with:
23-
submodules: 'recursive'
24-
# Run the static analysis on the staging environment to benefit from the new features not yet released
25-
- name: Check code meets quality standards (staging)
26-
id: datadog-static-analysis-staging
27-
uses: DataDog/datadog-static-analyzer-github-action@2707598b1182dce1d1792186477b5b4132338e1c # v1
28-
with:
29-
dd_app_key: ${{ secrets.DATADOG_APP_KEY_STAGING }}
30-
dd_api_key: ${{ secrets.DATADOG_API_KEY_STAGING }}
31-
dd_site: "datad0g.com"
32-
cpu_count: 2
33-
enable_performance_statistics: false
34-
3516
codeql:
3617
name: Analyze changes with GitHub CodeQL
3718
# Don’t run on PR, only when pushing to master
@@ -78,24 +59,6 @@ jobs:
7859
- name: Perform CodeQL Analysis and upload results to GitHub Security tab
7960
uses: github/codeql-action/analyze@1b549b9259bda1cb5ddde3b41741a82a2d15a841 # v3.28.13
8061

81-
# For now, CodeQL SARIF results are not supported by Datadog CI
82-
# - name: Upload results to Datadog CI Static Analysis
83-
# run: |
84-
# wget --no-verbose https://github.com/DataDog/datadog-ci/releases/latest/download/datadog-ci_linux-x64 -O datadog-ci
85-
# chmod +x datadog-ci
86-
# ./datadog-ci sarif upload /home/runner/work/dd-trace-java/results/java.sarif --service dd-trace-java --env ci
87-
# env:
88-
# DD_API_KEY: ${{ secrets.DATADOG_APP_KEY_PROD }}
89-
# DD_SITE: datadoghq.com
90-
91-
# For now, CodeQL SARIF results are not supported by Datadog CI
92-
# - name: Upload results to Datadog Staging CI Static Analysis
93-
# run: |
94-
# ./datadog-ci sarif upload /home/runner/work/dd-trace-java/results/java.sarif --service dd-trace-java --env ci
95-
# env:
96-
# DD_API_KEY: ${{ secrets.DATADOG_API_KEY_STAGING }}
97-
# DD_SITE: datad0g.com
98-
9962
trivy:
10063
name: Analyze changes with Trivy
10164
runs-on: ubuntu-latest
@@ -170,10 +133,3 @@ jobs:
170133
env:
171134
DD_API_KEY: ${{ secrets.DATADOG_API_KEY_PROD }}
172135
DD_SITE: datadoghq.com
173-
174-
- name: Upload results to Datadog Staging CI Static Analysis
175-
run: |
176-
./datadog-ci sarif upload trivy-results.sarif --service dd-trace-java --env ci
177-
env:
178-
DD_API_KEY: ${{ secrets.DATADOG_API_KEY_STAGING }}
179-
DD_SITE: datad0g.com

.gitlab-ci.yml

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -42,7 +42,6 @@ default:
4242

4343
.set_datadog_api_keys: &set_datadog_api_keys
4444
- export DATADOG_API_KEY_PROD=$(aws ssm get-parameter --region us-east-1 --name ci.dd-trace-java.DATADOG_API_KEY_PROD --with-decryption --query "Parameter.Value" --out text)
45-
- export DATADOG_API_KEY_DDSTAGING=$(aws ssm get-parameter --region us-east-1 --name ci.dd-trace-java.dd_api_key --with-decryption --query "Parameter.Value" --out text)
4645

4746
# CI_NODE_INDEX and CI_NODE_TOTAL are 1-indexed and not always set. These steps normalize the numbers for jobs
4847
.normalize_node_index: &normalize_node_index

0 commit comments

Comments
 (0)