Skip to content
Snippets Groups Projects
Commit 00e7c6be authored by androlo's avatar androlo
Browse files

updated to 0.10.4 docker files

parent 99f99112
No related branches found
No related tags found
No related merge requests found
...@@ -7,6 +7,7 @@ ...@@ -7,6 +7,7 @@
<buildSpec> <buildSpec>
<buildCommand> <buildCommand>
<name>com.googlecode.goclipse.goBuilder</name> <name>com.googlecode.goclipse.goBuilder</name>
<triggers>clean,full,incremental,</triggers>
<arguments> <arguments>
</arguments> </arguments>
</buildCommand> </buildCommand>
......
#!/bin/sh #!/bin/sh
<<<<<<< HEAD
release_maj="0.10"
release_min="0.10.2"
=======
if [ "$CIRCLE_BRANCH" ] if [ "$CIRCLE_BRANCH" ]
then then
repo=`pwd` repo=`pwd`
...@@ -15,7 +11,6 @@ branch=${CIRCLE_BRANCH:=master} ...@@ -15,7 +11,6 @@ branch=${CIRCLE_BRANCH:=master}
release_min=$(cat $repo/version/version.go | tail -n 1 | cut -d \ -f 4 | tr -d '"') release_min=$(cat $repo/version/version.go | tail -n 1 | cut -d \ -f 4 | tr -d '"')
release_maj=$(echo $release_min | cut -d . -f 1-2) release_maj=$(echo $release_min | cut -d . -f 1-2)
>>>>>>> fix_versions
start=`pwd` start=`pwd`
image_base=quay.io/eris/erisdb image_base=quay.io/eris/erisdb
...@@ -30,4 +25,4 @@ else ...@@ -30,4 +25,4 @@ else
docker build -t $image_base:$branch -f DOCKER/Dockerfile . docker build -t $image_base:$branch -f DOCKER/Dockerfile .
fi fi
cd $start cd $start
\ No newline at end of file
#! /bin/bash #! /bin/bash
ifExit(){ ifExit(){
if [ $? -ne 0 ]; then if [[ $? != 0 ]]; then
echo "ifExit" echo "ifExit"
echo "$1" echo "$1"
for var in "$@" for var in "$@"
...@@ -13,7 +13,7 @@ ifExit(){ ...@@ -13,7 +13,7 @@ ifExit(){
} }
if0Exit(){ if0Exit(){
if [ $? -e 0 ]; then if [[ $? == 0 ]]; then
echo "if0Exit" echo "if0Exit"
echo "$1" echo "$1"
for var in "$@" for var in "$@"
...@@ -38,7 +38,7 @@ fi ...@@ -38,7 +38,7 @@ fi
# TODO: deal with chain numbers # TODO: deal with chain numbers
# and eg. $CONTAINER_NAME # and eg. $CONTAINER_NAME
CHAIN_DIR="/home/$USER/.eris/blockchains/$CHAIN_ID" CHAIN_DIR="/home/$USER/.eris/chains/$CHAIN_ID"
# set the tendermint directory # set the tendermint directory
TMROOT=$CHAIN_DIR TMROOT=$CHAIN_DIR
...@@ -50,7 +50,7 @@ fi ...@@ -50,7 +50,7 @@ fi
# our root chain # our root chain
if [ ! $ROOT_CHAIN_ID ]; then if [ ! $ROOT_CHAIN_ID ]; then
ROOT_CHAIN_ID=etcb_testnet ROOT_CHAIN_ID=etcb_testnet
fi fi
if [ ! $NODE_ADDR ]; then if [ ! $NODE_ADDR ]; then
NODE_ADDR=interblock.io:46657 NODE_ADDR=interblock.io:46657
...@@ -119,7 +119,6 @@ export ECM_PATH # set by Dockerfile ...@@ -119,7 +119,6 @@ export ECM_PATH # set by Dockerfile
export MINTX_NODE_ADDR=$NODE_ADDR export MINTX_NODE_ADDR=$NODE_ADDR
export MINTX_SIGN_ADDR=keys:4767 export MINTX_SIGN_ADDR=keys:4767
# print the version # print the version
bash $ECM_PATH/version.sh bash $ECM_PATH/version.sh
...@@ -134,14 +133,8 @@ case $CMD in ...@@ -134,14 +133,8 @@ case $CMD in
;; ;;
"run" ) $ECM_PATH/chain_run.sh "run" ) $ECM_PATH/chain_run.sh
;; ;;
<<<<<<< HEAD
"api" ) $ECM_PATH/chain_api.sh
;;
*) echo "Enter a command for starting the chain (install, new, run, api)"
=======
"register" ) $ECM_PATH/chain_register.sh "register" ) $ECM_PATH/chain_register.sh
;; ;;
*) echo "Enter a command for starting the chain (new, install, run, register)" *) echo "Enter a command for starting the chain (new, install, run, register)"
>>>>>>> fix_versions
;; ;;
esac esac
\ No newline at end of file
...@@ -4,4 +4,4 @@ import ( ...@@ -4,4 +4,4 @@ import (
) )
const Version = "0.11.6" const Version = "0.12.0"
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