-
Notifications
You must be signed in to change notification settings - Fork 2
chore(deps): update registry.access.redhat.com/ubi9/go-toolset docker tag to v9.8-1782852234 #2061
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. Weβll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Changes from all commits
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
| Original file line number | Diff line number | Diff line change |
|---|---|---|
|
|
@@ -5,12 +5,12 @@ ARG BUILDPLATFORM | |
|
|
||
| # Verify that all code, including integration tests, compiles successfully. | ||
| # This stage catches build failures early before the main build proceeds. | ||
| FROM --platform=$BUILDPLATFORM registry.access.redhat.com/ubi9/go-toolset:9.8-1782717933 AS verify-test | ||
| FROM --platform=$BUILDPLATFORM registry.access.redhat.com/ubi9/go-toolset:9.8-1782852234 AS verify-test | ||
| WORKDIR /usr/src/bpfman-operator | ||
| COPY . . | ||
| RUN go test -mod vendor -tags=integration_tests -c -o /dev/null ./test/integration/... && touch /tmp/verify-test.done | ||
|
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. π― Functional Correctness | π‘ Minor | β‘ Quick win π§© Analysis chainπ Script executed: #!/bin/bash
set -euo pipefail
echo "Go package directories under test/integration:"
fd -t f -e go . test/integration | xargs -r -n1 dirname | sort -u
echo
count="$(fd -t f -e go . test/integration | xargs -r -n1 dirname | sort -u | wc -l | tr -d ' ')"
echo "Unique package dirs: ${count}"
if [ "${count}" -gt 1 ]; then
echo "WARNING: multiple package directories detected; 'go test -c -o /dev/null ./test/integration/...' is likely fragile."
fiRepository: openshift/bpfman-operator Length of output: 401 Narrow the π€ Prompt for AI Agents |
||
|
|
||
| FROM --platform=$BUILDPLATFORM registry.access.redhat.com/ubi9/go-toolset:9.8-1782717933 AS bpfman-operator-build | ||
| FROM --platform=$BUILDPLATFORM registry.access.redhat.com/ubi9/go-toolset:9.8-1782852234 AS bpfman-operator-build | ||
|
|
||
| ARG BUILDVERSION | ||
| ARG BUILDPLATFORM | ||
|
|
||
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
π Security & Privacy | π Major | ποΈ Heavy lift
Avoid copying the full repository into the verification stage.
Line 10 adds
COPY . .to a new stage, which violates the container policy and unnecessarily broadens what lands in build layers/cache. Copy only the files and directories needed for./test/integration/.... As per path instructions,COPY specific files, not entire context.π€ Prompt for AI Agents
Source: Path instructions