File tree Expand file tree Collapse file tree
infra/scripts/deploy/java-on-aws-immersion-day Expand file tree Collapse file tree Original file line number Diff line number Diff line change 1212SCRIPT_DIR=" $( cd " $( dirname " ${BASH_SOURCE[0]} " ) " && pwd) "
1313source " ${SCRIPT_DIR} /../../lib/common.sh"
1414
15- REPO_ROOT=" $( cd " ${SCRIPT_DIR} /../../.." && pwd) "
15+ REPO_ROOT=" $( cd " ${SCRIPT_DIR} /../../../.. " && pwd) "
1616APP_DIR=" ${REPO_ROOT} /apps/unicorn-store-spring"
1717DOCKERFILES_DIR=" ${REPO_ROOT} /apps/dockerfiles"
1818IMAGE_NAME=" unicorn-store-spring"
@@ -78,6 +78,13 @@ METHODS=(
7878DEPLOY_MODE=false
7979REVERT_MODE=false
8080PRE_CLEAN=false
81+
82+ # Default to full test mode when no arguments provided
83+ if [[ $# -eq 0 ]]; then
84+ PRE_CLEAN=true
85+ DEPLOY_MODE=true
86+ REVERT_MODE=true
87+ fi
8188ONLY_METHOD=" "
8289
8390while [[ $# -gt 0 ]]; do
Original file line number Diff line number Diff line change 55SCRIPT_DIR=" $( cd " $( dirname " ${BASH_SOURCE[0]} " ) " && pwd) "
66source " ${SCRIPT_DIR} /../../lib/common.sh"
77
8- REPO_ROOT=" $( cd " ${SCRIPT_DIR} /../../.." && pwd) "
8+ REPO_ROOT=" $( cd " ${SCRIPT_DIR} /../../../.. " && pwd) "
99CONTENT_DIR=" ${REPO_ROOT} /../java-on-amazon-eks/content"
1010OUTPUT_DIR=" ${REPO_ROOT} /apps/dockerfiles"
1111
You can’t perform that action at this time.
0 commit comments