Commit eb3a3930 authored by nimrod's avatar nimrod
Browse files

Don't install applications during the post-merge git hook.

parent 1ac823fc
Loading
Loading
Loading
Loading
Loading
+1 −11
Original line number Diff line number Diff line
#!/bin/sh
set -eux
cd "$(git rev-parse --show-toplevel)"
echo Installing Golang apps >&2
go get github.com/giantswarm/semver-bump || true
go get github.com/nishanths/license || true
go get github.com/jmespath/jp || true
go get github.com/spelufo/on-change || true
go get github.com/kaorimatz/mysqldump-loader || true
go get github.com/lucagrulla/cw || true
go get sigs.k8s.io/kind || true
echo Installing Python apps >&2
python3 -m pip install --user --requirement requirements.txt
echo Downloading binary and vendored files, creating generated files >&2
git clean -fX .bash_completion.d/
make all
make generated vendored
echo Installing Git hooks >&2
Documents/bin/install-git-hooks
echo Loading dconf config >&2
+3 −3
Original line number Diff line number Diff line
@@ -200,7 +200,7 @@ Documents/bin/rabbitmqadmin:

.bash_completion.d/rabbitmqadmin: Documents/bin/rabbitmqadmin
	mkdir -p $$(dirname $@)
	Documents/bin/rabbitmqadmin --bash-completion > $@
	-Documents/bin/rabbitmqadmin --bash-completion > $@

.ssh/localhost:
	ssh-keygen -t ecdsa -N '' -C localhost -f $@
@@ -209,7 +209,7 @@ Documents/bin/rabbitmqadmin:
	ssh-keygen -y -f $< > $@

.ssh/authorized_keys: .ssh/localhost.pub
	$(ansible-local) -m authorized_key -a "user=$$(whoami) key='$$(cat .ssh/localhost.pub)' key_options='from=\"127.0.0.1/8\"'"
	-$(ansible-local) -m authorized_key -a "user=$$(whoami) key='$$(cat .ssh/localhost.pub)' key_options='from=\"127.0.0.1/8\"'"

.bash_completion.d/minishift: $(DESTDIR)/bin/minishift
	mkdir -p $$(dirname $@)
@@ -220,4 +220,4 @@ Documents/bin/rabbitmqadmin:
	-$$(basename $@) completion bash > $@

.bash_completion.d/poetry:
	poetry completions bash > $@
	-poetry completions bash > $@