Compare commits
1 commit
9c4b1bf307
...
800445ebbb
Author | SHA1 | Date | |
---|---|---|---|
800445ebbb |
1 changed files with 5 additions and 5 deletions
|
@ -19,19 +19,19 @@ steps:
|
||||||
ref: refs/heads/master
|
ref: refs/heads/master
|
||||||
branch: master
|
branch: master
|
||||||
|
|
||||||
debug:
|
await-image:
|
||||||
image: alpine
|
image: alpine
|
||||||
environment:
|
environment:
|
||||||
test: *image
|
IMAGE: *image
|
||||||
commands:
|
commands:
|
||||||
- echo pulling $test
|
- echo -${CI_COMMIT_SHA}-
|
||||||
- apk add --update --no-cache img
|
- apk add --update --no-cache img
|
||||||
- "while ! img pull $test 2>&1 | grep 'Error: failed to unmount' ; do echo lol; sleep 3; done"
|
- 'while ! img pull $IMAGE 2>&1 | grep "Error: failed to unmount" ; do echo "Awaiting image $IMAGE..."; sleep 3; done'
|
||||||
|
|
||||||
salt pre-commit:
|
salt pre-commit:
|
||||||
image: *image
|
image: *image
|
||||||
depends_on:
|
depends_on:
|
||||||
- debug
|
- await-image
|
||||||
- salt clone
|
- salt clone
|
||||||
environment:
|
environment:
|
||||||
- SKIP=no-commit-to-branch # Ignore "don't commit to protected branch" check
|
- SKIP=no-commit-to-branch # Ignore "don't commit to protected branch" check
|
||||||
|
|
Loading…
Add table
Reference in a new issue