fix: 🐛 sha256sum filename mismatch + privileged SCC for buildah #162
No reviewers
Labels
No labels
Compat/Breaking
Kind/Bug
Kind/Documentation
Kind/Enhancement
Kind/Feature
Kind/OpenSpec
Kind/Security
Kind/Testing
Priority/Critical
Priority/High
Priority/Low
Priority/Medium
RFC - Request For Comments
Reviewed/Confirmed
Reviewed/Duplicate
Reviewed/Invalid
Reviewed/Won't Fix
Status/Abandoned
Status/Blocked
Status/Need More Info
hermes-attempted
hermes-needs-clarification
hermes-ready
hermes-review
hermes-wip
human-required
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set
Reference
agentic-forges/forgejo-mcp!162
Loading…
Reference in a new issue
No description provided.
Delete branch "refs/pull/162/head"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Problems found during first real pipeline run
1. Containerfile: sha256sum filename mismatch (from PR #159)
curl -sSfLo /tmp/goreleaser.tar.gzdownloads to a renamed file, butsha256sum -c goreleaser-expected.txtexpectsgoreleaser_Linux_x86_64.tar.gzin the current directory. Same bug for syft.Fix: download to the original release filename so
sha256sum -cresolves it correctly.2. build-image task: buildah requires
privileged: trueon this clusterAttempted rootless buildah approaches:
runAsUser: 1000+--isolation=chroot→ UID namespace can't map base-image UID 65532 (hi/goowns/goas UID 65532, no subUID space in pod)runAsUser: 0+anyuidSCC +--isolation=chroot→ OpenShift still places container in user namespace where writing touid_mapis not permitted (CAP_SYS_ADMINrequired for nested user namespace)--userns=host— same error; buildah internally still attempts uid_map writeResolution: grant
privilegedSCC topipelineSA inop1st-pipelinesnamespace (scoped grant viaoc adm policy add-scc-to-user privileged -z pipeline -n op1st-pipelines). This is the standard pattern for container build CI namespaces on OpenShift. Task reverts toprivileged: true.Closes forgejo-mcp-aps
op1st Pipelines as Code/on-pull-request-qb8lt is running.
Starting Pipelinerun on-pull-request-qb8lt in namespace op1st-pipelines
You can monitor the execution using the op1st Pipelines as Code PipelineRun viewer or through the command line by
using the tkn CLI with the following command:
tkn pr logs -n op1st-pipelines on-pull-request-qb8lt -fop1st Pipelines as Code/code-scans-vlvdd is running.
Starting Pipelinerun code-scans-vlvdd in namespace op1st-pipelines
You can monitor the execution using the op1st Pipelines as Code PipelineRun viewer or through the command line by
using the tkn CLI with the following command:
tkn pr logs -n op1st-pipelines code-scans-vlvdd -fop1st Pipelines as Code/code-scans-vlvdd has successfully validated your commit.
Task Statuses:
fetch-source
gitleaks-version
gitleaks
op1st Pipelines as Code/on-pull-request-qb8lt has successfully validated your commit.
Task Statuses:
fetch-source
build-and-test