From b3dd23959c096f2487ea0e8ad8e7d3cbeaf240ee Mon Sep 17 00:00:00 2001 From: Kyle Nusbaum Date: Mon, 3 Feb 2020 20:33:33 -0500 Subject: [PATCH] .circleci/config.yml pin gnostic at a v0.4.0 so k8s.io/client-go will compile. --- .circleci/config.yml | 19 +++++++++++++++++++ 1 file changed, 19 insertions(+) diff --git a/.circleci/config.yml b/.circleci/config.yml index d0d6b5b45b..35b6f0a99d 100644 --- a/.circleci/config.yml +++ b/.circleci/config.yml @@ -105,6 +105,25 @@ jobs: https://github.com/go-redis/redis contrib/go-redis/redis/vendor/github.com/go-redis/redis + - run: + name: Checkout k8s.io/client-go + # This step checks out k8s.io/client-go so we can + # vendor the dependencies. + command: > + git clone + https://github.com/kubernetes/client-go + $GOPATH/src/k8s.io/client-go + + - run: + name: Vendor gnostic + # This step vendors github.com/googleapis/gnostic in the + # k8s.io/client-go package, because it won't build with the + # current master. + command: > + git clone --branch v0.4.0 + https://github.com/googleapis/gnostic + $GOPATH/src/k8s.io/client-go/vendor/github.com/googleapis/gnostic + - run: name: Fetching dependencies command: |