Skip to content

Commit 270eae3

Browse files
committed
Install kubectl
1 parent 517d8ef commit 270eae3

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

wercker.yml

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -89,7 +89,10 @@ integration-test: # run in weblogic container so that wlst is available
8989
sed -i -e "s,%CLIENT_KEY_DATA%,$K8S_17_CLIENT_KEY_DATA,g" /pipeline/source/build/kube.config
9090
export KUBECONFIG="/pipeline/source/build/kube.config"
9191
92-
yum -y install kubectl
92+
# install kubectl
93+
curl -LO https://storage.googleapis.com/kubernetes-release/release/$(curl -s https://storage.googleapis.com/kubernetes-release/release/stable.txt)/bin/linux/amd64/kubectl
94+
chmod +x ./kubectl
95+
mv ./kubectl /usr/local/bin/kubectl
9396
9497
kubectl get all
9598

0 commit comments

Comments
 (0)