Commit 09db10fd authored by nimrod's avatar nimrod
Browse files

Move the Helm plugin installation from the Makefile to the Git hook.

Same as the Vagrant plugins, this is really inside the home directory
and not globally installable (like the other binaries in the Makefile).
parent dfeffefd
Loading
Loading
Loading
Loading
+6 −0
Original line number Diff line number Diff line
@@ -29,3 +29,9 @@ then
        vagrant plugin list | grep -qw "$plugin" || vagrant plugin install "$plugin" || true
    done
fi
if command -v helm > /dev/null
then
    echo Installing Hem plugins >&2
    helm plugin remove diff
    helm plugin install https://github.com/databus23/helm-diff --version master
fi
+1 −6
Original line number Diff line number Diff line
@@ -13,7 +13,7 @@ ansible-local = ansible localhost -c local -i localhost, -e "ansible_python_inte
all: binaries vendored generated
vendored: .config/pythonrc.py .bash_completion.d/aws .bash_completion.d/docker-compose .bash_completion.d/docker-machine.bash .bash_completion.d/docker-machine.bash .travis/travis.sh .bash_completion.d/molecule Documents/bin/rabbitmqadmin .bash_completion.d/toolbox
generated: .ssh/config .bash_completion.d/helm .bash_completion.d/kops .bash_completion.d/kubectl .bash_completion.d/kompose .bash_completion.d/minikube .bash_completion.d/pipenv .bash_completion.d/pandoc .bash_completion.d/skaffold .bash_completion.d/rabbitmqadmin .ssh/localhost .ssh/localhost.pub .ssh/authorized_keys .bash_completion.d/minishift .bash_completion.d/oc .bash_completion.d/poetry
binaries: $(DESTDIR)/share/bfg/bfg.jar $(DESTDIR)/bin/rke $(DESTDIR)/bin/docker-machine $(DESTDIR)/bin/packer $(DESTDIR)/bin/terraform $(DESTDIR)/bin/vault $(DESTDIR)/bin/kubectl $(DESTDIR)/bin/kops $(DESTDIR)/bin/kompose $(DESTDIR)/bin/minikube $(DESTDIR)/bin/docker-machine-driver-kvm2 $(DESTDIR)/bin/kustomize $(DESTDIR)/bin/pack $(DESTDIR)/bin/skaffold $(DESTDIR)/bin/minishift $(DESTDIR)/bin/oc $(DESTDIR)/bin/docker-machine-driver-kvm $(HELM_HOME)/plugins/helm-diff/bin/diff $(DESTDIR)/bin/gomplate $(DESTDIR)/bin/envconsul
binaries: $(DESTDIR)/share/bfg/bfg.jar $(DESTDIR)/bin/rke $(DESTDIR)/bin/docker-machine $(DESTDIR)/bin/packer $(DESTDIR)/bin/terraform $(DESTDIR)/bin/vault $(DESTDIR)/bin/kubectl $(DESTDIR)/bin/kops $(DESTDIR)/bin/kompose $(DESTDIR)/bin/minikube $(DESTDIR)/bin/docker-machine-driver-kvm2 $(DESTDIR)/bin/kustomize $(DESTDIR)/bin/pack $(DESTDIR)/bin/skaffold $(DESTDIR)/bin/minishift $(DESTDIR)/bin/oc $(DESTDIR)/bin/docker-machine-driver-kvm $(DESTDIR)/bin/gomplate $(DESTDIR)/bin/envconsul


## Binary files
@@ -116,11 +116,6 @@ $(DESTDIR)/bin/docker-machine-driver-kvm:
	-$(download) https://github.com/dhiltgen/docker-machine-kvm/releases/download/v0.10.0/docker-machine-driver-kvm-ubuntu16.04
	-chmod +x $@

$(HELM_HOME)/plugins/helm-diff/bin/diff: $(DESTDIR)/bin/helm
	mkdir -p $(HELM_HOME)/plugins
	-helm plugin remove diff
	-$(DESTDIR)/bin/helm plugin install https://github.com/databus23/helm-diff --version master

$(DESTDIR)/bin/gomplate:
	mkdir -p $$(dirname $@)
	-$(download) https://github.com/hairyhenderson/gomplate/releases/download/v3.5.0/gomplate_$(goos)-$(goarch)