Skip to content

Commit

Permalink
Do not allow tracker job starting in onprem deploy scripts
Browse files Browse the repository at this point in the history
  • Loading branch information
platfowner committed Sep 5, 2024
1 parent a686f0a commit 0300b15
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 0 deletions.
5 changes: 5 additions & 0 deletions deploy_blockchain_genesis_onprem.sh
Original file line number Diff line number Diff line change
Expand Up @@ -92,6 +92,11 @@ if [[ $SETUP_OPTION = "--setup" ]] && [[ ! $KEEP_CODE_OPTION = "--no-keep-code"
exit
fi

if [[ $PARENT_NODE_INDEX_BEGIN -lt 0 ]]; then
printf "Please use deploy_blockchain_incremental_gcp.sh instead for the tracker job.\n"
exit
fi

printf "SETUP_OPTION=$SETUP_OPTION\n"
printf "ACCOUNT_INJECTION_OPTION=$ACCOUNT_INJECTION_OPTION\n"
printf "KEEP_CODE_OPTION=$KEEP_CODE_OPTION\n"
Expand Down
5 changes: 5 additions & 0 deletions deploy_blockchain_incremental_onprem.sh
Original file line number Diff line number Diff line change
Expand Up @@ -91,6 +91,11 @@ if [[ $SETUP_OPTION = "--setup" ]] && [[ ! $KEEP_CODE_OPTION = "--no-keep-code"
exit
fi

if [[ $PARENT_NODE_INDEX_BEGIN -lt 0 ]]; then
printf "Please use deploy_blockchain_incremental_gcp.sh instead for the tracker job.\n"
exit
fi

printf "SETUP_OPTION=$SETUP_OPTION\n"
printf "ACCOUNT_INJECTION_OPTION=$ACCOUNT_INJECTION_OPTION\n"
printf "KEEP_CODE_OPTION=$KEEP_CODE_OPTION\n"
Expand Down

0 comments on commit 0300b15

Please sign in to comment.