pg.ddx.io  pgsql-committers@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Andres Freund <andres@anarazel.de>
To: pgsql-committers@lists.postgresql.org
Subject: pgsql: ci: Add continuous integration for github repositories via cirru
Date: Fri, 31 Dec 2021 03:17:10 +0000
Message-ID: <E1n38Pm-0004LN-3q@gemulon.postgresql.org> (raw)

ci: Add continuous integration for github repositories via cirrus-ci.

Currently FreeBSD, Linux, macOS and Windows (Visual Studio) are tested.

The main goal of this integration is to make it easier to test in-development
patches across multiple platforms. This includes improving the testing done
automatically by cfbot [1] for commitfest entries.  It is *not* the goal to
supersede the buildfarm.

cirrus-ci [2] was chosen because it was already in use for cfbot, allows using
full VMs, has good OS coverage and allows accessing the full test results
without authentication (like a github account).  It might be worth adding
support for further CI providers, particularly ones supporting other git
forges, in the future.

To keep CI times tolerable, most platforms use pre-generated images. Some
platforms use containers, others use full VMs.

For instructions on how to enable the CI integration in a repository and
further details, see src/tools/ci/README

[1] http://cfbot.cputube.org/
[2] https://cirrus-ci.org/

Author: Andres Freund <andres@anarazel.de>
Author: Thomas Munro <tmunro@postgresql.org>
Author: Melanie Plageman <melanieplageman@gmail.com>
Reviewed-By: Melanie Plageman <melanieplageman@gmail.com>
Reviewed-By: Justin Pryzby <pryzby@telsasoft.com>
Reviewed-By: Thomas Munro <tmunro@postgresql.org>
Reviewed-By: Peter Eisentraut <peter.eisentraut@enterprisedb.com>
Discussion: https://postgr.es/m/20211001222752.wrz7erzh4cajvgp6@alap3.anarazel.de

Branch
------
master

Details
-------
https://git.postgresql.org/pg/commitdiff/93d97349461347d952e8cebdf62f5aa84b4bd20a

Modified Files
--------------
.cirrus.yml                             | 547 ++++++++++++++++++++++++++++++++
src/tools/ci/README                     |  63 ++++
src/tools/ci/cores_backtrace.sh         |  50 +++
src/tools/ci/gcp_freebsd_repartition.sh |  28 ++
src/tools/ci/pg_ci_base.conf            |  14 +
src/tools/ci/windows_build_config.pl    |  13 +
6 files changed, 715 insertions(+)



Message-ID: <E1n38Pm-0004LN-3q@gemulon.postgresql.org>
Permalink:  ../E1n38Pm-0004LN-3q@gemulon.postgresql.org/
Also on:    postgresql.org/message-id/E1n38Pm-0004LN-3q@gemulon.postgresql.org

 · 

reply

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Reply to all the recipients from your mail client; the link fills in
  the headers below: reply via email
  Some clients, webmail especially, drop In-Reply-To and References from
  a link, and the reply then starts a new thread: use the mbox below.

  To: pgsql-committers@postgresql.org
  Cc: andres@anarazel.de
  Subject: Re: pgsql: ci: Add continuous integration for github repositories via cirru
  In-Reply-To: <E1n38Pm-0004LN-3q@gemulon.postgresql.org>
  References: <E1n38Pm-0004LN-3q@gemulon.postgresql.org>

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox