2023-03-20 15:22:36 +00:00
|
|
|
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)"
|
2023-03-22 06:24:22 +00:00
|
|
|
- pre-commit run --hook-stage manual
|
2023-03-20 15:22:36 +00:00
|
|
|
|
|
|
|
unit:
|
|
|
|
image: git.frostfs.info/truecloudlab/frostfs-ci:v0.36
|
|
|
|
commands:
|
|
|
|
- export HOME="$(getent passwd $(id -u) | cut '-d:' -f6)"
|
|
|
|
- make test
|