pg.ddx.io  pgsql-committers@postgresql.org mailing list archive  
help / color / mirror / Atom feed
pgsql: ci: Make runs-on overridable
2+ messages / 1 participants
[nested] [flat]

* pgsql: ci: Make runs-on overridable
@ 2026-11-06 20:13 Andres Freund <andres@anarazel.de>
  0 siblings, 0 replies; 2+ messages in thread

From: Andres Freund @ 2026-11-06 20:13 UTC (permalink / raw)
  To: pgsql-committers@lists.postgresql.org

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(-)



^ permalink  raw  reply  [nested|flat] 2+ messages in thread

* pgsql: ci: Make runs-on overridable
@ 2026-11-06 20:13 Andres Freund <andres@anarazel.de>
  0 siblings, 0 replies; 2+ messages in thread

From: Andres Freund @ 2026-11-06 20:13 UTC (permalink / raw)
  To: pgsql-committers@lists.postgresql.org

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
------
REL_19_STABLE

Details
-------
https://git.postgresql.org/pg/commitdiff/327f3b099960e1b5f47a47f2792eba20a4f12f18

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



^ permalink  raw  reply  [nested|flat] 2+ messages in thread


end of thread, other threads:[~2026-11-06 20:13 UTC | newest]

Thread overview: 2+ messages (download: mbox mbox.gz follow: Atom feed)
-- links below jump to the message on this page --
2026-11-06 20:13 pgsql: ci: Make runs-on overridable Andres Freund <andres@anarazel.de>
2026-11-06 20:13 pgsql: ci: Make runs-on overridable Andres Freund <andres@anarazel.de>

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