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@sha256:0a4eaa0eecf5f8c050e5bba433f58c052be7587ee8af3e8b3910ef9ab5fbe9f5 environment: IMAGE: *image commands: - 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' - echo 'found.' clone salt: image: woodpeckerci/plugin-git@sha256:a878e6f9674d44c0dc43dcb6d8b916507b21176ab44fac70567af96cb80de602 settings: remote: https://git.verdigado.com/verdigado-Privileged/Salt.git path: salt sha: '' ref: refs/heads/master branch: master pre-commit salt: image: *image depends_on: - await-image - clone salt environment: - SKIP=no-commit-to-branch # Ignore "don't commit to protected branch" check commands: - cd salt - pre-commit run --all-files clone rocketchat2matrix: image: woodpeckerci/plugin-git@sha256:a878e6f9674d44c0dc43dcb6d8b916507b21176ab44fac70567af96cb80de602 settings: remote: https://git.verdigado.com/NB-Public/rocketchat2matrix.git path: rocketchat2matrix sha: '' ref: refs/heads/main branch: master pre-commit rocketchat2matrix: image: *image depends_on: - await-image - clone rocketchat2matrix environment: - SKIP=no-commit-to-branch # Ignore "don't commit to protected branch" check commands: - cd rocketchat2matrix - pre-commit run --all-files