Skip to content
Snippets Groups Projects
Commit c778518b authored by Constantin Jucovschi's avatar Constantin Jucovschi
Browse files

deploy scripts

parent 0bf67fe1
No related branches found
No related tags found
No related merge requests found
#!/usr/bin/env bash
set -e
oldrev=$1
newrev=$2
run() {
[ -x $1 ] && $1 $oldrev $newrev
}
echo files changed: $(git diff $oldrev $newrev --diff-filter=ACDMR --name-only | wc -l)
umask 002
git submodule sync && git submodule update --init --recursive
run deploy/before_restart
run deploy/restart && run deploy/after_restart
#!/usr/bin/bash
cd mmt-service-wrapper; mvn clean install
cd defindexer; mvn clean install
#!/bin/sh
pkill -9 -f defindexer
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment