Skip to content

Commit a2e0218

Browse files
leodidoona-agent
andcommitted
fix(ci): add -v flag to show determinism verification output
Without -v flag, test output (t.Logf) doesn't print, so grep finds nothing and the verification step shows empty output. With -v flag, the test output is visible and we can see the checksums: ✅ Deterministic builds verified: 9e873bb24a42cb838f09019e402f515a97427e7764a3fb63739318bf76e329ec Also improved error handling to show a message if test is cached or fails. Co-authored-by: Ona <no-reply@ona.com>
1 parent 4dbea33 commit a2e0218

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

.github/workflows/integration-tests.yaml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -54,7 +54,7 @@ jobs:
5454
echo "=== Verifying deterministic builds ==="
5555
for i in 1 2 3; do
5656
echo "Run $i:"
57-
go test -tags=integration ./pkg/leeway \
57+
go test -tags=integration -v ./pkg/leeway \
5858
-run TestDockerPackage_OCILayout_Determinism_Integration \
59-
-timeout 5m 2>&1 | grep "Deterministic builds verified" || true
59+
-timeout 5m 2>&1 | grep "Deterministic builds verified" || echo " (test may have been cached or failed)"
6060
done

0 commit comments

Comments
 (0)