Skip to content

Commit a634785

Browse files
authored
DEVPROD-13324: template authenticode key name (#87)
This commit templates our authenticode key name in preparation for the authenticode 2021 deprecation. The variable will be added to our Evergreen project as mongo-authenticode-2024.
1 parent 7c3cc17 commit a634785

File tree

2 files changed

+3
-2
lines changed

2 files changed

+3
-2
lines changed

evergreen/evergreen.yml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -151,6 +151,7 @@ functions:
151151
ARTIFACTORY_USERNAME: ${ARTIFACTORY_USERNAME}
152152
GRS_USERNAME: ${GRS_USERNAME}
153153
GRS_PASSWORD: ${GRS_PASSWORD}
154+
AUTHENTICODE_KEY_NAME: ${AUTHENTICODE_KEY_NAME}
154155
PACKAGE_VERSION: ${PACKAGE_VERSION}
155156
script: |
156157
${PREPARE_SHELL}
@@ -427,4 +428,4 @@ buildvariants:
427428
display_name: "Packages Push (MyGet)"
428429
tags: ["push-packages-myget"]
429430
tasks:
430-
- name: push-packages-myget
431+
- name: push-packages-myget

evergreen/run-pack.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -27,4 +27,4 @@ echo "GRS_CONFIG_USER1_PASSWORD=${GRS_PASSWORD}" >> "signing-envfile"
2727

2828
docker run --platform="linux/amd64" --env-file=signing-envfile --rm -v $(pwd):/workdir -w /workdir \
2929
artifactory.corp.mongodb.com/release-tools-container-registry-local/garasign-jsign \
30-
/bin/bash -c "jsign --tsaurl "http://timestamp.digicert.com" -a mongo-authenticode-2021 "./artifacts/nuget/*.$PACKAGE_VERSION.nupkg""
30+
/bin/bash -c "jsign --tsaurl "http://timestamp.digicert.com" -a ${AUTHENTICODE_KEY_NAME} "./artifacts/nuget/*.$PACKAGE_VERSION.nupkg""

0 commit comments

Comments
 (0)