Re: ci: Allow running mingw tests by default via environment variable

Andres Freund <andres@anarazel.de>

From: Andres Freund <andres@anarazel.de>
To: Nazir Bilal Yavuz <byavuz81@gmail.com>
Cc: Thomas Munro <thomas.munro@gmail.com>, pgsql-hackers@postgresql.org, Wolfgang Walther <walther@technowledgy.de>
Date: 2025-04-07T13:43:01Z
Lists: pgsql-hackers
Hi,

On 2025-04-07 16:03:48 +0300, Nazir Bilal Yavuz wrote:
> On Wed, 5 Mar 2025 at 18:51, Andres Freund <andres@anarazel.de> wrote:

> > I'm inclined to think we should apply to this to all branches with CI support,
> > not just master. It's kind of annoying to have CI infrastructure changes like
> > this that differ between branches.  Thoughts?
> 
> I am sharing patches per branch until we come up with a better
> solution. Some remarks:
> 
> REL_15: It doesn't have any manual tasks, so per repository trigger
> patch (Thomas' patch) is omitted.
> REL_16: Only Mingw task is manual.
> REL_17: Only Mingw task is manual.
> 
> While rebasing them, I realized that we use
> 'REPO_CI_AUTOMATIC_TRIGGER_TASKS' for all branches. So, we don't have
> per branch 'REPO_CI_AUTOMATIC_TRIGGER_TASKS' configuration option. Is
> that a problem?

I think that's not a problem. I can't think of a case where one would want to
do this only for some of the branches.  Does anybody disagree?

Greetings,

Andres Freund



Commits

  1. ci: Simplify ci-os-only handling

  2. ci: Per-repo configuration for manually trigger tasks