Commit 878a402d authored by John Red Medrano's avatar John Red Medrano

Update .gitlab-ci.yml

parent b902dd17
Pipeline #311 failed with stages
in 51 seconds
......@@ -175,9 +175,9 @@ rebuild_sit:
- echo "$CENTOS_SERVER" | ssh-add - > ~/.ssh/id_rsa
- '[[ -f /.dockerenv ]] && echo -e "Host *\n\tStrictHostKeyChecking no\n\n" > ~/.ssh/config'
- echo "pulling updates on $sit"
- ssh -tt centos@13.251.192.208 "cd $root_path/dev/$repo_folder && sudo git pull origin $sit"
- ssh -tt centos@13.251.192.208 "cd $root_path/dev/$repo_folder && docker-compose -f docker-compose.yml -p xxx_sit_rmsv2_api_container down"
- ssh -tt centos@13.251.192.208 "cd $root_path/dev/$repo_folder && docker-compose -f docker-compose.yml -p xxx_sit_rmsv2_api_container up -d --build"
- ssh -tt centos@13.251.192.208 "cd $root_path/sit/$repo_folder && sudo git pull origin $sit"
- ssh -tt centos@13.251.192.208 "cd $root_path/sit/$repo_folder && docker-compose -f docker-compose.yml -p xxx_sit_rmsv2_api_container down"
- ssh -tt centos@13.251.192.208 "cd $root_path/sit/$repo_folder && docker-compose -f docker-compose.yml -p xxx_sit_rmsv2_api_container up -d --build"
- echo "the $dev branch is successfully updated"
variables:
......
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