Alex Vanin
9ffa0d8fea
All checks were successful
ci/woodpecker/push/pre-commit Pipeline was successful
Unit tests are included as pre-commit hook. They are triggered by the change of .go files. Signed-off-by: Alex Vanin <a.vanin@yadro.com>
11 lines
333 B
YAML
11 lines
333 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
|