-
Notifications
You must be signed in to change notification settings - Fork 2
/
garm-provider-incus.toml
50 lines (50 loc) · 2.34 KB
/
garm-provider-incus.toml
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
# the path to the unix socket that Incus is listening on. This works if garm and Incus
# are on the same system, and this option takes precedence over the "url" option,
# which connects over the network.
unix_socket_path = "/var/lib/incus/unix.socket"
# When defining a pool for a repository or an organization, you have an option to
# specify a "flavor". In Incus terms, this translates to "profiles". Profiles allow
# you to customize your instances (memory, cpu, disks, nics, etc).
# This option allows you to inject the "default" profile along with the profile selected
# by the flavor.
include_default_profile = false
# instance_type defines the type of instances this provider will create.
#
# Options are:
#
# * virtual-machine (default)
# * container
#
instance_type = "container"
# enable/disable secure boot. If the image you select for the pool does not have a
# signed bootloader, set this to false, otherwise your instances won't boot.
secure_boot = false
# Project name to use. You can create a separate project in Incus for runners.
project_name = "default"
# URL is the address on which Incus listens for connections (ex: https://example.com:8443)
url = ""
# garm supports certificate authentication for Incus remote connections. The easiest way
# to get the needed certificates, is to install the lxc client and add a remote. The
# client_certificate, client_key and tls_server_certificate can be then fetched from
# $HOME/.config/incus.
client_certificate = ""
client_key = ""
tls_server_certificate = ""
[image_remotes]
# Image remotes are important. These are the default remotes used by lxc. The names
# of these remotes are important. When specifying an "image" for the pool, that image
# can be a hash of an existing image on your local Incus installation or it can be a
# remote image from one of these remotes. You can specify the images as follows:
# Example:
#
# * images:centos/8/cloud
# * images:ubuntu/22.04/cloud
#
# Ubuntu images come pre-installed with cloud-init which we use to set up the runner
# automatically and customize the runner. For non Ubuntu images, you need to use the
# variant that has "/cloud" in the name. Those images come with cloud-init.
[image_remotes.images]
addr = "https://images.linuxcontainers.org"
public = true
protocol = "simplestreams"
skip_verify = false