Skip to content

Commit bc1ce19

Browse files
committed
Fixed AI review comments
1 parent 551cb4a commit bc1ce19

5 files changed

Lines changed: 373 additions & 301 deletions

File tree

Makefile

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -36,6 +36,12 @@ build:
3636
go build -o bin/cluster-baremetal-operator main.go
3737

3838
# Build OTE test extension binary
39+
# GONOSUMDB bypasses checksum verification for origin module - required because origin uses pseudo-versions not in public checksum database
40+
# CGO_ENABLED=0 produces static binary for container compatibility
41+
# GO_COMPLIANCE_POLICY="exempt_all" is OpenShift-specific variable that exempts test binaries from internal compliance checks
42+
# - Used consistently across OpenShift test extensions (see openshift-tests, oc-tests-ext, etc.)
43+
# - Blanket exemption is standard for test-only binaries that don't ship to customers
44+
# - Test extensions run in CI environments only, not in production clusters
3945
build-tests:
4046
GONOSUMDB="github.com/openshift/origin" CGO_ENABLED=0 GO_COMPLIANCE_POLICY="exempt_all" \
4147
go build -mod=mod -o bin/cluster-baremetal-tests-ext ./cmd/cluster-baremetal-tests-ext

0 commit comments

Comments
 (0)