Skip to content

Commit a437877

Browse files
committed
Add Fedora CI opt-in/opt-out config options to packit-service.yaml
Also clarifies the Fedora CI enabled_project comment. Since the Fedora CI is now on by default in production, the warning wording is a bit misleading.
1 parent 6be88b1 commit a437877

2 files changed

Lines changed: 31 additions & 15 deletions

File tree

secrets/packit/prod/packit-service.yaml.j2

Lines changed: 8 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -134,7 +134,14 @@ rate_limit_threshold: 200
134134

135135
fedora_ci_run_by_default: true
136136

137-
disabled_projects_for_fedora_ci: []
137+
# Per-project Fedora CI settings.
138+
fedora_ci:
139+
# Completely disable Fedora CI for these projects (used in opt-out mode):
140+
disabled_projects: []
141+
# Skip ELN scratch builds and tests:
142+
disabled_projects_for_eln: []
143+
# Skip Log Detective analysis on failed Koji builds:
144+
disabled_projects_for_logdetective: []
138145

139146
# Log Detective interface server URL and token
140147
logdetective_enabled: false

secrets/packit/stg/packit-service.yaml.j2

Lines changed: 23 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -141,20 +141,29 @@ default_parse_time_macros:
141141

142142
rate_limit_threshold: 200
143143

144-
# [WARNING] When adding enabled projects, keep in mind they should be handled by
145-
# »just one« instance to minimize clashing and undefined behavior, i.e., beta
146-
# users should decide whether they're opting in for:
147-
# - [X] the bleeding edge (staging) instance, or
148-
# - [ ] the production instance that follows weekly release schedule.
149-
enabled_projects_for_fedora_ci:
150-
- https://src.fedoraproject.org/rpms/dbcsr
151-
- https://src.fedoraproject.org/rpms/packit
152-
- https://src.fedoraproject.org/rpms/python-ogr
153-
- https://src.fedoraproject.org/rpms/python-scikit-build
154-
- https://src.fedoraproject.org/rpms/python-scikit-build-core
155-
- https://src.fedoraproject.org/rpms/python-specfile
156-
- https://src.fedoraproject.org/rpms/spglib
157-
- https://src.fedoraproject.org/tests/packit
144+
fedora_ci_run_by_default: false
145+
146+
# Per-project Fedora CI settings.
147+
fedora_ci:
148+
# Used in opt-in mode (fedora_ci_run_by_default=false)
149+
# Projects listed here are processed by the staging instance for testing
150+
# new features. They will also be processed by production (which runs for
151+
# all packages), resulting in duplicate CI checks on PRs.
152+
enabled_projects:
153+
- https://src.fedoraproject.org/rpms/dbcsr
154+
- https://src.fedoraproject.org/rpms/packit
155+
- https://src.fedoraproject.org/rpms/python-ogr
156+
- https://src.fedoraproject.org/rpms/python-scikit-build
157+
- https://src.fedoraproject.org/rpms/python-scikit-build-core
158+
- https://src.fedoraproject.org/rpms/python-specfile
159+
- https://src.fedoraproject.org/rpms/spglib
160+
- https://src.fedoraproject.org/tests/packit
161+
# Completely disable Fedora CI for these projects (used in opt-out mode):
162+
disabled_projects: []
163+
# Skip ELN scratch builds and tests:
164+
disabled_projects_for_eln: []
165+
# Skip Log Detective analysis on failed Koji builds:
166+
disabled_projects_for_logdetective: []
158167

159168
# Log Detective interface server URL and token
160169
logdetective_enabled: true

0 commit comments

Comments
 (0)