Change azure blob storage (#117)

This commit is contained in:
Benny 2022-10-26 16:59:13 +02:00 committed by GitHub
parent b411777f47
commit b0f5818a59
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -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)