container-pre-commit/.woodpecker/.test.yaml
Henrik Hüttemann 49d682d72c
Some checks failed
ci/woodpecker/pr/build Pipeline was successful
ci/woodpecker/pr/test Pipeline failed
ci/woodpecker/push/test Pipeline failed
ci/woodpecker/push/build Pipeline was successful
WIP
2024-06-20 17:18:22 +02:00

20 lines
523 B
YAML

steps:
test-salt-clone:
image: woodpeckerci/plugin-git
settings:
remote: https://git.verdigado.com/verdigado-Privileged/Salt.git
path: salt
sha: ''
ref: refs/heads/master
branch: master
test-salt-pre-commit:
image: git.verdigado.com/verdigado-images/container-pre-commit:${CI_COMMIT_SHA}
environment:
- SKIP=no-commit-to-branch # Ignore "don't commit to protected branch" check
commands:
- cd salt
- pre-commit run --all-files
depends_on:
- build