mirror of
https://github.com/bitwarden/desktop.git
synced 2024-11-30 12:54:31 +01:00
testing secret in process.env
This commit is contained in:
parent
d4f6c07fc0
commit
9581af66a1
@ -9,7 +9,7 @@ pool:
|
|||||||
vmImage: 'windows-latest'
|
vmImage: 'windows-latest'
|
||||||
|
|
||||||
variables:
|
variables:
|
||||||
- group: code-signing-test
|
- group: build-sign-test
|
||||||
|
|
||||||
steps:
|
steps:
|
||||||
- task: NodeTool@0
|
- task: NodeTool@0
|
||||||
|
12
sign.js
12
sign.js
@ -1,17 +1,9 @@
|
|||||||
exports.default = async function(configuration) {
|
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}`)
|
console.log(`env test - secret test ${process.env.secretTest}`)
|
||||||
|
|
||||||
require("child_process").execSync(
|
require("child_process").execSync(
|
||||||
`azuresigntool sign \
|
`azuresigntool sign -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}`,
|
||||||
-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}`,
|
|
||||||
{
|
{
|
||||||
stdio: "inherit"
|
stdio: "inherit"
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user