hack/jenkins: set GODEBUG=x509sha1=1

Temporary fix for Go 1.18 changes made in
https://tip.golang.org/doc/go1.18#sha1

Signed-off-by: Madhav Jivrajani <madhav.jiv@gmail.com>
This commit is contained in:
Madhav Jivrajani 2022-03-23 16:26:50 +05:30 committed by Davanum Srinivas
parent 031da66841
commit b6c00355f8
No known key found for this signature in database
GPG Key ID: 80D83A796103BF59

View File

@ -51,5 +51,10 @@ make generated_files
go install ./cmd/...
./hack/install-etcd.sh
# TODO(MadhavJivrajani): Temporary fix due to Go 1.18 changes.
# Please see https://tip.golang.org/doc/go1.18#sha1
GODEBUG=x509sha1=1
export GODEBUG
make test-cmd
make test-integration