Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
13 changes: 13 additions & 0 deletions docs/deployment/specifics/packit-service.md
Original file line number Diff line number Diff line change
Expand Up @@ -93,3 +93,16 @@ To make it work, you need to:
with the volume attached. This will block the creation of the sandbox pods
because the volume can't be mounted from multiple pods, so don't forget to
delete the pod after you finished populating the cache.

## Log Detective

Deploy these templates with a Packit Service version that supports separate
Koji and Copr switches. The former `logdetective_enabled` setting is now
`log_detective_koji_enabled`: Koji analysis stays enabled in staging and
production and disabled internally. Copr analysis is opt-in via
`log_detective_copr_enabled` and is disabled in all three environments.

The old and new schemas do not accept each other's switches. Coordinate the
configuration change with the service and worker image rollout so that no
process starts with a mismatched configuration. If rolling back to the old
images, restore the old configuration as part of the same cutover.
4 changes: 3 additions & 1 deletion secrets/packit/internal/packit-service.yaml.j2
Original file line number Diff line number Diff line change
Expand Up @@ -82,4 +82,6 @@ fedora_ci:
disabled_projects_for_eln: []
disabled_projects_for_logdetective: []

logdetective_enabled: false
# Control Log Detective analysis separately for failed Koji and Copr builds.
log_detective_koji_enabled: false
log_detective_copr_enabled: false
5 changes: 3 additions & 2 deletions secrets/packit/prod/packit-service.yaml.j2
Original file line number Diff line number Diff line change
Expand Up @@ -150,7 +150,8 @@ fedora_ci:
# Skip Log Detective analysis on failed Koji builds:
disabled_projects_for_logdetective: []

# Log Detective interface server URL and token
logdetective_enabled: true
# Control Log Detective analysis separately for failed Koji and Copr builds.
log_detective_koji_enabled: true
log_detective_copr_enabled: false
logdetective_url: {{ vault.logdetective.url }}
logdetective_token: {{ vault.logdetective.token }}
5 changes: 3 additions & 2 deletions secrets/packit/stg/packit-service.yaml.j2
Original file line number Diff line number Diff line change
Expand Up @@ -171,7 +171,8 @@ fedora_ci:
# Skip Log Detective analysis on failed Koji builds:
disabled_projects_for_logdetective: []

# Log Detective interface server URL and token
logdetective_enabled: true
# Control Log Detective analysis separately for failed Koji and Copr builds.
log_detective_koji_enabled: true
log_detective_copr_enabled: false
logdetective_url: {{ vault.logdetective.url }}
logdetective_token: {{ vault.logdetective.token }}
Loading