From: Yolanda Robla Date: Fri, 24 May 2019 08:37:09 +0000 (+0200) Subject: Add oc as a dependency X-Git-Tag: akraino_r1~12 X-Git-Url: https://gerrit.akraino.org/r/gitweb?a=commitdiff_plain;h=03f11be82f312b6156e44a897612a43373309fcc;p=kni%2Finstaller.git Add oc as a dependency It is going to be needed for deploying workloads Change-Id: Ibbd68c718a3944f8468e6f3602d7ea94fac28513 --- diff --git a/Makefile b/Makefile index accfec9..4f11ee0 100644 --- a/Makefile +++ b/Makefile @@ -46,6 +46,9 @@ clean: dependencies: @echo "Installing dependencies" @GOPATH=$(GOPATH) GOBIN=$(GOBIN) go get sigs.k8s.io/kustomize + @wget -A "openshift-client-linux-4*\.tar\.gz" -r -np -nc -nd -l1 --no-check-certificate -e robots=off https://mirror.openshift.com/pub/openshift-v4/clients/ocp/latest/ -P /tmp/ + @sudo tar -xvf /tmp/openshift-client-linux-4*.tar.gz -C /usr/local/bin/ oc + @rm -f /tmp/openshift-client-linux-4*.tar.gz deploy: dependencies @echo "Launching cluster deployment bin/$(GONAME)"