ROX-32922: Add hermetic builds for Konflux#95
Merged
Conversation
Codecov Report✅ All modified and coverable lines are covered by tests. Additional details and impacted files@@ Coverage Diff @@
## main #95 +/- ##
=======================================
Coverage 73.88% 73.88%
=======================================
Files 30 30
Lines 1302 1302
=======================================
Hits 962 962
Misses 300 300
Partials 40 40
Flags with carried forward coverage won't be shown. Click here to find out more. ☔ View full report in Codecov by Sentry. |
E2E Test ResultsCommit: c939ea0 |
a63d42a to
95728d7
Compare
janisz
reviewed
Mar 27, 2026
janisz
approved these changes
Mar 27, 2026
a6f8913 to
82791b0
Compare
95728d7 to
c939ea0
Compare
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Description
Enables hermetic builds for the
acs-mcp-serverKonflux pipeline. Hermetic builds run with--network=none, preventing any outbound network access during the build — a requirement for Red Hat supply chain security compliance and the official release pipeline.Changes made:
konflux.Dockerfile: RemovedRUN go mod download(network call incompatible with hermetic mode; Cachi2 pre-populates the module cache before the build starts)rpms.in.yaml: New file declaringca-certificatesandopensslas RPM packages to prefetch via Cachi2, for all 4 build architecturesrpms.rhel9.repo: New DNF repo file pointing at the Red Hat CDN (BaseOS + AppStream, including source RPMs) with mTLS auth via$SSL_CLIENT_CERT/$SSL_CLIENT_KEYrpms.lock.yaml: Generated lockfile with exact NVR + SHA256 checksums for all transitive RPM dependencies, produced byrpm-lockfile-prototype.tekton/acs-mcp-server-push.yamland.tekton/acs-mcp-server-pull-request.yaml: Sethermetic: 'true'and addedprefetch-inputwith bothgomodandrpmtypes.tekton/basic-component-pipeline.yaml: AddedACTIVATION_KEY: subscription-manager-activation-key-prodto theprefetch-dependenciestask params for RPM prefetch authentication.github/renovate.json5: Addedrpm-lockfiletoenabledManagersso MintMaker automatically refreshesrpms.lock.yamlwhen packages receive security updatesValidation
rpms.lock.yamlresolvesca-certificatesandopensslsuccessfully (lockfile generated locally)AI-assisted development prompts
This PR was developed with AI assistance. Below are the prompts used:
--- Fixing CI issue with Renovate validation ---