Compare commits

..

1 commit

Author SHA1 Message Date
9d7d13d3d6
WIP
All checks were successful
ci/woodpecker/push/test Pipeline was successful
ci/woodpecker/push/build Pipeline was successful
2024-06-20 18:24:46 +02:00

View file

@ -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