mirror of
https://github.com/actions/runner-images.git
synced 2025-12-19 00:06:57 +00:00
Merge pull request #1515 from paolomainardi/feature/install-kustomize-without-snap
Install kustomize without snap
This commit is contained in:
@@ -24,7 +24,9 @@ curl -LO https://storage.googleapis.com/minikube/releases/latest/minikube-linux-
|
|||||||
sudo install minikube-linux-amd64 /usr/local/bin/minikube
|
sudo install minikube-linux-amd64 /usr/local/bin/minikube
|
||||||
|
|
||||||
# Install kustomize
|
# Install kustomize
|
||||||
sudo snap install kustomize
|
download_url="https://raw.githubusercontent.com/kubernetes-sigs/kustomize/master/hack/install_kustomize.sh"
|
||||||
|
curl -s "$download_url" | bash
|
||||||
|
mv kustomize /usr/local/bin
|
||||||
|
|
||||||
# Run tests to determine that the software installed as expected
|
# Run tests to determine that the software installed as expected
|
||||||
echo "Testing to make sure that script performed as expected, and basic scenarios work"
|
echo "Testing to make sure that script performed as expected, and basic scenarios work"
|
||||||
@@ -58,4 +60,4 @@ DocumentInstalledItem "helm ($(helm version --short |& head -n 1))"
|
|||||||
# minikube version output already has word minikube in it. example minikube version: v1.9.2
|
# minikube version output already has word minikube in it. example minikube version: v1.9.2
|
||||||
DocumentInstalledItem "$(minikube version --short)"
|
DocumentInstalledItem "$(minikube version --short)"
|
||||||
# kustomize version output has "{} in it". example {kustomize/v3.8.1 2020-07-16T00:58:46Z }
|
# kustomize version output has "{} in it". example {kustomize/v3.8.1 2020-07-16T00:58:46Z }
|
||||||
DocumentInstalledItem "kustomize ($(kustomize version --short))"
|
DocumentInstalledItem "kustomize ($(kustomize version --short))"
|
||||||
|
|||||||
Reference in New Issue
Block a user