blob: ae592fb1ee754dbd92da745d4164e59435797b50 (
plain)
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
|
# repository of package definitions
repository = "/tmp/path"
# The position of the release binaries
#
# butido checks this location for packages when installing dependencies
#
#
# # Note
#
# Interpolation of variables (ones that are passed on the CLI for
# the build), is supported for this variable.
# This way you can write
#
# ```
# releases = "/storage/releases/${IMAGE}/"
# ```
#
# for example.
#
releases = "/tmp/releases"
# The position of the staging binaries
# butido rolls a dice for each submitted build and generates a
# per-process-staging directory here to store intermediate builds.
#
#
# # Note
#
# Interpolation of variables (ones that are passed on the CLI for
# the build), is supported for this variable.
# This way you can write
#
# ```
# staging = "/storage/staging/${IMAGE}/${SOME_ENV_VAR}"
# ```
#
# for example.
#
#
# # Warning
#
# It is the task of the user to move packages from herre to the "releases"
# folder.
#
staging = "/tmp/staging"
# ####
#
# Log database configuration
#
# ####
# The database to use
#
# Can be overridden via environment vairbale BUTIDO_DATABASE_URI or set via CLI.
database_host = "localhost"
database_port = 5432
database_user = "pgdev"
database_password = "password"
database_name = "butido"
# Phases which can be configured in the packages
# This also defines the _order_ in which the phases are executed
# Each phase gets a pre_ and a post_ phase added automatically.
# So for [ "foo", "bar" ], the phases are executed in this order:
# pre_foo
# foo
# post_foo
# pre_bar
# bar
# post_bar
#
# Phases which are not listed here are not executed at all.
available_phases = [ "unpack", "patch", "configure", "build", "fixup", "pack" ]
[docker]
# Images which can be used to build
# images not listed here are automatically rejected
images = [ "debian:bullseye" ]
# List of docker endpoints
[[docker.endpoints]]
name = "testhostname"
uri = "http://0.0.0.0:8095"
endpoint_type = "http"
[containers]
# environment variables which are allowed during container start
# This way, errors (typos) when passing environment to a build can be prevented
allowed_env = [ "PATH" ]
|