Compare commits
1 commit
6b432ba2d5
...
54e5a7c358
Author | SHA1 | Date | |
---|---|---|---|
54e5a7c358 |
1 changed files with 7 additions and 3 deletions
|
@ -1,19 +1,23 @@
|
|||
skip_clone: true
|
||||
|
||||
when:
|
||||
- event: push
|
||||
|
||||
depends_on:
|
||||
- build
|
||||
|
||||
variables:
|
||||
- &image 'git.verdigado.com/verdigado-images/container-pre-commit:${CI_COMMIT_SHA}'
|
||||
|
||||
steps:
|
||||
await-image:
|
||||
image: alpine
|
||||
environment:
|
||||
IMAGE: *image
|
||||
commands:
|
||||
- 'echo -${CI_COMMIT_SHA}-'
|
||||
- echo -${CI_COMMIT_SHA}-
|
||||
- apk add --update --no-cache img
|
||||
- 'while !(( img pull $IMAGE 2>&1 | grep -q "Error: failed to unmount" )) ; do echo "Awaiting image $IMAGE..."; sleep 3; done'
|
||||
- 'while !(( img pull $IMAGE 2>&1 | grep --quiet "Error: failed to unmount" )) ; do echo "Awaiting image $IMAGE..."; sleep 3; done'
|
||||
- echo 'found.'
|
||||
|
||||
salt clone:
|
||||
|
@ -42,7 +46,7 @@ steps:
|
|||
remote: https://git.verdigado.com/NB-Public/rocketchat2matrix.git
|
||||
path: rocketchat2matrix
|
||||
sha: ''
|
||||
ref: refs/heads/main
|
||||
ref: refs/heads/master
|
||||
branch: master
|
||||
|
||||
rocketchat2matrix pre-commit:
|
||||
|
|
Loading…
Add table
Reference in a new issue