Received: from malur.postgresql.org ([217.196.149.56]) by arkaria.postgresql.org with esmtps (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1moCtb-0003B0-Cj for pgsql-hackers@arkaria.postgresql.org; Fri, 19 Nov 2021 23:02:16 +0000 Received: from localhost ([127.0.0.1] helo=malur.postgresql.org) by malur.postgresql.org with esmtp (Exim 4.92) (envelope-from ) id 1moCtZ-0004Kg-Rf for pgsql-hackers@arkaria.postgresql.org; Fri, 19 Nov 2021 23:02:13 +0000 Received: from makus.postgresql.org ([2001:4800:3e1:1::229]) by malur.postgresql.org with esmtps (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1moCtY-0004KX-3F for pgsql-hackers@lists.postgresql.org; Fri, 19 Nov 2021 23:02:13 +0000 Received: from wout3-smtp.messagingengine.com ([64.147.123.19]) by makus.postgresql.org with esmtps (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1moCtV-0005Xp-4L for pgsql-hackers@postgresql.org; Fri, 19 Nov 2021 23:02:11 +0000 Received: from compute6.internal (compute6.nyi.internal [10.202.2.46]) by mailout.west.internal (Postfix) with ESMTP id 4B1973201DAF; Fri, 19 Nov 2021 18:02:07 -0500 (EST) Received: from mailfrontend2 ([10.202.2.163]) by compute6.internal (MEProxy); Fri, 19 Nov 2021 18:02:07 -0500 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=anarazel.de; h= date:from:to:cc:subject:message-id:references:mime-version :content-type:in-reply-to; s=fm3; bh=vTO2CqsOK4rxP0E0tZ2A4C2k/Pu VNWxo6yzyE8A+4V0=; b=xHrVs2SXIEXIhmsK3V5ZUuyjkSnpNSYjE9pL/saIpkq 8tgXfFBpOdTNYqpBgF9rb9rZOv1KMh8cjaAQYtGnQ2QtmY4Ip6CJBgveZg4Y+9kb wLsjBtyOFdqWGwMh4fdM+NquACBymY4SlLR9XhsuHSec9kLuVDKxqTuTiPliNOoF +mw+5R9s0c4Yf8OdxsWy76a4957O8IBoB526BH4/xaH3z65kSP8t5NKzAG+W6Utk XSVmd4vIbBvWJ0iEn1v+UjTAKXtTUw+Fm3oatBwlT4u1rOF6U+SCt3xnST/xMUVM Mr1M4R07gFKUAif49/eBlx5FJu/D8I0yo8mmbIXkPmw== DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d= messagingengine.com; h=cc:content-type:date:from:in-reply-to :message-id:mime-version:references:subject:to:x-me-proxy :x-me-proxy:x-me-sender:x-me-sender:x-sasl-enc; s=fm1; bh=vTO2Cq sOK4rxP0E0tZ2A4C2k/PuVNWxo6yzyE8A+4V0=; b=GbsDeUCTfpca6Ymf955BNB tsm+WGgAYkz/EOhcpG5qZKrvLvfkop2xfc923pSnHB4VzT18xV8/g5uCKNZxs2zp bk5aWDaV93K1n00MKDTydMlHU8IzSFSDPOAvO2roIsiXMCBWmrAv23wvqktLQ/En FyHSD6WSZYKAaIPCrX8r3dCsRB+oD/QD3XrL12684M3ViZMsVGW6LKfMlubX6plF Y3CWFcQ82dd3UMRL5vAIgsKgVy7IlWSxRt6doIhY9Uh/SR246jcjIEIzyZ9llFYp lEqBj+sEePNoREFyNFjTAKNUTeejDERJyMzeeELA2nsggAKq8VtahhtXf5kK9ExQ == X-ME-Sender: X-ME-Received: X-ME-Proxy-Cause: gggruggvucftvghtrhhoucdtuddrgedvuddrfeelucetufdoteggodetrfdotffvucfrrh hofhhilhgvmecuhfgrshhtofgrihhlpdfqfgfvpdfurfetoffkrfgpnffqhgenuceurghi lhhouhhtmecufedttdenucesvcftvggtihhpihgvnhhtshculddquddttddmnecujfgurh epfffhvffukfhfgggtuggjsehttdertddttddvnecuhfhrohhmpeetnhgurhgvshcuhfhr vghunhguuceorghnughrvghssegrnhgrrhgriigvlhdruggvqeenucggtffrrghtthgvrh hnpedukefhkeelueegveetheelffffjeegleeuudelfeefuedtleffueejfffhueffuden ucevlhhushhtvghrufhiiigvpedtnecurfgrrhgrmhepmhgrihhlfhhrohhmpegrnhgurh gvshesrghnrghrrgiivghlrdguvg X-ME-Proxy: Received: by mail.messagingengine.com (Postfix) with ESMTPA; Fri, 19 Nov 2021 18:02:06 -0500 (EST) Date: Fri, 19 Nov 2021 15:02:04 -0800 From: Andres Freund To: Melanie Plageman Cc: Pg Hackers , Thomas Munro , Andrew Dunstan Subject: Re: Adding CI to our tree Message-ID: <20211119230204.b3klir5guspukiol@alap3.anarazel.de> References: <20211001222752.wrz7erzh4cajvgp6@alap3.anarazel.de> <20211101055720.7mzwtkhzxmorpxth@alap3.anarazel.de> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: List-Id: List-Help: List-Subscribe: List-Post: List-Owner: List-Archive: Archived-At: Precedence: bulk Hi, On 2021-11-19 17:17:44 -0500, Melanie Plageman wrote: > For the README, I found the instructions very clear. My only concern is > that the cirrus-ci UI will change and the instructions on how to enable > cirrus-ci on a repository will not be accessible in the same way in the > future. I think we can just adjust things at that point, I'm not too worried about past instructions not working. > I have attached a patch which does a small refactor using a yaml anchor > and aliases (tried it and it seems to work for me). Oh, neat. Yaml is so weird. > - Would you find it valuable to set a few more coredump_filter bits? > Might be worth setting bits 2 and 3 (see [2])-- in addition to the > defaults (on Linux -- I don't know what the equivalent is on other > platforms). I don't think we need 2/3 - we don't have file backed mappings. In some situations setting bit 6 (shared huge pages) would make sense - but here we don't configure them... > - I found this line a bit confusing, so maybe it is worth a comment > sysinfo_script: > - export || true We can probably just get rid of the ||. It was just so that a missing 'export' builtin didn't cause execution to abort. But that won't randomly vanish, so it's fine. > - For the docker files, I think it is recommended to run "docker build" > only from within the specific build context (not in the top-level > directory), so I don't think you should need the dockerignore file. We don't have control over that in this case - it's cirrus invoking docker, and it just uses the whole repo as the context. > - In ci/docker/linux_debian_bullseye, you can make this change: > - apt-get clean > + apt-get clean && \ > + rm -f /var/lib/apt/lists/* Might not matter too much compared to the size of the whole thing, but it definitely won't hurt... Greetings, Andres Freund