fix(azcopy)

error message changed

closes #5041
This commit is contained in:
Jacob Heider 2024-01-29 15:24:59 -05:00
parent ef227ec58b
commit 30c75976a3
No known key found for this signature in database
GPG key ID: 51E3FD0EE62677B6

View file

@ -8,8 +8,7 @@ versions:
build: build:
dependencies: dependencies:
go.dev: '>=1.19' go.dev: '>=1.19'
script: script: go build $ARGS -ldflags="$LDFLAGS"
go build $ARGS -ldflags="$LDFLAGS"
env: env:
ARGS: ARGS:
- -trimpath - -trimpath
@ -26,5 +25,9 @@ provides:
test: test:
- azcopy --version | grep {{version}} - azcopy --version | grep {{version}}
- azcopy list https://storageaccountname.blob.core.windows.net/containername/ || true
- azcopy list https://storageaccountname.blob.core.windows.net/containername/ > output.txt || true - azcopy list https://storageaccountname.blob.core.windows.net/containername/ > output.txt || true
- cat output.txt | grep 'Login Credentials missing' - run: cat output.txt | grep 'Login Credentials missing'
if: '<10.23'
- run: cat output.txt | grep 'This request is not authorized to perform this operation'
if: '>=10.23'