Skip to content

Commit

Permalink
chore: try to debug "generate-vulnerability-report" flakes (#4958)
Browse files Browse the repository at this point in the history
chore: try to debug generate vulnerability task
  • Loading branch information
mcasimir authored Oct 9, 2023
1 parent 8806179 commit c27cf54
Show file tree
Hide file tree
Showing 2 changed files with 28 additions and 49 deletions.
56 changes: 28 additions & 28 deletions .evergreen/functions.yml
Original file line number Diff line number Diff line change
Expand Up @@ -93,6 +93,34 @@ post:
- src/.evergreen/logs/*
remote_file: ${project}/${revision}_${revision_order_id}/${build_variant}/${task_name}
content_type: text/plain
- command: s3.put
params:
<<: *save-artifact-params-private
local_file: src/.sbom/dependencies.json
remote_file: ${project}/${revision}_${revision_order_id}/dependencies.json
content_type: application/json
optional: true
- command: s3.put
params:
<<: *save-artifact-params-private
local_file: src/.sbom/snyk-test-result.json
remote_file: ${project}/${revision}_${revision_order_id}/snyk-test-result.json
content_type: application/json
optional: true
- command: s3.put
params:
<<: *save-artifact-params-private
local_file: src/.sbom/snyk-test-result.html
remote_file: ${project}/${revision}_${revision_order_id}/snyk-test-result.html
content_type: text/html
optional: true
- command: s3.put
params:
<<: *save-artifact-params-private
local_file: src/.sbom/vulnerability-report.md
remote_file: ${project}/${revision}_${revision_order_id}/vulnerability-report.md
content_type: text/markdown
optional: true
- command: attach.results
params:
file_location: src/packages/compass-e2e-tests/.log/report.json
Expand Down Expand Up @@ -614,31 +642,3 @@ functions:
if [[ "$EVERGREEN_IS_PATCH" != "true" ]]; then
exit $return_code
fi
- command: s3.put
params:
<<: *save-artifact-params-private
local_file: src/.sbom/dependencies.json
remote_file: ${project}/${revision}_${revision_order_id}/dependencies.json
content_type: application/json
optional: true
- command: s3.put
params:
<<: *save-artifact-params-private
local_file: src/.sbom/snyk-test-result.json
remote_file: ${project}/${revision}_${revision_order_id}/snyk-test-result.json
content_type: application/json
optional: true
- command: s3.put
params:
<<: *save-artifact-params-private
local_file: src/.sbom/snyk-test-result.html
remote_file: ${project}/${revision}_${revision_order_id}/snyk-test-result.html
content_type: text/html
optional: true
- command: s3.put
params:
<<: *save-artifact-params-private
local_file: src/.sbom/vulnerability-report.md
remote_file: ${project}/${revision}_${revision_order_id}/vulnerability-report.md
content_type: text/markdown
optional: true
21 changes: 0 additions & 21 deletions scripts/generate-snyk-reports.sh

This file was deleted.

0 comments on commit c27cf54

Please sign in to comment.