pg.ddx.io pgsql-committers@postgresql.org mailing list archivehelp / color / mirror / Atom feed
pgsql: ci: Per-repo configuration for manually trigger tasks 5+ messages / 1 participants [nested] [flat]
* pgsql: ci: Per-repo configuration for manually trigger tasks @ 2025-08-14 15:58 Andres Freund <andres@anarazel.de> 0 siblings, 0 replies; 5+ messages in thread From: Andres Freund @ 2025-08-14 15:58 UTC (permalink / raw) To: pgsql-committers@lists.postgresql.org 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(-) ^ permalink raw reply [nested|flat] 5+ messages in thread
* pgsql: ci: Per-repo configuration for manually trigger tasks @ 2025-08-14 15:58 Andres Freund <andres@anarazel.de> 0 siblings, 0 replies; 5+ messages in thread From: Andres Freund @ 2025-08-14 15:58 UTC (permalink / raw) To: pgsql-committers@lists.postgresql.org 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_15_STABLE Details ------- https://git.postgresql.org/pg/commitdiff/88f3f7fd831e81c090ec627ccb7adceb203e0d30 Modified Files -------------- .cirrus.star | 50 ++++++++++++++++++++++++++++++++++++++++++++++---- .cirrus.yml | 12 ++++++++++-- src/tools/ci/README | 11 +++++++++++ 3 files changed, 67 insertions(+), 6 deletions(-) ^ permalink raw reply [nested|flat] 5+ messages in thread
* pgsql: ci: Per-repo configuration for manually trigger tasks @ 2025-08-14 15:58 Andres Freund <andres@anarazel.de> 0 siblings, 0 replies; 5+ messages in thread From: Andres Freund @ 2025-08-14 15:58 UTC (permalink / raw) To: pgsql-committers@lists.postgresql.org 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 ------ master Details ------- https://git.postgresql.org/pg/commitdiff/49cba82bec1f4fc815f929cb57064d780ee0032a Modified Files -------------- .cirrus.star | 50 ++++++++++++++++++++++++++++++++++++++++++++++---- .cirrus.tasks.yml | 15 ++++++++------- .cirrus.yml | 12 ++++++++++-- src/tools/ci/README | 11 +++++++++++ 4 files changed, 75 insertions(+), 13 deletions(-) ^ permalink raw reply [nested|flat] 5+ messages in thread
* pgsql: ci: Per-repo configuration for manually trigger tasks @ 2025-08-14 15:58 Andres Freund <andres@anarazel.de> 0 siblings, 0 replies; 5+ messages in thread From: Andres Freund @ 2025-08-14 15:58 UTC (permalink / raw) To: pgsql-committers@lists.postgresql.org 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_18_STABLE Details ------- https://git.postgresql.org/pg/commitdiff/faa78bc1c1d4efaeef7dc6703e69aef4c6e017c3 Modified Files -------------- .cirrus.star | 50 ++++++++++++++++++++++++++++++++++++++++++++++---- .cirrus.tasks.yml | 15 ++++++++------- .cirrus.yml | 12 ++++++++++-- src/tools/ci/README | 11 +++++++++++ 4 files changed, 75 insertions(+), 13 deletions(-) ^ permalink raw reply [nested|flat] 5+ messages in thread
* pgsql: ci: Per-repo configuration for manually trigger tasks @ 2025-08-14 15:58 Andres Freund <andres@anarazel.de> 0 siblings, 0 replies; 5+ messages in thread From: Andres Freund @ 2025-08-14 15:58 UTC (permalink / raw) To: pgsql-committers@lists.postgresql.org 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_16_STABLE Details ------- https://git.postgresql.org/pg/commitdiff/965d0a0b8b4083caf7769d752973dd0edbb9d0dd Modified Files -------------- .cirrus.star | 50 ++++++++++++++++++++++++++++++++++++++++++++++---- .cirrus.tasks.yml | 10 ++++------ .cirrus.yml | 12 ++++++++++-- src/tools/ci/README | 11 +++++++++++ 4 files changed, 71 insertions(+), 12 deletions(-) ^ permalink raw reply [nested|flat] 5+ messages in thread
end of thread, other threads:[~2025-08-14 15:58 UTC | newest] Thread overview: 5+ messages (download: mbox mbox.gz follow: Atom feed) -- links below jump to the message on this page -- 2025-08-14 15:58 pgsql: ci: Per-repo configuration for manually trigger tasks Andres Freund <andres@anarazel.de> 2025-08-14 15:58 pgsql: ci: Per-repo configuration for manually trigger tasks Andres Freund <andres@anarazel.de> 2025-08-14 15:58 pgsql: ci: Per-repo configuration for manually trigger tasks Andres Freund <andres@anarazel.de> 2025-08-14 15:58 pgsql: ci: Per-repo configuration for manually trigger tasks Andres Freund <andres@anarazel.de> 2025-08-14 15:58 pgsql: ci: Per-repo configuration for manually trigger tasks 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