harpoon has been renamed to nami

This commit is contained in:
Sameer Naik
2016-09-11 19:49:41 +05:30
parent 4408fe6566
commit 68831a04c6
2 changed files with 4 additions and 4 deletions

View File

@@ -21,4 +21,4 @@ EXPOSE 1337
ENTRYPOINT ["/app-entrypoint.sh"]
CMD ["harpoon", "start", "--foreground", "parse"]
CMD ["nami", "start", "--foreground", "parse"]

View File

@@ -3,14 +3,14 @@ set -e
function initialize {
# Package can be "installed" or "unpacked"
status=`harpoon inspect $1`
status=`nami inspect $1`
if [[ "$status" == *'"lifecycle": "unpacked"'* ]]; then
# Clean up inputs
inputs=""
if [[ -f /$1-inputs.json ]]; then
inputs=--inputs-file=/$1-inputs.json
fi
harpoon initialize $1 $inputs
nami initialize $1 $inputs
fi
}
@@ -25,7 +25,7 @@ export MONGODB_PORT=${MONGODB_PORT:-"27017"}
if [[ "$1" == "harpoon" && "$2" == "start" ]] || [[ "$1" == "/init.sh" ]]; then
if [[ "$1" == "nami" && "$2" == "start" ]] || [[ "$1" == "/init.sh" ]]; then
initialize parse
echo "Starting application ..."
fi