summaryrefslogtreecommitdiffstats
path: root/examples/packages/1/config.toml
blob: fc0244b4249c82e49c9ec03fb55bcc1404976eab (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
# Configuration file for BUTIDO for this repository

# repository of package definitions
releases     = "/tmp/example-3-releases"
staging      = "/tmp/example-3-staging"
source_cache = "/tmp/example-3-sources"
log_dir      = "/tmp/example-3-logs"

script_highlight_theme = "Solarized (dark)"

# ####
#
# 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
available_phases = [ "unpack", "depinst", "configure", "build", "install", "package" ]

[docker]
# Images which can be used to build
# images not listed here are automatically rejected
images = [ "debian:bullseye" ]
verify_images_present = true

# List of docker endpoints
[[docker.endpoints]]
name          = "example host name"
uri           = "http://0.0.0.0:8095"
endpoint_type = "http"
speed         = 1
maxjobs       = 10


[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" ]