32 lines
1.0 KiB
YAML
32 lines
1.0 KiB
YAML
# Werkator CI configuration for werkrevisor (built by https://werkator.javagil.de).
|
|
# Host-only parts stay in the machine config on mih09: the werkdock rootfs and binary,
|
|
# and the whole review build `ai-review` with its secrets and operator config.
|
|
werkator:
|
|
version:
|
|
since: "1.36.1"
|
|
|
|
gitea:
|
|
baseUrl: https://git.javagil.de
|
|
owner: mi
|
|
repo: werkrevisor
|
|
statusContext: werkator
|
|
|
|
builds:
|
|
# The unit tests need the PR-Agent image's Python, so they run in the werkrevisor rootfs.
|
|
default:
|
|
trigger:
|
|
onPush: true
|
|
cleanCommand: ""
|
|
buildCommand: python -s -m unittest
|
|
timeout: 15m
|
|
werkdock:
|
|
env:
|
|
PATH: /app/.venv/bin:/usr/local/bin:/usr/bin:/bin
|
|
PYTHONPATH: .:/app
|
|
PYTHONNOUSERSITE: "1"
|
|
|
|
# What the release does; when, for which branches and outside the sandbox is the host's part, and it is pinned,
|
|
# so no branch releases itself (README, "Operation"). Without that host part this definition never runs.
|
|
release:
|
|
buildCommand: python3 tools/release_rootfs.py release
|