|
@@ -9,7 +9,7 @@ __dir="$(cd "$(dirname "${BASH_SOURCE[0]}")" && pwd)"
|
|
|
__kube="${__dir}"
|
|
|
__companion="$(dirname "$(dirname "${__kube}")")"
|
|
|
# Install kubectl
|
|
|
-curl -LO https://storage.googleapis.com/kubernetes-release/release/v1.11.2/bin/linux/amd64/kubectl
|
|
|
+curl -LO https://storage.googleapis.com/kubernetes-release/release/v1.18.1/bin/linux/amd64/kubectl
|
|
|
chmod +x ./kubectl
|
|
|
mkdir -p ${HOME}/.local/bin/
|
|
|
export PATH="${HOME}/.local/bin/:$PATH"
|
|
@@ -36,7 +36,6 @@ echo $KUBECONFIGVAR | python -m base64 -d > ${HOME}/.kube/config
|
|
|
echo "KUBECONFIG file written"
|
|
|
|
|
|
sleep 10s # This cost me some precious debugging time.
|
|
|
-kubectl apply -f "${__kube}/companion/companion-redis.yaml"
|
|
|
kubectl set image statefulset companion --namespace=companion companion=docker.io/transloadit/companion:$TRAVIS_COMMIT
|
|
|
sleep 10s
|
|
|
|