mirror of
https://github.com/ivabus/pantry
synced 2024-11-10 02:25:18 +03:00
parent
ef227ec58b
commit
30c75976a3
|
@ -8,8 +8,7 @@ versions:
|
|||
build:
|
||||
dependencies:
|
||||
go.dev: '>=1.19'
|
||||
script:
|
||||
go build $ARGS -ldflags="$LDFLAGS"
|
||||
script: go build $ARGS -ldflags="$LDFLAGS"
|
||||
env:
|
||||
ARGS:
|
||||
- -trimpath
|
||||
|
@ -26,5 +25,9 @@ provides:
|
|||
|
||||
test:
|
||||
- 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
|
||||
- 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'
|
||||
|
|
Loading…
Reference in a new issue