From mboxrd@z Thu Jan 1 00:00:00 1970 From: sirgazil Subject: Re: Automated system upgrade Date: Mon, 03 Feb 2020 14:02:08 -0500 Message-ID: <1700c6e6dfc.119e257747545.2417640111842841926@zoho.com> References: Mime-Version: 1.0 Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable Return-path: Received: from eggs.gnu.org ([2001:470:142:3::10]:33810) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1iygzF-0007Ap-F3 for help-guix@gnu.org; Mon, 03 Feb 2020 14:02:23 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1iygzE-0003EI-Bw for help-guix@gnu.org; Mon, 03 Feb 2020 14:02:21 -0500 Received: from sender4-pp-o91.zoho.com ([136.143.188.91]:25177) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_256_CBC_SHA1:32) (Exim 4.71) (envelope-from ) id 1iygzD-00038M-Us for help-guix@gnu.org; Mon, 03 Feb 2020 14:02:20 -0500 In-Reply-To: List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: help-guix-bounces+gcggh-help-guix=m.gmane-mx.org@gnu.org Sender: "Help-Guix" To: =?UTF-8?Q?=22G=C3=A1bor_Boskovits=22?= Cc: jimmy , help-guix ---- On Mon, 03 Feb 2020 13:16:17 -0500 G=C3=A1bor Boskovits wrote ---- > Hello, >=20 > Jimmy Thrasibule ezt =C3=ADrta (id=C5=91pon= t: 2020. > febr. 3., H, 13:37): > > > > Hi, > > > > I would like to know about the best way one would automate a Guix syst= em > > reconfiguration. The idea is to put the system configuration stanza in= to a > > Git repository and then having the systems regularly pull from this > > repository and reconfigure. > > > > The way I see it so far would take the following steps: > > > > 1. Create a Guix package with all the system configuration (the packag= e can > > call guix system reconfigure after install). > > 2. Create a Guix pull channel. > > 3. Have the system automatically pulling the latest revision. (??) > > 4. Repeat. > > >=20 > There is no need for 1 and 2. >=20 > > Does this plan is looking sane to you and how can I regularly pull the > > system's repository? Maybe using a service or a cron job? >=20 > You should create a service which updates a repo from the cron job and > then reconfigure. >=20 > There is something like this on berlin, you can have a look at the confi= g > in the maintenance repository. Look for static-website-service. Hope > this helps. I'm interested in that information too, thanks, G=C3=A1bor. I think the name of the service is static-web-site. This is maintenance rep= ository: $ git clone https://git.savannah.gnu.org/git/guix/maintenance.git And the service seems to be defined in "hydra/modules/sysadmin/web.scm" (ch= eck for static-web-site-service-type).