-
Notifications
You must be signed in to change notification settings - Fork 42
Expand file tree
/
Copy pathconfig.toml.sample
More file actions
117 lines (102 loc) · 3.27 KB
/
Copy pathconfig.toml.sample
File metadata and controls
117 lines (102 loc) · 3.27 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
[envvars]
TZ = "Asia/Shanghai"
TERM = "xterm"
# this doesn't help with Python itself; please set externally if desirable
# LANG = "zh_CN.UTF-8"
[repository]
name = "archlinuxcn"
# The email address where undirected nvchecker error reports should go.
email = "repo@example.com"
# this can point into a directory inside the git repo.
repodir = "/path/to/gitrepo"
# The path where built packages and signatures are copied to
# comment out if there's no need to copy built packages
destdir = "/path/to/pkgdir"
[lilac]
# this is the name in the mail header and subject
name = "lilac"
# where lilac sends mails from
email = "lilac@example.com"
# for internal error reports
master = "Your Name <youremail@example.com>"
# the user_agent to use for fetching HTTP resources
# user_agent = "lilac/0.3 (URL; email)"
# Set and unsubscribe_address to receive unsubscribe requests
# unsubscribe_address = "unsubscribe@example.com"
# Set to yes to automatically rebuild packages which failed to build last time
rebuild_failed_pkgs = true
git_push = false
# Set a prefix for commit messages
# commit_msg_prefix = ''
send_email = false
# Optional: template for log file URL. Used in package error emails
logurl = "https://example.com/${pkgbase}/${datetime}.html"
# for searching github; this is NOT for nvchecker, which should be configured via ~/.lilac/nvchecker_keyfile.toml
# github_token = "xxx"
# keep build logs; you need to manually run the script "scripts/dbsetup.sql" once
# requires SQLAlchemy and a corresponding driver
# dburl = "postgresql:///"
# the schema to use; by default lilac uses the schema "lilac"
# schema = "lilac"
max_concurrency = 1
# whether to disable local worker (and use remote only)
# disable_local_worker = false
# build packages over ssh
[[remoteworker]]
# this is also used to name the git remote
name = "remotebuilder"
# ssh host string; ControlMaster is advised to be enabled in ~/.ssh/config
host = "builder.example.org"
# the same as local "repodir" but in remote host
repodir = "/path/to/gitrepo"
max_concurrency = 2
enabled = true
# run some commands before each run
# prerun = [
# "sudo update_something",
# ]
# run some commands after each run
# postrun = [
# "do_something",
# ]
[nvchecker]
# set proxy for nvchecker
# proxy = "http://localhost:8000"
[smtp]
# You can configure a SMTP account here; it defaults to localhost:53
#host = ""
#port = 0
#use_ssl = false
#username = ""
#password = ""
# Set to true to allow ANSI characters in content
#use_ansi = false
[bindmounts]
# bind mounts in the devtools environment, e.g. for caching
# source directories will be created if not yet
"~/.cache/archbuild-bind-cache" = "/build/.cache"
"~/.cache/archbuild-bind-cache/ghcup" = "/build/.ghcup"
"~/.cache/pip" = "/build/.cache/pip"
"~/.cargo" = "/build/.cargo"
[misc]
# run some commands before each run
# prerun = [
# ["sudo", "rsync-packages-pool"],
# ]
# run some commands after each run
postrun = [
# ["upload-packages"],
]
# run some commands after each package built
# env: PKGBASE, RESULT=successful, failed, skipped, staged, VERSION, PACKAGE_FILES
# postbuild = [
# [...]
# ]
# mount these paths as tmpfs in the chroot
tmpfs = [
# bazel's cache causes failures frequently
"/build/.cache/bazel"
]
# pacman.conf to use for repository databases
pacman_conf = "/etc/pacman.conf"
# vim: se ft=toml: