From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp11.migadu.com ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms5.migadu.com with LMTPS id ID96NdzCbmJcDgAAbAwnHQ (envelope-from ) for ; Sun, 01 May 2022 19:26:52 +0200 Received: from aspmx1.migadu.com ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp11.migadu.com with LMTPS id iId5NdzCbmJZkwAA9RJhRA (envelope-from ) for ; Sun, 01 May 2022 19:26:52 +0200 Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by aspmx1.migadu.com (Postfix) with ESMTPS id 1C6CDE675 for ; Sun, 1 May 2022 19:26:52 +0200 (CEST) Received: from localhost ([::1]:50530 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1nlDLO-0003W8-SB for larch@yhetil.org; Sun, 01 May 2022 13:26:50 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:60314) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1nlDKw-0003VN-Kq for help-guix@gnu.org; Sun, 01 May 2022 13:26:22 -0400 Received: from mx0.riseup.net ([198.252.153.6]:45780) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1nlDKu-0002uX-Bz for help-guix@gnu.org; Sun, 01 May 2022 13:26:22 -0400 Received: from fews1.riseup.net (fews1-pn.riseup.net [10.0.1.83]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (2048 bits) server-digest SHA256 client-signature RSA-PSS (2048 bits) client-digest SHA256) (Client CN "mail.riseup.net", Issuer "R3" (not verified)) by mx0.riseup.net (Postfix) with ESMTPS id 4KrtRs5FwJz9tjk; Sun, 1 May 2022 10:26:17 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=riseup.net; s=squak; t=1651425977; bh=bc7ksFwATgRtsSMOXXSLm6z7a/DTXj4e5zSvgZzYBOU=; h=Date:From:To:Cc:Subject:In-Reply-To:References:From; b=O8fWMEU3g56mS6wbxPpmpRnrEASEYiNZov7+sPYmL9uj4hMHGNYsfhp1tKPV655+D i9d56qOolrxOyF3OnjN/hB0kiCNcQQZuHtJE7un2LX4gZeXDczmMynwIuVEkrx1PDP Bwv7CCAPr42xv84Ks0FGmM/BXmuS6lt7i0OXGOC0= X-Riseup-User-ID: 4CEEB8D502189D59C1E8C1442F394105FA12C032A15848DCB1E4A7F09B6716DF Received: from [127.0.0.1] (localhost [127.0.0.1]) by fews1.riseup.net (Postfix) with ESMTPSA id 4KrtRr5NnCz5vwB; Sun, 1 May 2022 10:26:16 -0700 (PDT) Date: Sun, 1 May 2022 19:24:04 +0200 From: raingloom To: Kyle Andrews Subject: Re: How to offload builds only when some of the offload build servers are available Message-ID: <20220501192404.707d87d2@riseup.net> In-Reply-To: <875ympmdqw.fsf@posteo.net> References: <875ympmdqw.fsf@posteo.net> MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Received-SPF: pass client-ip=198.252.153.6; envelope-from=raingloom@riseup.net; helo=mx0.riseup.net X-Spam_score_int: -27 X-Spam_score: -2.8 X-Spam_bar: -- X-Spam_report: (-2.8 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, RCVD_IN_DNSWL_LOW=-0.7, SPF_HELO_PASS=-0.001, SPF_PASS=-0.001, T_SCC_BODY_TEXT_LINE=-0.01 autolearn=ham autolearn_force=no X-Spam_action: no action X-BeenThere: help-guix@gnu.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: help-guix@gnu.org Errors-To: help-guix-bounces+larch=yhetil.org@gnu.org Sender: "Help-Guix" X-Migadu-Flow: FLOW_IN X-Migadu-To: larch@yhetil.org X-Migadu-Country: US ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1651426012; 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:dkim-signature; bh=pdfIyQcvEmlKZiBHPR6J6iuGGrLXH4BYpiUYWSh5Iis=; b=npmAPSeCffSn36wP8ffDsOmXEOxdob6DbI8MTSF7y1COdZTyClOMz+W81za9W1mqz8ckYz TRm1xOREnayB5HG7vgfSr2Fn/rpx6XNW3HGe1SYfI03wcWi5Bhf4WP/b5eGfXp9yor32Hd OE/aC20n5m3x7S17p/u1bzbh+htR1VinDJUkP2GOhsqxIHxrO4tHnPa/T7d1VJq1nBg8DA tMGJb7c4hvL8eHKHH7FvoHAj966WSM3QBvjVeHdTsjukUL57VylsqqGMOQpvkoBKc14Zl7 3zYwQ1PKZSFuwxidgr7pG6tOm+dm8KZewLgqVv4k6Dns53JD0FOmVQJmJZxe8w== ARC-Seal: i=1; s=key1; d=yhetil.org; t=1651426012; a=rsa-sha256; cv=none; b=P/paeGeDLQp6dUUYUiovPS91L9/YNFPmvnXfRBJpVY+MqNxhsP7CXRbljmZ5pjWbVrKSHH kW4qQpP0hfbYPfYxcCjbGB/ggfSDqbpMa+Ym2DNrn/bbvfU+siq8zUWH3un7pDiPlUFt2Y gIWKty2EBvaBCgshhEjfFE/1SMFqPbCCSMId8LYRnuL+pzY562OXnXsH3GmAfX9kAxkd97 ASglfPzEIiDxV5j1t9YIRln7oE1TX0PBEYVT4pcHnBqtF3mDeq83McvTuf2zYxeACizssk I0luH+377SgE13m/hvsBz3NnuprHSCOmHxqCtdXOCVbK4BEMKG/jexjh5kPPCQ== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=pass header.d=riseup.net header.s=squak header.b=O8fWMEU3; dmarc=pass (policy=none) header.from=riseup.net; spf=pass (aspmx1.migadu.com: domain of "help-guix-bounces+larch=yhetil.org@gnu.org" designates 209.51.188.17 as permitted sender) smtp.mailfrom="help-guix-bounces+larch=yhetil.org@gnu.org" X-Migadu-Spam-Score: -4.09 Authentication-Results: aspmx1.migadu.com; dkim=pass header.d=riseup.net header.s=squak header.b=O8fWMEU3; dmarc=pass (policy=none) header.from=riseup.net; spf=pass (aspmx1.migadu.com: domain of "help-guix-bounces+larch=yhetil.org@gnu.org" designates 209.51.188.17 as permitted sender) smtp.mailfrom="help-guix-bounces+larch=yhetil.org@gnu.org" X-Migadu-Queue-Id: 1C6CDE675 X-Spam-Score: -4.09 X-Migadu-Scanner: scn1.migadu.com X-TUID: qMVI7V4UNhBV On Sun, 01 May 2022 16:01:21 +0000 Kyle Andrews wrote: > Dear Guix, > > How can I configure the offload functionality to check whether the > build machines specifiec in ~/etc/guix/machines.scm~ are available > first; and if they are not (e.g. because I am roaming outside my > local network) just proceed with builds locally so that I don't have > to remember to pass --no-offload? > > Thanks, > Kyle > I also want to know this. Last time I discussed this on IRC it was suggested that I should use Avahi to test which systems are up. Haven't had time to look into it yet.