Skip to content

Commit

Permalink
akv pipeline
Browse files Browse the repository at this point in the history
  • Loading branch information
sasorrentino committed Jul 18, 2022
1 parent e174aaf commit 3326d71
Showing 1 changed file with 41 additions and 0 deletions.
41 changes: 41 additions & 0 deletions .devops/nodo-AzureKeyVault-sit.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,41 @@
trigger: none

pool:
vmImage: ubuntu-latest


parameters:
- name: env
displayName: Environment
type: string
values:
- dev
- sit

#variables:




steps:
- task: AzureKeyVault@2
inputs:
azureSubscription: 'DDS - Test Environment'
KeyVaultName: 'KMN-nodo-sit'
SecretsFilter: '*'
RunAsPreJob: false

- task: CmdLine@2
inputs:
script: 'echo $(Your-Secret-Name) > secret.txt'

- task: CopyFiles@2
inputs:
Contents: secret.txt
targetFolder: '$(Build.ArtifactStagingDirectory)'

- task: PublishBuildArtifacts@1
inputs:
PathtoPublish: '$(Build.ArtifactStagingDirectory)'
ArtifactName: 'drop'
publishLocation: 'Container'

0 comments on commit 3326d71

Please sign in to comment.