Skip to content

chore: restore CentOS Stream targets in Packit config - #852

Merged
marcusburghardt merged 1 commit into
complytime:mainfrom
marcusburghardt:opsx/restore-centos-stream-targets
Sep 14, 2026
Merged

chore: restore CentOS Stream targets in Packit config#852
marcusburghardt merged 1 commit into
complytime:mainfrom
marcusburghardt:opsx/restore-centos-stream-targets

Conversation

@marcusburghardt

Copy link
Copy Markdown
Member

Summary

Re-enable CentOS Stream 9 and 10 targets for copr_build and tests Packit jobs. These were removed when go-vendor-tools was not available on CentOS Stream repos.

What changed

go-vendor-tools is now available via EPEL:

Target Package Build
EPEL 9 go-vendor-tools 0.12.0-1.el9
EPEL 10.1 go-vendor-tools 0.12.0-1.el10_1

Go version compatibility is also confirmed:

Target golang version go.mod requires Compatible
CentOS Stream 9 1.26.4 1.26.7 Yes (same minor)
CentOS Stream 10 1.26.4 1.26.7 Yes (same minor)

Companion PR

complytime-providers PR #177 applies the same change.

@marcusburghardt marcusburghardt moved this from Backlog to Ready for Review 👀 in ComplyTime planning Sep 10, 2026
@marcusburghardt marcusburghardt moved this from Ready for Review 👀 to In progress 📋 in ComplyTime planning Sep 10, 2026
@marcusburghardt
marcusburghardt force-pushed the opsx/restore-centos-stream-targets branch from de9e387 to 7eefff3 Compare September 11, 2026 10:38
Re-enable centos-stream-9 and centos-stream-10 targets for
copr_build and tests jobs. go-vendor-tools is now available
via EPEL for both platforms:

- EPEL 9:    go-vendor-tools-0.12.0-1.el9
- EPEL 10.1: go-vendor-tools-0.12.0-1.el10_1

Add EPEL additional_repos for CentOS Stream targets so the
mock buildroot can find go-vendor-tools during COPR builds.

Add generic Go version workaround to spec %prep section to
handle cases where the system Go has an older patch version
than what go.mod requires (e.g., CentOS Stream Go 1.26.7 vs
go.mod 1.26.8). Uses go\K regex anchor for reliable version
extraction.

Assisted-by: OpenCode (claude-opus-4-6)
Signed-off-by: Marcus Burghardt <maburgha@redhat.com>
@marcusburghardt
marcusburghardt force-pushed the opsx/restore-centos-stream-targets branch from 7eefff3 to 3461697 Compare September 11, 2026 11:33
@marcusburghardt
marcusburghardt marked this pull request as ready for review September 11, 2026 11:33
@marcusburghardt
marcusburghardt requested a review from a team as a code owner September 11, 2026 11:33
@marcusburghardt marcusburghardt moved this from In progress 📋 to Ready for Review 👀 in ComplyTime planning Sep 11, 2026

@sonupreetam sonupreetam left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

@gxmiranda gxmiranda left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

@marcusburghardt
marcusburghardt merged commit 30dca7f into complytime:main Sep 14, 2026
32 checks passed
@marcusburghardt
marcusburghardt deleted the opsx/restore-centos-stream-targets branch September 14, 2026 10:07
@github-project-automation github-project-automation Bot moved this from Ready for Review 👀 to Done ✔️ in ComplyTime planning Sep 14, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

Status: Done ✔️

Development

Successfully merging this pull request may close these issues.

4 participants