[libvirt-ci PATCH 05/13] config: Introduce a new global config.toml configuration file
eskultet at redhat.com
Wed Apr 22 13:28:23 UTC 2020
Rather than having the configuration options split across multiple files
(root-password, flavor, gitlab-url, gitlab-runner-token, ...), let's
consolidate these settings into a global config file.
The TOML format has been chosen simply because its syntax is very similar
to the conventional INI format (thus easily human readable),
but unlike INI it has a formal specification, it's typed and it also
has some nice features over the plain INI should we find ourselves in
need of any of such extended features in the future, e.g. table nesting.
Signed-off-by: Erik Skultety <eskultet at redhat.com>
config.toml | 26 ++++++++++++++++++++++++++
1 file changed, 26 insertions(+)
create mode 100644 config.toml
diff --git a/config.toml b/config.toml
new file mode 100644
@@ -0,0 +1,26 @@
+# Configuration file for the lcitool -- https://gitlab.com/libvirt/libvirt-ci/
+# Installation flavor determining the target environment for the VM:
+# test - VMs suitable for local testing, 'test' has passwordless sudo
+# jenkins - VMs pluggable to a jenkins environment
+# gitlab - VMs ready to be plugged to a GitLab environment
+#flavor = "test"
+# Initial root password to be set by ansible on the appliance. This password
+# will only be necessary for serial console access in case something goes
+# horribly wrong, for all other use cases, SSH key authentication will be used
+# instead. (mandatory)
+#root_password = ""
+# GitLab runner agent registration options, applies only if flavor == 'gitlab'.
+# GitLab server URL to register the runner.
+#gitlab_url = "https://gitlab.com"
+# GitLab runner registration token. (mandatory)
+#gitlab_runner_secret = ""
More information about the libvir-list