* Automated system upgrade
@ 2020-02-03 12:36 Jimmy Thrasibule
2020-02-03 18:16 ` Gábor Boskovits
0 siblings, 1 reply; 3+ messages in thread
From: Jimmy Thrasibule @ 2020-02-03 12:36 UTC (permalink / raw)
To: help-guix
Hi,
I would like to know about the best way one would automate a Guix system
reconfiguration. The idea is to put the system configuration stanza into 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 package can
call guix system reconfigure after install).
2. Create a Guix pull channel.
3. Have the system automatically pulling the latest revision. (??)
4. Repeat.
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?
Regards,
Jimmy
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: Automated system upgrade
2020-02-03 12:36 Automated system upgrade Jimmy Thrasibule
@ 2020-02-03 18:16 ` Gábor Boskovits
2020-02-03 19:02 ` sirgazil
0 siblings, 1 reply; 3+ messages in thread
From: Gábor Boskovits @ 2020-02-03 18:16 UTC (permalink / raw)
To: jimmy; +Cc: help-guix
Hello,
Jimmy Thrasibule <jimmy.thrasibule@gmail.com> ezt írta (időpont: 2020.
febr. 3., H, 13:37):
>
> Hi,
>
> I would like to know about the best way one would automate a Guix system
> reconfiguration. The idea is to put the system configuration stanza into 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 package can
> call guix system reconfigure after install).
> 2. Create a Guix pull channel.
> 3. Have the system automatically pulling the latest revision. (??)
> 4. Repeat.
>
There is no need for 1 and 2.
> 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?
You should create a service which updates a repo from the cron job and
then reconfigure.
There is something like this on berlin, you can have a look at the config
in the maintenance repository. Look for static-website-service. Hope
this helps.
>
> Regards,
> Jimmy
Best regards,
g_bor
--
OpenPGP Key Fingerprint: 7988:3B9F:7D6A:4DBF:3719:0367:2506:A96C:CF63:0B21
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: Automated system upgrade
2020-02-03 18:16 ` Gábor Boskovits
@ 2020-02-03 19:02 ` sirgazil
0 siblings, 0 replies; 3+ messages in thread
From: sirgazil @ 2020-02-03 19:02 UTC (permalink / raw)
To: "Gábor Boskovits"; +Cc: jimmy, help-guix
---- On Mon, 03 Feb 2020 13:16:17 -0500 Gábor Boskovits <boskovits@gmail.com> wrote ----
> Hello,
>
> Jimmy Thrasibule <jimmy.thrasibule@gmail.com> ezt írta (időpont: 2020.
> febr. 3., H, 13:37):
> >
> > Hi,
> >
> > I would like to know about the best way one would automate a Guix system
> > reconfiguration. The idea is to put the system configuration stanza into 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 package can
> > call guix system reconfigure after install).
> > 2. Create a Guix pull channel.
> > 3. Have the system automatically pulling the latest revision. (??)
> > 4. Repeat.
> >
>
> There is no need for 1 and 2.
>
> > 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?
>
> You should create a service which updates a repo from the cron job and
> then reconfigure.
>
> There is something like this on berlin, you can have a look at the config
> in the maintenance repository. Look for static-website-service. Hope
> this helps.
I'm interested in that information too, thanks, Gábor.
I think the name of the service is static-web-site. This is maintenance repository:
$ git clone https://git.savannah.gnu.org/git/guix/maintenance.git
And the service seems to be defined in "hydra/modules/sysadmin/web.scm" (check for static-web-site-service-type).
^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2020-02-03 19:02 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2020-02-03 12:36 Automated system upgrade Jimmy Thrasibule
2020-02-03 18:16 ` Gábor Boskovits
2020-02-03 19:02 ` sirgazil
Code repositories for project(s) associated with this external index
https://git.savannah.gnu.org/cgit/guix.git
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.