Commit 4780c3fe authored by QA-甘 盛聪's avatar QA-甘 盛聪

update

parent 9b566547
#!/bin/bash #!/bin/bash
project_name=$1 project_name=$1
git_branch=$2 git_branch=$2
pwd_path="/home/qa_shell_script" pwd_path="/home/qa-deploy-utils/qa_shell_script"
config_server="$pwd_path/config_server" config_server="$pwd_path/config_server"
project_path=`cat $config_server/project_path.sh` project_path=`cat $config_server/project_path.sh`
config_path=`cat $config_server/config_path.sh` config_path=`cat $config_server/config_path.sh`
......
#!/bin/bash #!/bin/bash
project_type=$1 project_type=$1
git_branch=$2 git_branch=$2
pwd_path="/home/qa_shell_script" pwd_path="/home/qa-deploy-utils/qa_shell_script"
config_server="$pwd_path/config_server" config_server="$pwd_path/config_server"
project_path=`cat $config_server/project_path.sh` project_path=`cat $config_server/project_path.sh`
config_path=`cat $config_server/config_path.sh` config_path=`cat $config_server/config_path.sh`
......
#!/bin/bash #!/bin/bash
project=$1 project=$1
is_public_ip=$2 is_public_ip=$2
pwd_path="/home/qa_shell_script" pwd_path="/home/qa-deploy-utils/qa_shell_script"
config_server="$pwd_path/config_server" config_server="$pwd_path/config_server"
project_path=`cat $config_server/project_path.sh` project_path=`cat $config_server/project_path.sh`
config_path=`cat $config_server/config_path.sh` config_path=`cat $config_server/config_path.sh`
......
#!/bin/bash #!/bin/bash
project_type=$1 project_type=$1
is_public_ip=$2 is_public_ip=$2
pwd_path="/home/qa_shell_script" pwd_path="/home/qa-deploy-utils/qa_shell_script"
config_server="$pwd_path/config_server" config_server="$pwd_path/config_server"
project_path=`cat $config_server/project_path.sh` project_path=`cat $config_server/project_path.sh`
config_path=`cat $config_server/config_path.sh` config_path=`cat $config_server/config_path.sh`
......
#!/bin/bash #!/bin/bash
project_name=$1 project_name=$1
is_public_ip=$2 is_public_ip=$2
pwd_path="/home/qa_shell_script" pwd_path="/home/qa-deploy-utils/qa_shell_script"
config_server="$pwd_path/config_server" config_server="$pwd_path/config_server"
project_path=`cat $config_server/project_path.sh` project_path=`cat $config_server/project_path.sh`
project_type=`node $config_server/get_project_config.js -name $project_name -attr type` project_type=`node $config_server/get_project_config.js -name $project_name -attr type`
......
#!/bin/bash #!/bin/bash
project_type=$1 project_type=$1
is_public_ip=$2 is_public_ip=$2
pwd_path="/home/qa_shell_script" pwd_path="/home/qa-deploy-utils/qa_shell_script"
config_server="$pwd_path/config_server" config_server="$pwd_path/config_server"
project_path=`cat $config_server/project_path.sh` project_path=`cat $config_server/project_path.sh`
config_path=`cat $config_server/config_path.sh` config_path=`cat $config_server/config_path.sh`
......
#!/bin/bash #!/bin/bash
project_type=$1 project_type=$1
pwd_path="/home/qa_shell_script" pwd_path="/home/qa-deploy-utils/qa_shell_script"
config_server="$pwd_path/config_server" config_server="$pwd_path/config_server"
project_path=`cat $config_server/project_path.sh` project_path=`cat $config_server/project_path.sh`
config_path=`cat $config_server/config_path.sh` config_path=`cat $config_server/config_path.sh`
......
#!/bin/bash #!/bin/bash
project_name=$1 project_name=$1
is_public_ip=$2 is_public_ip=$2
pwd_path="/home/qa_shell_script" pwd_path="/home/qa-deploy-utils/qa_shell_script"
config_shell_path="$pwd_path" config_shell_path="$pwd_path"
config_server="$pwd_path/config_server" config_server="$pwd_path/config_server"
project_type=`node $config_server/get_project_config.js -name $project_name -attr type` project_type=`node $config_server/get_project_config.js -name $project_name -attr type`
......
#!/bin/bash #!/bin/bash
project_type=$1 project_type=$1
is_public_ip=$2 is_public_ip=$2
pwd_path="/home/qa_shell_script" pwd_path="/home/qa-deploy-utils/qa_shell_script"
config_shell_path="$pwd_path" config_shell_path="$pwd_path"
config_server="$pwd_path/config_server" config_server="$pwd_path/config_server"
project_path=`cat $config_server/project_path.sh` project_path=`cat $config_server/project_path.sh`
......
/home/qa_shell_script /home/qa-deploy-utils/qa_shell_script
\ No newline at end of file \ No newline at end of file
...@@ -4,7 +4,7 @@ public_ip="139.198.2.95" ...@@ -4,7 +4,7 @@ public_ip="139.198.2.95"
mkdir /home/sub_config_file_dont_rm mkdir /home/sub_config_file_dont_rm
for ip_last_num in 12 13 14 15 16 17 151 for ip_last_num in 12 13 14 15 16 17 24 151
do do
cd /home/sub_config_file_dont_rm cd /home/sub_config_file_dont_rm
mkdir ${IP_host_first}${ip_last_num} mkdir ${IP_host_first}${ip_last_num}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment