File tree Expand file tree Collapse file tree 2 files changed +5
-12
lines changed Expand file tree Collapse file tree 2 files changed +5
-12
lines changed Original file line number Diff line number Diff line change 4
4
# SILK_CLIENT_ID
5
5
# SILK_CLIENT_SECRET
6
6
7
- cat << EOF > silkbomb.env
8
- SILK_CLIENT_ID=${SILK_CLIENT_ID}
9
- SILK_CLIENT_SECRET=${SILK_CLIENT_SECRET}
10
- EOF
11
-
12
7
declare -r SSDLC_PATH=" ./artifacts/ssdlc"
13
8
mkdir -p " ${SSDLC_PATH} "
14
9
15
10
echo " Downloading augmented sbom from silk"
16
11
17
12
docker run --platform=" linux/amd64" --rm -v ${PWD} :/pwd \
18
- --env-file silkbomb.env \
13
+ -e SILK_CLIENT_ID \
14
+ -e SILK_CLIENT_SECRET \
19
15
artifactory.corp.mongodb.com/release-tools-container-registry-public-local/silkbomb:1.0 \
20
16
download --silk-asset-group mongodb-dotnet-csharp-driver --sbom-out /pwd/${SSDLC_PATH} /augmented-sbom.json
Original file line number Diff line number Diff line change @@ -247,9 +247,6 @@ functions:
247
247
script : |
248
248
${PREPARE_SHELL}
249
249
./evergreen/download-augmented-sbom.sh
250
- - command : ec2.assume_role
251
- params :
252
- role_arn : ${UPLOAD_SSDLC_RELEASE_ASSETS_ROLE_ARN}
253
250
- command : s3.put
254
251
params :
255
252
aws_key : ${AWS_ACCESS_KEY_ID}
@@ -273,9 +270,6 @@ functions:
273
270
script : |
274
271
${PREPARE_SHELL}
275
272
./evergreen/generate-ssdlc-report.sh
276
- - command : ec2.assume_role
277
- params :
278
- role_arn : ${UPLOAD_SSDLC_RELEASE_ASSETS_ROLE_ARN}
279
273
- command : s3.put
280
274
params :
281
275
aws_key : ${AWS_ACCESS_KEY_ID}
@@ -1888,6 +1882,9 @@ tasks:
1888
1882
1889
1883
- name : generate-ssdlc-reports
1890
1884
commands :
1885
+ - command : ec2.assume_role
1886
+ params :
1887
+ role_arn : ${UPLOAD_SSDLC_RELEASE_ASSETS_ROLE_ARN}
1891
1888
- func : download-packages
1892
1889
- func : trace-artifacts
1893
1890
- func : download-and-promote-augmented-sbom-to-s3-bucket
You can’t perform that action at this time.
0 commit comments