From 03f11be82f312b6156e44a897612a43373309fcc Mon Sep 17 00:00:00 2001 From: Yolanda Robla Date: Fri, 24 May 2019 10:37:09 +0200 Subject: [PATCH] Add oc as a dependency It is going to be needed for deploying workloads Change-Id: Ibbd68c718a3944f8468e6f3602d7ea94fac28513 --- Makefile | 3 +++ 1 file changed, 3 insertions(+) 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)" -- 2.16.6