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

post-merge

Blame
    • nimrod's avatar
      e44ff1f2
      Move a bunch of stuff to the workbench image. · e44ff1f2
      nimrod authored
      - Move Bash completion of tools to the image (it makes sense to have
        them together).
      - bfg download and script.
      - Remove the binaries Makefile, remove almost all of the vendored files,
        merge everything back to a single Makefile.
      - Delete the Python requirements.txt, it's all in the image anyway.
      - Some nicer output in the Git post-merge hook.
      - RabbitMQ admin script.
      - Update the README.
      e44ff1f2
      History
      Move a bunch of stuff to the workbench image.
      nimrod authored
      - Move Bash completion of tools to the image (it makes sense to have
        them together).
      - bfg download and script.
      - Remove the binaries Makefile, remove almost all of the vendored files,
        merge everything back to a single Makefile.
      - Delete the Python requirements.txt, it's all in the image anyway.
      - Some nicer output in the Git post-merge hook.
      - RabbitMQ admin script.
      - Update the README.
    post-merge 916 B
    #!/bin/sh
    set -eux
    
    notify () { printf '\n\e[1;94m=== %s ====\e[0m\n\n' "$1" >&2; }
    
    cd "$(git rev-parse --show-toplevel)"
    notify 'Generating some configuration and private files.'
    make
    notify 'Installing Git hooks'
    Documents/bin/install-git-hooks
    notify 'Loading dconf config'
    Documents/bin/dconf-load
    notify 'Configuring Git repo'
    git config --local status.showUntrackedFiles no
    if command -v vagrant > /dev/null
    then
    	notify 'Installing Vagrant plugins'
        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
        notify 'Installing Helm plugins'
        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