Stanislav Bogatyrev
f111704ceb
All checks were successful
ci/woodpecker/push/pre-commit Pipeline was successful
Wrong stage was used. It still may run gitlint against only latest commit in PR. Signed-off-by: Stanislav Bogatyrev <s.bogatyrev@yadro.com>
17 lines
496 B
YAML
17 lines
496 B
YAML
pipeline:
|
|
# Kludge for non-root containers under WoodPecker
|
|
fix-ownership:
|
|
image: alpine:latest
|
|
commands: chown -R 1234:1234 .
|
|
|
|
pre-commit:
|
|
image: git.frostfs.info/truecloudlab/frostfs-ci:v0.36
|
|
commands:
|
|
- export HOME="$(getent passwd $(id -u) | cut '-d:' -f6)"
|
|
- pre-commit run --hook-stage manual
|
|
|
|
unit:
|
|
image: git.frostfs.info/truecloudlab/frostfs-ci:v0.36
|
|
commands:
|
|
- export HOME="$(getent passwd $(id -u) | cut '-d:' -f6)"
|
|
- make test
|