Remove new predictoor flag

This commit is contained in:
trizin 2023-08-03 16:15:19 +03:00 committed by GitHub
parent 823c342e4a
commit f9ca2c12f7
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 28 deletions

View File

@ -278,28 +278,6 @@ while :; do
printf $COLOR_Y'Ocean subgraph will not be deployed, the last deployment (if any) will be intact ...\n\n'$COLOR_RESET
;;
--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=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
@ -311,17 +289,12 @@ while :; do
# 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}
export PDR_BACKEND_VERSION=${PDR_BACKEND_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