git-build-triggers/example.yaml
2024-06-19 13:18:49 +02:00

15 lines
832 B
YAML

---
address: "127.0.0.1" # default to 127.0.0.1
port: 8000
parallel-jobs: 1 # defaults to 1
repositories: # list of repositories
test: # append to base-path to build webhook URL
workdir: /nonlocal/foo # path on disk with repository
# token: accepted as `Authorization: Bearer $token` or as password with any username in a
# `Authorization: Basic ...` header for use in browsers
token: xxE8E3e2fK7FJhVhH6H7XV9SupfXBsJH88FjN3vQ7ggEvS4nPuJ7jBnVB3aeV8PvX3Us5mu95q4EJGWTXd3mr5rDts8txx
command: echo hello world # build command, split with `shlex.split` into arguments
base-path: /trigger-foo # defaults to /
# optional admin-token: accepted for all repositories as if it'd be the token of the repository
admin-token: E8E3e2fK7FJhVhH6H7XV9SupfXBsJH88FjN3vQ7ggEvS4nPuJ7jBnVB3aeV8PvX3Us5mu95q4EJGWTXd3mr5rDts8t