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: Per-repo configuration for manually trigger tasks
Date: Thu, 14 Aug 2025 15:58:50 +0000
Message-ID: <E1umaLr-000Xxb-0X@gemulon.postgresql.org> (raw)

ci: Per-repo configuration for manually trigger tasks

We do not want to trigger some tasks by default, to avoid using too many
compute credits. These tasks have to be manually triggered to be run. But
e.g. for cfbot we do have sufficient resources, so we always want to start
those tasks.

With this commit, an individual repository can be configured to trigger
them automatically using an environment variable defined under
"Repository Settings", for example:

REPO_CI_AUTOMATIC_TRIGGER_TASKS="mingw netbsd openbsd"

This will enable cfbot to turn them on by default when running tests for the
Commitfest app.

Backpatch this back to PG 15, even though PG 15 does not have any manually
triggered task. Keeping the CI infrastructure the same seems advantageous.

Author: Andres Freund <andres@anarazel.de>
Co-authored-by: Thomas Munro <thomas.munro@gmail.com>
Co-authored-by: Nazir Bilal Yavuz <byavuz81@gmail.com>
Reviewed-by: Nazir Bilal Yavuz <byavuz81@gmail.com>
Discussion: https://postgr.es/m/20240413021221.hg53rvqlvldqh57i%40awork3.anarazel.de
Backpatch-through: 16

Branch
------
REL_17_STABLE

Details
-------
https://git.postgresql.org/pg/commitdiff/3d478f66b651375851c8fa04239a6558861565ec

Modified Files
--------------
.cirrus.star        | 50 ++++++++++++++++++++++++++++++++++++++++++++++----
.cirrus.tasks.yml   | 10 ++++------
.cirrus.yml         | 12 ++++++++++--
src/tools/ci/README | 11 +++++++++++
4 files changed, 71 insertions(+), 12 deletions(-)



view thread (5+ messages)  latest in thread

Message-ID: <E1umaLr-000Xxb-0X@gemulon.postgresql.org>
Permalink:  ../E1umaLr-000Xxb-0X@gemulon.postgresql.org/
Also on:    postgresql.org/message-id/E1umaLr-000Xxb-0X@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 using the --to and --cc options:
  reply via email

  To: pgsql-committers@postgresql.org
  Cc: andres@anarazel.de, pgsql-committers@lists.postgresql.org
  Subject: Re: pgsql: ci: Per-repo configuration for manually trigger tasks
  In-Reply-To: <E1umaLr-000Xxb-0X@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