Compare commits
1 commit
f68aa298c6
...
014027c195
Author | SHA1 | Date | |
---|---|---|---|
014027c195 |
1 changed files with 23 additions and 0 deletions
23
.woodpecker.yaml
Normal file
23
.woodpecker.yaml
Normal file
|
@ -0,0 +1,23 @@
|
||||||
|
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
|
Loading…
Add table
Reference in a new issue