mirror of
https://github.com/bitwarden/desktop.git
synced 2024-11-30 12:54:31 +01:00
debugging env vars and secrets
This commit is contained in:
parent
b0878fd660
commit
0efb677009
@ -12,6 +12,25 @@ variables:
|
|||||||
- group: build-sign-test
|
- group: build-sign-test
|
||||||
|
|
||||||
steps:
|
steps:
|
||||||
|
- pwsh: |
|
||||||
|
Write-Host "------------------------"
|
||||||
|
Write-Host "secret test - $env:SECRET_TEST"
|
||||||
|
Write-Host "SIGNING_CERT_NAME - $env:SIGNING_CERT_NAME"
|
||||||
|
Write-Host "------------------------"
|
||||||
|
displayName: 'Var & Secret Testing'
|
||||||
|
env:
|
||||||
|
CSC_LINK: $(ebSigningCertIdentifierURL)
|
||||||
|
CSC_KEY_PASSWORD: $(ebSigningCertKey)
|
||||||
|
SIGNING_VAULT_URL: $(SigningVaultURL)
|
||||||
|
SIGNING_CLIENT_ID: $(SigningClientId)
|
||||||
|
SIGNING_TENTANT_ID: $(SigningTenantId)
|
||||||
|
SIGNING_CLIENT_SECRET: $(SigningClientSecret)
|
||||||
|
SIGNING_CERT_NAME: $(SigningCertName)
|
||||||
|
SECRET_TEST: $(secretTest)
|
||||||
|
|
||||||
|
- script: exit 1
|
||||||
|
displayName: Stop Pipeline
|
||||||
|
|
||||||
- task: NodeTool@0
|
- task: NodeTool@0
|
||||||
inputs:
|
inputs:
|
||||||
versionSpec: '10.x'
|
versionSpec: '10.x'
|
||||||
@ -70,7 +89,8 @@ steps:
|
|||||||
# This task is not working...
|
# This task is not working...
|
||||||
- pwsh: |
|
- pwsh: |
|
||||||
Write-Host "------------------------"
|
Write-Host "------------------------"
|
||||||
Write-Host "az pipeline secret test - $SECRET_TEST"
|
Write-Host "az pipeline secret test - $env:SECRET_TEST"
|
||||||
|
Write-Host "az pipeline var test - $env:SIGNING_CERT_NAME"
|
||||||
Write-Host "------------------------"
|
Write-Host "------------------------"
|
||||||
npx electron-builder --win --x64 --ia32 -p never -c.win.certificateSubjectName=\"Bitwarden Inc\"
|
npx electron-builder --win --x64 --ia32 -p never -c.win.certificateSubjectName=\"Bitwarden Inc\"
|
||||||
displayName: 'electron-builder build & sign'
|
displayName: 'electron-builder build & sign'
|
||||||
|
Loading…
Reference in New Issue
Block a user