Change azure blob storage (#117)
This commit is contained in:
parent
b411777f47
commit
b0f5818a59
1 changed files with 4 additions and 3 deletions
|
@ -9,7 +9,8 @@ pr: none
|
||||||
|
|
||||||
variables:
|
variables:
|
||||||
rConnection: 'mc-java-sc'
|
rConnection: 'mc-java-sc'
|
||||||
storageAccount: 'pistonprod'
|
storageAccount: 'librariesminecraftnet'
|
||||||
|
storageAccountContainer: 'librariesminecraftnet'
|
||||||
keyVault: 'mc-java-vault'
|
keyVault: 'mc-java-vault'
|
||||||
|
|
||||||
jobs:
|
jobs:
|
||||||
|
@ -73,7 +74,7 @@ jobs:
|
||||||
inputs:
|
inputs:
|
||||||
azureSubscription: '$(rConnection)'
|
azureSubscription: '$(rConnection)'
|
||||||
KeyVaultName: '$(keyVault)'
|
KeyVaultName: '$(keyVault)'
|
||||||
SecretsFilter: 'aws-access-key-id, aws-secret-access-key, pistonprod-access-key'
|
SecretsFilter: 'aws-access-key-id, aws-secret-access-key, access-key-prod-librariesminecraftnet'
|
||||||
RunAsPreJob: false
|
RunAsPreJob: false
|
||||||
|
|
||||||
- task: S3Upload@1
|
- task: S3Upload@1
|
||||||
|
@ -92,4 +93,4 @@ jobs:
|
||||||
scriptType: 'bash'
|
scriptType: 'bash'
|
||||||
scriptLocation: 'inlineScript'
|
scriptLocation: 'inlineScript'
|
||||||
inlineScript: |
|
inlineScript: |
|
||||||
az storage blob upload-batch -s '$(Pipeline.Workspace)/repo' -d libraries --account-name $(storageAccount) --account-key $(pistonprod-access-key)
|
az storage blob upload-batch -s '$(Pipeline.Workspace)/repo' -d $(storageAccountContainer) --account-name $(storageAccount) --account-key $(access-key-prod-librariesminecraftnet)
|
||||||
|
|
Loading…
Reference in a new issue