From mboxrd@z Thu Jan 1 00:00:00 1970 From: Ricardo Wurmus Subject: Re: It's time to build "guix deploy" Date: Mon, 11 Feb 2019 21:49:15 +0100 Message-ID: <87y36mjbjo.fsf@elephly.net> References: <87k2wx6t1e.fsf@fsf.org> <87h8da5u5k.fsf@dustycloud.org> Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Return-path: Received: from eggs.gnu.org ([209.51.188.92]:53036) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1gtIW8-0006Lm-6p for guix-devel@gnu.org; Mon, 11 Feb 2019 15:49:29 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1gtIW6-000591-VO for guix-devel@gnu.org; Mon, 11 Feb 2019 15:49:27 -0500 Received: from sender-of-o51.zoho.com ([135.84.80.216]:21033) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_256_CBC_SHA1:32) (Exim 4.71) (envelope-from ) id 1gtIW3-000573-No for guix-devel@gnu.org; Mon, 11 Feb 2019 15:49:25 -0500 In-reply-to: List-Id: "Development of GNU Guix and the GNU System distribution." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: guix-devel-bounces+gcggd-guix-devel=m.gmane.org@gnu.org Sender: "Guix-devel" To: "Thompson, David" Cc: guix-devel Thompson, David writes: > Other thoughts? Just for reference: to update Berlin build nodes I use this script: https://git.savannah.gnu.org/cgit/guix/maintenance.git/tree/hydra/insta= ll-berlin.scm It=E2=80=99s not great, but it=E2=80=99s been helpful. Berlin consists of a head node and many almost identical servers. To update one or more servers I run the script on the head node, which generates operating system configuration variants for each of the requested servers, builds the systems (offloading to all of the connected build nodes), copies the system closures to the target systems, and then runs =E2=80=9Creconfigure=E2=80=9D on the targets. Since the operating system configuration record cannot be serialized, the build nodes need to have a copy of the code that=E2=80=99s used to gene= rate the operating system configuration. Not great. (They only need it to run =E2=80=9Creconfigure=E2=80=9D; they wouldn=E2=80=99t need that if =E2= =80=9Creconfigure=E2=80=9D could operate remotely.) Anyway, I thought I=E2=80=99d share this with y=E2=80=99all. -- Ricardo