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: Make runs-on overridable
Date: Fri, 06 Nov 2026 20:13:36 +0000
Message-ID: <E1xPQJc-00000000ViC-235l@gemulon.postgresql.org> (raw)

ci: Make runs-on overridable

Previously what runners CI ran on was hardcoded. Unfortunately that
makes it harder to use faster or self hosted runners (e.g. in a private
repository where the runners are very slow, or self hosted runners for
cfbot).

Fix that by allowing to override the runner types via
repository/organization variables. How to do that is documented in
src/tools/ci/README.

Testing faster github hosted runners showed that we have some
dependencies on specific locations, fix most of those.

As part of this the "Determine enabled jobs" job moves to ubuntu-slim,
which the setup job already did. Normally this won't make a difference,
but seems more consistent.

This commit is backpatched to 19 to keep CI between master and 19 the
same. Soon we'll backpatch CI support to regain coverage with lost with
cirrus-ci's shutdown.

Author: Andres Freund <andres@anarazel.de>
Co-authored-by: Nazir Bilal Yavuz <byavuz81@gmail.com>
Discussion: https://postgr.es/m/a2ejn7lfqolutzz7kozalbhy3bixdrujb4buc3pgbtlk4am2ba@wbv6v7riia33
Discussion: https://postgr.es/m/CAN55FZ1BcWBsWgCCk2GQkYN6tzDxCw2hVK2m3qeiwaNXUnjLVg@mail.gmail.com
Backpatch-through: 19

Branch
------
master

Details
-------
https://git.postgresql.org/pg/commitdiff/d073ddd5180db327788e373f5a9cf660d830fddf

Modified Files
--------------
.github/workflows/pg-ci.yml | 72 ++++++++++++++++++++++++++++-----------------
src/tools/ci/README         | 21 +++++++++++++
2 files changed, 66 insertions(+), 27 deletions(-)



view thread (2+ messages)  latest in thread

Message-ID: <E1xPQJc-00000000ViC-235l@gemulon.postgresql.org>
Permalink:  ../E1xPQJc-00000000ViC-235l@gemulon.postgresql.org/
Also on:    postgresql.org/message-id/E1xPQJc-00000000ViC-235l@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: Make runs-on overridable
  In-Reply-To: <E1xPQJc-00000000ViC-235l@gemulon.postgresql.org>
  References: <E1xPQJc-00000000ViC-235l@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