mirror of
https://github.com/oceanprotocol/barge.git
synced 2024-11-22 09:47:04 +01:00
Merge pull request #373 from oceanprotocol/feature/multiple_predictorr_versions
multiple predictoor versions
This commit is contained in:
commit
f5cf9a1176
@ -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