File tree Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -18,8 +18,8 @@ trap_handler() {
1818}
1919trap trap_handler ERR EXIT
2020
21- scp -i " $SIGNING_SERVER_PRIVATE_KEY_CYGPATH " -P " $SIGNING_SERVER_PORT " .sbom/dependencies.json /tmp/silkbomb.env /tmp/artifactory_password " $SIGNING_SERVER_USERNAME " @" $SIGNING_SERVER_HOSTNAME " :/tmp/
22- ssh -i " $SIGNING_SERVER_PRIVATE_KEY_CYGPATH " -p " $SIGNING_SERVER_PORT " " $SIGNING_SERVER_USERNAME " @" $SIGNING_SERVER_HOSTNAME " \
21+ scp -v - i " $SIGNING_SERVER_PRIVATE_KEY_CYGPATH " -P " $SIGNING_SERVER_PORT " .sbom/dependencies.json /tmp/silkbomb.env /tmp/artifactory_password " $SIGNING_SERVER_USERNAME " @" $SIGNING_SERVER_HOSTNAME " :/tmp/
22+ ssh -v - i " $SIGNING_SERVER_PRIVATE_KEY_CYGPATH " -p " $SIGNING_SERVER_PORT " " $SIGNING_SERVER_USERNAME " @" $SIGNING_SERVER_HOSTNAME " \
2323 " (cat /tmp/dependencies.json | jq -r '.[] | " ' "pkg:npm/" + .name + "@" + .version' " ' > /tmp/purls.txt) && \
2424 echo " pkg:generic/mongo_crypt_shared@${CRYPT_SHARED_VERSION} " >> /tmp/purls.txt && \
2525 (cat /tmp/artifactory_password | docker login artifactory.corp.mongodb.com --username '${ARTIFACTORY_USERNAME} ' --password-stdin ; rm -f /tmp/artifactor_password ) && \
@@ -30,4 +30,4 @@ ssh -i "$SIGNING_SERVER_PRIVATE_KEY_CYGPATH" -p "$SIGNING_SERVER_PORT" "$SIGNING
3030 --silk-asset-group " ${SILK_ASSET_GROUP} " --sbom-in /tmp/sbom-lite.json && \
3131 docker run --env-file /tmp/silkbomb.env --rm -v /tmp:/tmp artifactory.corp.mongodb.com/release-tools-container-registry-public-local/silkbomb:1.0 download \
3232 --silk-asset-group " ${SILK_ASSET_GROUP} " --sbom-out /tmp/sbom.json"
33- scp -i " $SIGNING_SERVER_PRIVATE_KEY_CYGPATH " -P " $SIGNING_SERVER_PORT " " $SIGNING_SERVER_USERNAME " @" $SIGNING_SERVER_HOSTNAME " :/tmp/{sbom-lite.json,sbom.json,purls.txt} .sbom/
33+ scp -v - i " $SIGNING_SERVER_PRIVATE_KEY_CYGPATH " -P " $SIGNING_SERVER_PORT " " $SIGNING_SERVER_USERNAME " @" $SIGNING_SERVER_HOSTNAME " :/tmp/{sbom-lite.json,sbom.json,purls.txt} .sbom/
You can’t perform that action at this time.
0 commit comments