Skip to content
Snippets Groups Projects
Select Git revision
  • 0766a001329d61f7c0fc7873ea6bd4db56fe1240
  • master default
2 results

post-merge

Blame
  • post-merge 918 B
    #!/bin/sh
    set -eux
    cd "$(git rev-parse --show-toplevel)"
    echo Downloading binary and vendored files, creating generated files >&2
    git clean -fX .bash_completion.d/
    make generated vendored
    echo Installing Git hooks >&2
    Documents/bin/install-git-hooks
    echo Loading dconf config >&2
    Documents/bin/dconf-load
    echo Configuring Git repo >&2
    git config --local status.showUntrackedFiles no
    if command -v vagrant > /dev/null
    then
    	echo Installing Vagrant plugins >&2
        for plugin in landrush vagrant-gatling-rsync vagrant-disksize
        do
            vagrant plugin list | grep -qw "$plugin" || vagrant plugin install "$plugin" || true
        done
    fi
    if command -v helm > /dev/null
    then
        echo Installing Helm plugins >&2
        eval "$(grep 'export HELM_HOME' .bashrc)"
        helm plugin list | { ! grep --silent '^diff'; } || helm plugin remove diff
        helm plugin install https://github.com/databus23/helm-diff --version master
    fi