Commit 4288eb03 authored by John Red Medrano's avatar John Red Medrano

initial

parent 0551f4a8
Pipeline #267 failed with stages
in 56 seconds
......@@ -12,6 +12,9 @@ intial_dev:
- $CI_COMMIT_MESSAGE =~ /initial/
before_script:
- echo "Building dev environment for red test ci cd"
- echo "$root_path"
- echo "$root_folder"
- echo "$root_path/$repo_folder/api-main-service/"
- 'which ssh-agent || ( apt-get update -y && apt-get install openssh-client -y)'
- eval $(ssh-agent -s)
- mkdir -p ~/.ssh
......@@ -24,6 +27,7 @@ intial_dev:
- ssh -tt centos@13.251.192.208 "cd $root_path/$repo_folder && $dockerfile"
- ssh -tt centos@13.251.192.208 "cd $root_path/$repo_folder && $testenv"
- ssh -tt centos@13.251.192.208 "cd $root_path/$repo_folder && $TIRdevINI"
- ssh -tt centos@13.251.192.208 "ls"
- ssh -tt centos@13.251.192.208 "docker-compose -f $root_path/$repo_folder/api-main-service/docker-compose.yml down"
- ssh -tt centos@13.251.192.208 "docker-compose -f $root_path/$repo_folder/api-main-service/docker-compose.yml -p xxx_rmsv2_api_container up -d --build"
- ssh -tt centos@13.251.192.208 "cd $root_path/$repo_folder && sudo docker-compose up --build -d"
......
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