2023-09-21 14:05:23 +02:00
|
|
|
steps:
|
2024-06-20 16:39:03 +02:00
|
|
|
test-1:
|
|
|
|
image: alpine
|
|
|
|
commands:
|
|
|
|
- mkdir salt
|
|
|
|
- ls -la
|
2023-09-21 17:08:31 +02:00
|
|
|
|
2024-06-20 16:39:03 +02:00
|
|
|
clone-salt:
|
|
|
|
image: woodpeckerci/plugin-git
|
2023-09-21 17:08:31 +02:00
|
|
|
settings:
|
2024-06-20 16:39:03 +02:00
|
|
|
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
|