From d2444128a309c7fda3054a356cf4803824386d8e Mon Sep 17 00:00:00 2001 From: Kyle Nusbaum Date: Mon, 3 Feb 2020 20:33:33 -0500 Subject: [PATCH] .circleci/config.yml: vendor gnostic for k8s.io/client-go --- .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: |