mirror of
https://github.com/ivabus/pantry
synced 2024-11-22 08:25:07 +03:00
parent
ef227ec58b
commit
30c75976a3
1 changed files with 6 additions and 3 deletions
|
@ -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'
|
||||||
|
|
Loading…
Reference in a new issue