container-pre-commit/.woodpecker.yaml
Henrik Hüttemann 014027c195
All checks were successful
ci/woodpecker/push/woodpecker Pipeline was successful
WIP
2024-06-20 16:58:39 +02:00

23 lines
548 B
YAML

steps:
test-1:
image: alpine
commands:
- mkdir salt
- ls -la
clone-salt:
image: woodpeckerci/plugin-git
settings:
remote: https://git.verdigado.com/verdigado-Privileged/Salt.git
path: salt
sha: ''
ref: refs/heads/master
branch: master
test-2:
image: git.verdigado.com/verdigado-images/container-pre-commit:latest
environment:
- SKIP=no-commit-to-branch # Ignore "don't commit to protected branch" check
commands:
- cd salt
- pre-commit run --all-files