Skip to content

Commit

Permalink
Set 'hollaex cloud' command to run 'hollaex pull' before doing any cl…
Browse files Browse the repository at this point in the history
…oud operations
  • Loading branch information
kycfeel committed Mar 30, 2021
1 parent 65a1b99 commit 64291a1
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 7 deletions.
6 changes: 1 addition & 5 deletions hollaex
Original file line number Diff line number Diff line change
Expand Up @@ -6242,11 +6242,7 @@ elif [[ "$1" == "cloud" ]]; then

# # # END # # #

BITHOLLA_USER_EXCHANGE_LIST=$(echo $HOLLAEX_CLOUD_GET_EXCHANGE_INFO_REQUEST | jq '.')

BITHOLLA_USER_EXCHANGE_ORDER=EXCHANGE_ARRAY_ORDER

hollaex_pull_and_apply_exchange_data;
hollaex pull --skip

if [[ "$HOLLAEX_CLOUD_START" ]]; then

Expand Down
3 changes: 1 addition & 2 deletions tools_generator.sh
Original file line number Diff line number Diff line change
Expand Up @@ -2794,12 +2794,11 @@ function hollaex_pull_and_apply_exchange_data() {

#LOGO PATH ESCAPING
local ORIGINAL_CHARACTER_FOR_LOGO_IMAGE=$(echo $BITHOLLA_USER_EXCHANGE_LIST | jq -r ".data[$BITHOLLA_USER_EXCHANGE_ORDER].info.biz.LOGO_IMAGE";)
local HOLLAEX_CONFIGMAP_LOGO_IMAGE_OVERRIDE="${ORIGINAL_CHARACTER_FOR_LOGO_PATH//\//\\/}"
local HOLLAEX_CONFIGMAP_LOGO_IMAGE_OVERRIDE="${ORIGINAL_CHARACTER_FOR_LOGO_IMAGE//\//\\/}"

# Set the default HollaEx Server version as the maximum compatible version of the current release of CLI.
local ENVIRONMENT_DOCKER_IMAGE_VERSION_OVERRIDE="$(cat $HOLLAEX_CLI_INIT_PATH/server/package.json | jq -r '.version')"


# CONFIGMAP
sed -i.bak "s/ENVIRONMENT_EXCHANGE_NAME=.*/ENVIRONMENT_EXCHANGE_NAME=$ENVIRONMENT_EXCHANGE_NAME_OVERRIDE/" $CONFIGMAP_FILE_PATH

Expand Down

0 comments on commit 64291a1

Please sign in to comment.