diff --git a/.woodpecker/.test.yaml b/.woodpecker/.test.yaml index c0123d7..fd69a72 100644 --- a/.woodpecker/.test.yaml +++ b/.woodpecker/.test.yaml @@ -19,19 +19,19 @@ steps: ref: refs/heads/master branch: master - debug: + await-image: image: alpine environment: - test: *image + IMAGE: *image commands: - - echo pulling $test + - echo -${CI_COMMIT_SHA}- - 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: image: *image depends_on: - - debug + - await-image - salt clone environment: - SKIP=no-commit-to-branch # Ignore "don't commit to protected branch" check