From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp2.migadu.com ([2001:41d0:403:58f0::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms8.migadu.com with LMTPS id UMgYKaPTz2WzbQEAe85BDQ:P1 (envelope-from ) for ; Fri, 16 Feb 2024 22:29:07 +0100 Received: from aspmx1.migadu.com ([2001:41d0:403:58f0::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp2.migadu.com with LMTPS id UMgYKaPTz2WzbQEAe85BDQ (envelope-from ) for ; Fri, 16 Feb 2024 22:29:07 +0100 X-Envelope-To: larch@yhetil.org Authentication-Results: aspmx1.migadu.com; dkim=none; spf=pass (aspmx1.migadu.com: domain of "guix-devel-bounces+larch=yhetil.org@gnu.org" designates 209.51.188.17 as permitted sender) smtp.mailfrom="guix-devel-bounces+larch=yhetil.org@gnu.org"; dmarc=none ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1708118947; h=from:from:sender:sender:reply-to:subject:subject:date:date: message-id:message-id:to:to:cc:mime-version:mime-version: content-type:content-type: content-transfer-encoding:content-transfer-encoding:list-id:list-help: list-unsubscribe:list-subscribe:list-post; bh=lJ8nqrv7JP/IfzcxVC0i4OJ/DIPoyHsFwe2G/C5I5RI=; b=UdXFypQZSfHmjtIYZZV+2DaeOSqBUCSZQCFCzm3Kc53mrA9n+tLKwL+BtUtosn1kjowbLP HtFT96cvNyc54AK0DnOnYEq/UWtimFOtP29qMr5c5g5hjjkGlNdeB40THf34/bebPyWGdT f8KeG9rlVPI4jYKsQAgx4W4Auo2Y6Q4clJ/c5y1JYruPyQgkywkhf9HJA8dI+tbzwK00Te Mt/cdIUEvJER1wYTv8L9g0qrQCwzr/HP0V87wcUXKZWSIgRh4ad926hwOtExnFCT3xTJ7w KgDO83kp2zevGOB4eaoMIvyHpL6ZYjIOxpeAI4KL8z0FuduOSJVINyXJai0Agw== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=none; spf=pass (aspmx1.migadu.com: domain of "guix-devel-bounces+larch=yhetil.org@gnu.org" designates 209.51.188.17 as permitted sender) smtp.mailfrom="guix-devel-bounces+larch=yhetil.org@gnu.org"; dmarc=none ARC-Seal: i=1; s=key1; d=yhetil.org; t=1708118947; a=rsa-sha256; cv=none; b=M77NU4rRWaNf5SXqJzsY9lMfx6VURGkdFrxpxi+e6n+1I3gIph0my6F3F4gcQwGYEnTAFy 3qv6oL8UE6s8bQ5446mdIoVNaKZL8u6I9HhSbVs7uOxkV0/1OzIZFi5JfEFD+Uh0WrCHI7 Iw3KceGIU0O0sm/+MWSxFGqG02O1cGROM7wYVvI4SvtHIw3BKqffVYJ6ARNdKjmts9YucQ JQFt/RE2MVQoUPIo33sNvV2wB4q2SQwP6UHetkVXPe78oNVRiU9mdBDNeWJA/lYw+acj3f C5pEKM6/giBl9KkNWcnnCCMM9PjLO8BseVEzV4R49sFT/mIwskVcXukU9oj66g== 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 8DC385F55C for ; Fri, 16 Feb 2024 22:29:07 +0100 (CET) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1rb5lE-0008I7-7V; Fri, 16 Feb 2024 16:28:44 -0500 Received: from eggs.gnu.org ([2001:470:142:3::10]) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1rb5lC-0008Hg-6s for guix-devel@gnu.org; Fri, 16 Feb 2024 16:28:42 -0500 Received: from mail01.noris.net ([62.128.1.221]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1rb5l9-0000vT-7I for guix-devel@gnu.org; Fri, 16 Feb 2024 16:28:41 -0500 Received: from p57b0974f.dip0.t-ipconnect.de ([87.176.151.79] helo=hermia.goebel-consult.de) by mail01.noris.net with esmtpsa (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim) (envelope-from ) id 1rb5l2-0000oF-Ud for guix-devel@gnu.org; Fri, 16 Feb 2024 22:28:32 +0100 Received: from [127.0.0.1] (hermia.goebel-consult.de [192.168.110.7]) (using TLSv1.3 with cipher TLS_AES_128_GCM_SHA256 (128/128 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits)) (No client certificate requested) by hermia.goebel-consult.de (Postfix) with ESMTPS id 6378D5F52F for ; Fri, 16 Feb 2024 22:28:30 +0100 (CET) Message-ID: <05861375-730e-5933-b3ef-673cabd07475@crazy-compilers.com> Date: Fri, 16 Feb 2024 22:28:30 +0100 MIME-Version: 1.0 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:102.0) Gecko/20100101 Thunderbird/102.12.0 Content-Language: de-DE, en-US From: Hartmut Goebel Subject: Using gitlab-ci to maintain a channel? Organization: crazy-compilers.com To: Guix-devel Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: 7bit X-Noris-IP: 87.176.151.79 Received-SPF: pass client-ip=62.128.1.221; envelope-from=h.goebel@crazy-compilers.com; helo=mail01.noris.net X-Spam_score_int: -24 X-Spam_score: -2.5 X-Spam_bar: -- X-Spam_report: (-2.5 / 5.0 requ) BAYES_00=-1.9, HTML_MESSAGE=0.001, MIME_HTML_ONLY=0.1, RCVD_IN_DNSWL_LOW=-0.7, RCVD_IN_MSPIKE_H3=0.001, RCVD_IN_MSPIKE_WL=0.001, SPF_HELO_NONE=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: guix-devel@gnu.org X-Mailman-Version: 2.1.29 Precedence: list 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+larch=yhetil.org@gnu.org Sender: guix-devel-bounces+larch=yhetil.org@gnu.org X-Migadu-Country: US X-Migadu-Flow: FLOW_IN X-Migadu-Spam-Score: -4.99 X-Spam-Score: -4.99 X-Migadu-Queue-Id: 8DC385F55C X-Migadu-Scanner: mx11.migadu.com X-TUID: c/y6AVYmXPUH

Hi,

I wonder whether it's possible to maintain a channel using gitlab-ci. Any thought or experiences to share?

My idea is to schedule jobs which are refreshing the packages, building/testing them and to provide substitutes.

The channel is meant for Tryton (tryton.org), which consists of about 200 plug-in packages and bug-fixes are published for the LTS version every now and then. The channel should follow these bug-fix releases. Tryton is pure Python, anyhow some dependencies require C, C++ and even rust for building, updating dependencies should be avoided if not all substitutes for all dependencies are available (or maybe deny-list specific dependencies).

The points I'm wondering are:

  • What version of guix shall be used? Always the latest one?
  • The runners need a docker image. Where to I get one? Possibly containing a warmed-up cache? (Using a Debian docker image and installing guix into it on every run sounds like a bad idea.)
  • OTOH /gnu/tore could be cached. How much data would this typically be?
  • How to clean the cache from unreachable items?
  • How to publish the substitutes?

Why gitlab-ci? Well, the channel will live on a gitlab instance, thus using that infrastructure would simplify things and avoid single users managing processes.

-- 
Regards
Hartmut Goebel

| Hartmut Goebel          | h.goebel@crazy-compilers.com               |
| www.crazy-compilers.com | compilers which you thought are impossible |