From nobody Sun Feb 8 19:56:46 2026 Delivered-To: importer@patchew.org Received-SPF: pass (zohomail.com: domain of redhat.com designates 205.139.110.61 as permitted sender) client-ip=205.139.110.61; envelope-from=libvir-list-bounces@redhat.com; helo=us-smtp-delivery-1.mimecast.com; Authentication-Results: mx.zohomail.com; dkim=pass; spf=pass (zohomail.com: domain of redhat.com designates 205.139.110.61 as permitted sender) smtp.mailfrom=libvir-list-bounces@redhat.com; dmarc=pass(p=none dis=none) header.from=redhat.com ARC-Seal: i=1; a=rsa-sha256; t=1587562204; cv=none; d=zohomail.com; s=zohoarc; b=EElOl2WkxYQ+NzDXwv1YdTZKqjxBZdlo/MREYvoTSiQWepOsMQCYJYeK6+cWjplUzPivo8Ghkql5RIbFtk7W0WF+bl2yaUG1BzqEX5Up1Wzsogi+/+8b2kjL043IjdrdyKTeVUSktOT3yTA2YxoXbEdcQi/AdFv6gmMtW3FgdsM= ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=zohomail.com; s=zohoarc; t=1587562204; h=Content-Type:Content-Transfer-Encoding:Cc:Date:From:In-Reply-To:List-Subscribe:List-Post:List-Id:List-Archive:List-Help:List-Unsubscribe:MIME-Version:Message-ID:References:Sender:Subject:To; bh=GGnzczISgtm5hx3POEbuGyaan7myVsWty//pctOMX+c=; b=QmSgXHLiuFrEyS+exHYElxeYxJ3Kl8aIsepDOxVutPYCrhuFM5tggL0zxfWDCI3CsHtmRBYfWfkbzeLlZ59iPaER4d0peVWO/tcCbBOhjYMEFrL0uUxyhrxBnst++wNNTemENB/l8z2uBaMkzZge0poSeLx96kGGFqSmtUEboSI= ARC-Authentication-Results: i=1; mx.zohomail.com; dkim=pass; spf=pass (zohomail.com: domain of redhat.com designates 205.139.110.61 as permitted sender) smtp.mailfrom=libvir-list-bounces@redhat.com; dmarc=pass header.from= (p=none dis=none) header.from= Return-Path: Received: from us-smtp-delivery-1.mimecast.com (us-smtp-1.mimecast.com [205.139.110.61]) by mx.zohomail.com with SMTPS id 1587562204514921.1272780722461; Wed, 22 Apr 2020 06:30:04 -0700 (PDT) Received: from mimecast-mx01.redhat.com (mimecast-mx01.redhat.com [209.132.183.4]) (Using TLS) by relay.mimecast.com with ESMTP id us-mta-328-OGAGDKxeM8WJU3Wy9W1H1Q-1; Wed, 22 Apr 2020 09:29:12 -0400 Received: from smtp.corp.redhat.com (int-mx03.intmail.prod.int.phx2.redhat.com [10.5.11.13]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by mimecast-mx01.redhat.com (Postfix) with ESMTPS id 55D8B192296D; Wed, 22 Apr 2020 13:29:06 +0000 (UTC) Received: from colo-mx.corp.redhat.com (colo-mx02.intmail.prod.int.phx2.redhat.com [10.5.11.21]) by smtp.corp.redhat.com (Postfix) with ESMTPS id 2993B608E0; Wed, 22 Apr 2020 13:29:06 +0000 (UTC) Received: from lists01.pubmisc.prod.ext.phx2.redhat.com (lists01.pubmisc.prod.ext.phx2.redhat.com [10.5.19.33]) by colo-mx.corp.redhat.com (Postfix) with ESMTP id CC127941C9; Wed, 22 Apr 2020 13:29:05 +0000 (UTC) Received: from smtp.corp.redhat.com (int-mx03.intmail.prod.int.phx2.redhat.com [10.5.11.13]) by lists01.pubmisc.prod.ext.phx2.redhat.com (8.13.8/8.13.8) with ESMTP id 03MDSfgX005826 for ; Wed, 22 Apr 2020 09:28:41 -0400 Received: by smtp.corp.redhat.com (Postfix) id D342A608E0; Wed, 22 Apr 2020 13:28:41 +0000 (UTC) Received: from sturgeon.redhat.com (unknown [10.40.192.155]) by smtp.corp.redhat.com (Postfix) with ESMTP id 2777F6084D; Wed, 22 Apr 2020 13:28:40 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=redhat.com; s=mimecast20190719; t=1587562203; h=from:from:sender:sender:reply-to:subject:subject:date:date: message-id:message-id:to:to:cc:cc:mime-version:mime-version: content-type:content-type: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references:list-id:list-help: list-unsubscribe:list-subscribe:list-post; bh=GGnzczISgtm5hx3POEbuGyaan7myVsWty//pctOMX+c=; b=XLY+Hz9oMszsbReRzsW/P2a0skmdrgJWN7ZSwzeRvFKysA4Yn8BUg/SlbjrFBhUwKsmmOe 4SMQtTayk9fm4rKj61ZpyebtpUaO0WVhe6tahuM6ijBtYjz+o62Q/ba3OR1y9FnGXvfCVr +wZcHlc6rg3Dv2rjOK31lCC7JHQe82E= X-MC-Unique: OGAGDKxeM8WJU3Wy9W1H1Q-1 From: Erik Skultety To: libvir-list@redhat.com Subject: [libvirt-ci PATCH 05/13] config: Introduce a new global config.toml configuration file Date: Wed, 22 Apr 2020 15:28:23 +0200 Message-Id: <2a15f7380c271d06c641dfc765557f9972020360.1587562058.git.eskultet@redhat.com> In-Reply-To: References: MIME-Version: 1.0 X-Scanned-By: MIMEDefang 2.79 on 10.5.11.13 X-loop: libvir-list@redhat.com Cc: Erik Skultety X-BeenThere: libvir-list@redhat.com X-Mailman-Version: 2.1.12 Precedence: junk List-Id: Development discussions about the libvirt library & tools List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: libvir-list-bounces@redhat.com Errors-To: libvir-list-bounces@redhat.com X-Scanned-By: MIMEDefang 2.79 on 10.5.11.13 X-Mimecast-Spam-Score: 0 X-Mimecast-Originator: redhat.com Content-Transfer-Encoding: quoted-printable X-ZohoMail-DKIM: pass (identity @redhat.com) Content-Type: text/plain; charset="utf-8" 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 --- 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 index 0000000..5bb3725 --- /dev/null +++ b/config.toml @@ -0,0 +1,26 @@ +# Configuration file for the lcitool -- https://gitlab.com/libvirt/libvirt= -ci/ +# =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D + +[install] +# 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 =3D "test" + +# Initial root password to be set by ansible on the appliance. This passwo= rd +# 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 =3D "" + +[gitlab] +# GitLab runner agent registration options, applies only if flavor =3D=3D = 'gitlab'. + +# GitLab server URL to register the runner. +#gitlab_url =3D "https://gitlab.com" + +# GitLab runner registration token. (mandatory) +#gitlab_runner_secret =3D "" --=20 2.25.3