Source: docker-credential-gcr
Version: 2.1.32-1
Severity: wishlist
Tags: patch
User: [email protected]
Usertags: nocheck
X-Debbugs-Cc: [email protected]

Hi,

Whilst working on the Reproducible Builds effort [0], we noticed that
docker-credential-gcr could not be built reproducibly.

This is because the testsuite does not completely clean up after itself,
meaning that if the tests are skipped the contents of the binary files
differ and is thereby unreproducible.

Patch attached that deletes the two .json files.

 [0] https://reproducible-builds.org/


Regards,

-- 
      ,''`.
     : :'  :     Chris Lamb
     `. `'`      [email protected] / chris-lamb.co.uk
       `-
--- a/debian/rules      2026-05-22 08:28:03.106861720 -0700
--- b/debian/rules      2026-05-22 08:44:39.923095519 -0700
@@ -12,3 +12,5 @@
        dh_auto_build -- -ldflags="-X 
'github.com/GoogleCloudPlatform/docker-credential-gcr/v2/config.Version=$(DEB_VERSION_UPSTREAM)'"
        mv $(GOPATH)/bin/v2 $(GOPATH)/bin/docker-credential-gcr
 
+execute_after_dh_auto_test:
+       rm -f 
$(GOPATH)/src/github.com/GoogleCloudPlatform/docker-credential-gcr/v2/test/testdata/test_*.json

Reply via email to