From d4f6c07fc079b6595b68c4954d7a6a9f49c311e1 Mon Sep 17 00:00:00 2001 From: Joseph Flinn Date: Thu, 31 Dec 2020 16:28:44 +0000 Subject: [PATCH] testing the env vars access --- sign.js | 13 ++++++++----- 1 file changed, 8 insertions(+), 5 deletions(-) diff --git a/sign.js b/sign.js index 410c159253..e43ba814c7 100644 --- a/sign.js +++ b/sign.js @@ -1,12 +1,15 @@ exports.default = async function(configuration) { - console.log(`config:\n${JSON.stringify(configuration, null, 4)}`) + //console.log(`config:\n${JSON.stringify(configuration, null, 4)}`) + console.log(`env test - vault URL: ${process.env.SigningVaultURL}`) require("child_process").execSync( `azuresigntool sign \ - -kvu "${process.env.SigningVaultURL}" \ - -kvi "${process.env.SigningClientId}" \ - -kvs "${process.env.SigningClientSecret}" \ - -kvc "${process.env.SigningCertName}" \ + -kvu ${process.env.SigningVaultURL} \ + -kvi ${process.env.SigningClientId} \ + -kvs ${process.env.SigningClientSecret} \ + -kvc ${process.env.SigningCertName} \ + -fd ${configuration.hash} + -du ${configuration.site} -tr http://timestamp.digicert.com \ ${configuration.path}`, {