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 1mZfLR-0007t8-QM for pgsql-hackers@arkaria.postgresql.org; Sun, 10 Oct 2021 20:22:54 +0000 Received: from localhost ([127.0.0.1] helo=malur.postgresql.org) by malur.postgresql.org with esmtp (Exim 4.92) (envelope-from ) id 1mZfLQ-00067X-Ls for pgsql-hackers@arkaria.postgresql.org; Sun, 10 Oct 2021 20:22:52 +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 1mZfLP-00066v-L8 for pgsql-hackers@lists.postgresql.org; Sun, 10 Oct 2021 20:22:52 +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 1mZfLN-000308-5N for pgsql-hackers@postgresql.org; Sun, 10 Oct 2021 20:22:50 +0000 Received: from compute6.internal (compute6.nyi.internal [10.202.2.46]) by mailout.west.internal (Postfix) with ESMTP id F3D8B32009F8; Sun, 10 Oct 2021 16:22:46 -0400 (EDT) Received: from mailfrontend2 ([10.202.2.163]) by compute6.internal (MEProxy); Sun, 10 Oct 2021 16:22:47 -0400 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=fm2; bh=B/+YAHzOy76tluA4GrXstYhelBm VG+skCPWC0/SBSFE=; b=pGDAV+ColjsK5iQqo8R3QubBF3RvHvBkz/5vCdVJ009 2NBqVYBM/A+oFVQKXQoRpMhcKLlI8TGV5GaH1OxQD2FtethhRM1u5+/QjrdXtL1J oQ1WkWT5kTvjK0y0bMFy/VHEpHqioTMjkwFenw9Z9B018bTwm+SyAd80gHDFHwwg NffJRQx2d9CLmXCfQxxIdcm/PFnwcYotdMHrUzTqpXRpLa+B5Rd0jA/zc2lhg+OO kolZtMAxxsBMLKhlz0jIUcqGOFlDCShc/pvv26BRj4goWuIM7gppOZzrOOqrOlN5 cB7issncqAsIHYsXiZhl3FEnNsRZJZU1udjAogAiP/A== 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=B/+YAH zOy76tluA4GrXstYhelBmVG+skCPWC0/SBSFE=; b=Lq4B0hD5vS+C0oQOM/aunt skT8rRr1Hw2NS4xUReSut7dyRensSkYJf1LQzd275kOti6AxSZ15g9LMvoW+xNgs sZpswVfd4P5pbaOAdJSVmjT0uenWW8r6H5pTZoIUBG9aaQYsg+tupaT3AE49ikh6 Z0ezI1J6uoCzKsC6FvYl2uRm0xWJEj5xElI90QldXcUoisR8IR+3I7ZlKgy/E2JC yW7rTJcAP6BwQem8JnxbAZmC9f5ZOm36U4krQTXCCF6Hus8UdHuKAlzg4f+eeWj9 FXHA+8uWWtB6KsLP+xumPPMU7flqEjqq4d34U3Rz6oNAMhU2jNUHpZ6/fSq1K54g == X-ME-Sender: X-ME-Received: X-ME-Proxy-Cause: gggruggvucftvghtrhhoucdtuddrgedvtddrvddtgedgudegkecutefuodetggdotefrod ftvfcurfhrohhfihhlvgemucfhrghsthforghilhdpqfgfvfdpuffrtefokffrpgfnqfgh necuuegrihhlohhuthemuceftddtnecusecvtfgvtghiphhivghnthhsucdlqddutddtmd enucfjughrpeffhffvuffkfhggtggujgesthdtredttddtvdenucfhrhhomheptehnughr vghsucfhrhgvuhhnugcuoegrnhgurhgvshesrghnrghrrgiivghlrdguvgeqnecuggftrf grthhtvghrnhepudekhfekleeugeevteehleffffejgeelueduleeffeeutdelffeujeff hfeuffdunecuvehluhhsthgvrhfuihiivgeptdenucfrrghrrghmpehmrghilhhfrhhomh eprghnughrvghssegrnhgrrhgriigvlhdruggv X-ME-Proxy: Received: by mail.messagingengine.com (Postfix) with ESMTPA; Sun, 10 Oct 2021 16:22:46 -0400 (EDT) Date: Sun, 10 Oct 2021 13:22:45 -0700 From: Andres Freund To: Peter Eisentraut Cc: pgsql-hackers@postgresql.org, Thomas Munro , Andrew Dunstan Subject: Re: Adding CI to our tree Message-ID: <20211010202245.wigckuck3dbwrnah@alap3.anarazel.de> References: <20211001222752.wrz7erzh4cajvgp6@alap3.anarazel.de> <51c3e6f6-6455-f632-677d-939a61532962@enterprisedb.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <51c3e6f6-6455-f632-677d-939a61532962@enterprisedb.com> List-Id: List-Help: List-Subscribe: List-Post: List-Owner: List-Archive: Archived-At: Precedence: bulk Hi, On 2021-10-10 21:48:09 +0200, Peter Eisentraut wrote: > On 02.10.21 00:27, Andres Freund wrote: > > The attached patch adds CI using cirrus-ci. > > I like this in principle. But I don't understand what the docker stuff is > about. I have used Cirrus CI before, and didn't have to do anything about > Docker. This could use some explanation. You don't *have* to do anything about docker - but especially for windows it takes longer to build without your own container, because we'd need to install our dependencies every time. And that turns out to take a while. Right now the docker containers are built as part of CI (cirrus rebuilds them when the container definition changes), but that doesn't have to be that way, we could do so independently of cirrus, so that they are usable on other platforms as well - although it's advantageous to use the cirrus containers as the base, as they're cached on the buildhosts. In principle we could also use docker for the linux tests, but I found that we can get better results using full blown virtual machines. Those I currently build from a separate repo, as mentioned upthread. There is a linux docker container, but that currently runs a separate task that compiles with -Werror for gcc, clang with / without asserts. That's a separate task so that compile warnings don't prevent one from seeing whether tests worked etc. One thing I was thinking of adding to the "compile warning" task was to cross-compile postgres from linux using mingw - that's a lot faster than running the windows builds, and it's not too hard to break that accidentally. Greetings, Andres Freund