diff --git a/.circleci/config.yml b/.circleci/config.yml index d0d6b5b45b..8ebad68af2 100644 --- a/.circleci/config.yml +++ b/.circleci/config.yml @@ -105,6 +105,15 @@ jobs: https://github.com/go-redis/redis contrib/go-redis/redis/vendor/github.com/go-redis/redis + - run: + name: Vendor github.com/googleapis/gnostic for k8s.io/client-go + # This step checks out k8s.io/client-go and vendors + # github.com/googleapis/gnostic to fix a breaking change made in + # gnostic. See kubernetes/client-go#731 + command: | + git clone https://github.com/kubernetes/client-go $GOPATH/src/k8s.io/client-go + 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: |