Show More
@@ -500,8 +500,17 b' dev_tools_vcs_command() {' | |||
|
500 | 500 | docker ps -q --filter "name=$container_name" | grep -q . && echo $container_name found || echo $container_name not found |
|
501 | 501 | docker ps -q --filter "name=$container_name" | grep -q . && docker stop -t 120 $container_name && docker rm -fv $container_name |
|
502 | 502 | |
|
503 | if [[ -v WORKSPACE_HOME ]]; | |
|
504 | then | |
|
505 | DEFAULT_WORKSPACE_HOME=$WORKSPACE_HOME | |
|
506 | else | |
|
507 | DEFAULT_WORKSPACE_HOME=/media/psf/Home/workspace | |
|
508 | fi | |
|
509 | ||
|
510 | echo "Using default workspace path: $DEFAULT_WORKSPACE_HOME" | |
|
511 | ||
|
503 | 512 | eval " |
|
504 | ./rcstack stack --env-file-path .custom/.dev.env rhodecode -f docker-compose-apps.dev.yaml \ | |
|
513 | WORKSPACE_HOME=$DEFAULT_WORKSPACE_HOME ./rcstack stack --env-file-path .custom/.dev.env rhodecode -f docker-compose-apps.dev.yaml \ | |
|
505 | 514 | run -e ENV_FILE= -e RC_ENV_FILE= -e RC_APP_TYPE=rhodecode_bash --publish 10010:10010 --rm --use-aliases \ |
|
506 | 515 | --workdir=\"/home/rhodecode/rhodecode-vcsserver\" \ |
|
507 | 516 | --name=\"$container_name\" vcsserver bash" |
@@ -515,8 +524,17 b' dev_tools_ee_command() {' | |||
|
515 | 524 | docker ps -q --filter "name=$container_name" | grep -q . && echo $container_name found || echo $container_name not found |
|
516 | 525 | docker ps -q --filter "name=$container_name" | grep -q . && docker stop $container_name && docker rm -fv $container_name |
|
517 | 526 | |
|
527 | if [[ -v WORKSPACE_HOME ]]; | |
|
528 | then | |
|
529 | DEFAULT_WORKSPACE_HOME=$WORKSPACE_HOME | |
|
530 | else | |
|
531 | DEFAULT_WORKSPACE_HOME=/media/psf/Home/workspace | |
|
532 | fi | |
|
533 | ||
|
534 | echo "Using default workspace path: $DEFAULT_WORKSPACE_HOME" | |
|
535 | ||
|
518 | 536 | eval " |
|
519 | ./rcstack stack --env-file-path .custom/.dev.env rhodecode -f docker-compose-apps.dev.yaml \ | |
|
537 | WORKSPACE_HOME=$DEFAULT_WORKSPACE_HOME ./rcstack stack --env-file-path .custom/.dev.env rhodecode -f docker-compose-apps.dev.yaml \ | |
|
520 | 538 | run -e ENV_FILE= -e RC_ENV_FILE= -e RC_APP_TYPE=rhodecode_bash --rm --use-aliases \ |
|
521 | 539 | --publish 10020:10020 \ |
|
522 | 540 | --workdir=\"/home/rhodecode/rhodecode-enterprise-ee\" \ |
@@ -532,8 +550,17 b' dev_tools_ce_command() {' | |||
|
532 | 550 | docker ps -q --filter "name=$container_name" | grep -q . && echo $container_name found || echo $container_name not found |
|
533 | 551 | docker ps -q --filter "name=$container_name" | grep -q . && docker stop -t 120 $container_name && docker rm -fv $container_name |
|
534 | 552 | |
|
553 | if [[ -v WORKSPACE_HOME ]]; | |
|
554 | then | |
|
555 | DEFAULT_WORKSPACE_HOME=$WORKSPACE_HOME | |
|
556 | else | |
|
557 | DEFAULT_WORKSPACE_HOME=/media/psf/Home/workspace | |
|
558 | fi | |
|
559 | ||
|
560 | echo "Using default workspace path: $DEFAULT_WORKSPACE_HOME" | |
|
561 | ||
|
535 | 562 | eval " |
|
536 | ./rcstack stack --env-file-path .custom/.dev.env rhodecode -f docker-compose-apps.dev.yaml \ | |
|
563 | WORKSPACE_HOME=$DEFAULT_WORKSPACE_HOME ./rcstack stack --env-file-path .custom/.dev.env rhodecode -f docker-compose-apps.dev.yaml \ | |
|
537 | 564 | run -e ENV_FILE= -e RC_ENV_FILE= -e RC_APP_TYPE=rhodecode_bash --publish 10020:10020 --rm --use-aliases \ |
|
538 | 565 | --workdir=\"/home/rhodecode/rhodecode-enterprise-ce\" \ |
|
539 | 566 | --name=\"$container_name\" rhodecode bash" |
@@ -23,11 +23,11 b' rcstack_usage() {' | |||
|
23 | 23 | printf "rcstack\n" |
|
24 | 24 | echo |
|
25 | 25 | |
|
26 | printf " CLI for installing and managing RhodeCode Cluster Stack \nSupport:\n https://community.rhodecode.com\n" | |
|
26 | printf " CLI for installing and managing RhodeCode Cluster Stack \nSupport:\n https://community.rhodecode.com\nDocs: https://docs.rhodecode.com/rcstack\n" | |
|
27 | 27 | echo |
|
28 | 28 | |
|
29 | 29 | else |
|
30 | printf "rcstack - CLI for installing and managing RhodeCode Cluster Stack \nSupport: https://community.rhodecode.com\n" | |
|
30 | printf "rcstack - CLI for installing and managing RhodeCode Cluster Stack \nSupport: https://community.rhodecode.com\nDocs: https://docs.rhodecode.com/rcstack\n" | |
|
31 | 31 | echo |
|
32 | 32 | |
|
33 | 33 | fi |
General Comments 0
You need to be logged in to leave comments.
Login now