File tree Expand file tree Collapse file tree 1 file changed +6
-6
lines changed Expand file tree Collapse file tree 1 file changed +6
-6
lines changed Original file line number Diff line number Diff line change @@ -14,29 +14,30 @@ echo "Decrypt signing secrets"
1414gcloud kms decrypt \
1515 --project=commercetools-platform \
1616 --location=global \
17- --keyring=teamcity \
18- --key=jvm -sdk \
17+ --keyring=devtooling \
18+ --key=java -sdk-v2 \
1919 --ciphertext-file=signing_key.enc \
2020 --plaintext-file=signing_key.asc
2121
2222gcloud kms decrypt \
2323 --project=commercetools-platform \
2424 --location=global \
25- --keyring=teamcity \
26- --key=jvm -sdk \
25+ --keyring=devtooling \
26+ --key=java -sdk-v2 \
2727 --ciphertext-file=signing_passphrase.enc \
2828 --plaintext-file=signing_passphrase.txt
2929
3030# Import the GPG key
3131set +e
3232echo " Importing the signing key"
3333gpg --import --no-tty --batch --yes signing_key.asc
34+ echo " - done"
3435set -e
3536
3637# List available GPG keys
3738gpg -K
3839
39- KEYNAME=` gpg --with-colons --keyid-format long --list-keys automation @commercetools.de | grep fpr | cut -d ' :' -f 10`
40+ KEYNAME=` gpg --with-colons --keyid-format long --list-keys devtooling @commercetools.com | grep fpr | cut -d ' :' -f 10`
4041
4142mkdir -p ~ /.gradle
4243touch ~ /.gradle/gradle.properties
@@ -46,4 +47,3 @@ echo "signing.gnupg.keyName=$KEYNAME" >> ~/.gradle/gradle.properties
4647echo " signing.gnupg.passphrase=$( < signing_passphrase.txt) " >> ~ /.gradle/gradle.properties
4748
4849rm -rf signing_passphrase.txt signing_passphrase.enc signing_key.enc decrypter.json signing_key.asc
49-
You can’t perform that action at this time.
0 commit comments