forked from TrueCloudLab/frostfs-node
18 lines
476 B
YAML
18 lines
476 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
|
||
|
|
||
|
unit:
|
||
|
image: git.frostfs.info/truecloudlab/frostfs-ci:v0.36
|
||
|
commands:
|
||
|
- export HOME="$(getent passwd $(id -u) | cut '-d:' -f6)"
|
||
|
- make test
|