mirror of
https://github.com/oceanprotocol/barge.git
synced 2024-12-02 05:57:21 +01:00
multiple predictoor versions
This commit is contained in:
parent
88f7813282
commit
2bf56ed49a
@ -294,10 +294,39 @@ while :; do
|
||||
# Enforce images
|
||||
export CONTRACTS_VERSION=predictoor2
|
||||
export SUBGRAPH_VERSION=predictoor
|
||||
export PDR_TRUEVAL_VERSION=v0.0.1
|
||||
export PDR_PREDICTOOR_VERSION=v0.0.1
|
||||
export PDR_TRADER_VERSION=v0.0.1
|
||||
export PDR_PUBLISHER_VERSION=v0.0.1
|
||||
export PDR_DFBUYER_VERSION=v0.0.1
|
||||
|
||||
# replicate true blockchain behiavour
|
||||
export GANACHE_INSTAMINE=strict
|
||||
export GANACHE_BLOCKTIME=1
|
||||
;;
|
||||
--new-predictoor)
|
||||
# Add what we need
|
||||
COMPOSE_FILES+=" -f ${COMPOSE_DIR}/thegraph.yml"
|
||||
# We should remove what is not needed for now, but ocean,py requires both aqua & provider
|
||||
#COMPOSE_FILES="${COMPOSE_FILES/ -f ${COMPOSE_DIR}\/provider.yml/}"
|
||||
#COMPOSE_FILES="${COMPOSE_FILES/ -f ${COMPOSE_DIR}\/redis.yml/}"
|
||||
#COMPOSE_FILES="${COMPOSE_FILES/ -f ${COMPOSE_DIR}\/aquarius.yml/}"
|
||||
#COMPOSE_FILES="${COMPOSE_FILES/ -f ${COMPOSE_DIR}\/elasticsearch.yml/}"
|
||||
#COMPOSE_FILES="${COMPOSE_FILES/ -f ${COMPOSE_DIR}\/dashboard.yml/}"
|
||||
# Enforce images
|
||||
export CONTRACTS_VERSION=predictoor3
|
||||
export SUBGRAPH_VERSION=predictoor3
|
||||
export PDR_TRUEVAL_VERSION=${PDR_TRUEVAL_VERSION:-latest}
|
||||
export PDR_PREDICTOOR_VERSION=${PDR_PREDICTOOR_VERSION:-latest}
|
||||
export PDR_TRADER_VERSION=${PDR_TRADER_VERSION:-latest}
|
||||
export PDR_PUBLISHER_VERSION=${PDR_PUBLISHER_VERSION:-latest}
|
||||
export PDR_DFBUYER_VERSION=${PDR_DFBUYER_VERSION:-latest}
|
||||
|
||||
# replicate true blockchain behiavour
|
||||
export GANACHE_INSTAMINE=strict
|
||||
export GANACHE_BLOCKTIME=1
|
||||
;;
|
||||
|
||||
--with-pdr-trueval)
|
||||
COMPOSE_FILES+=" -f ${COMPOSE_DIR}/pdr-trueval.yml"
|
||||
printf $COLOR_Y'Starting with pdr-trueval...\n\n'$COLOR_RESET
|
||||
|
Loading…
Reference in New Issue
Block a user