Compare commits
1 commit
1ceb37cd93
...
9d7d13d3d6
Author | SHA1 | Date | |
---|---|---|---|
9d7d13d3d6 |
1 changed files with 16 additions and 16 deletions
|
@ -4,20 +4,20 @@ when:
|
||||||
- event: push
|
- event: push
|
||||||
|
|
||||||
depends_on:
|
depends_on:
|
||||||
- sleep
|
- build
|
||||||
|
|
||||||
variables:
|
variables:
|
||||||
- &image 'git.verdigado.com/verdigado-images/container-pre-commit:${CI_COMMIT_SHA}'
|
- &image 'git.verdigado.com/verdigado-images/container-pre-commit:${CI_COMMIT_SHA}'
|
||||||
|
|
||||||
steps:
|
steps:
|
||||||
salt clone:
|
# salt clone:
|
||||||
image: woodpeckerci/plugin-git
|
# image: woodpeckerci/plugin-git
|
||||||
settings:
|
# settings:
|
||||||
remote: https://git.verdigado.com/verdigado-Privileged/Salt.git
|
# remote: https://git.verdigado.com/verdigado-Privileged/Salt.git
|
||||||
path: salt
|
# path: salt
|
||||||
sha: ''
|
# sha: ''
|
||||||
ref: refs/heads/master
|
# ref: refs/heads/master
|
||||||
branch: master
|
# branch: master
|
||||||
|
|
||||||
debug:
|
debug:
|
||||||
image: alpine
|
image: alpine
|
||||||
|
@ -27,10 +27,10 @@ steps:
|
||||||
- 'echo image: *image'
|
- 'echo image: *image'
|
||||||
- 'echo $test'
|
- 'echo $test'
|
||||||
|
|
||||||
salt pre-commit:
|
# salt pre-commit:
|
||||||
image: *image
|
# image: *image
|
||||||
environment:
|
# environment:
|
||||||
- SKIP=no-commit-to-branch # Ignore "don't commit to protected branch" check
|
# - SKIP=no-commit-to-branch # Ignore "don't commit to protected branch" check
|
||||||
commands:
|
# commands:
|
||||||
- cd salt
|
# - cd salt
|
||||||
- pre-commit run --all-files
|
# - pre-commit run --all-files
|
||||||
|
|
Loading…
Add table
Reference in a new issue