Commit 0de561d4 authored by John Red Medrano's avatar John Red Medrano

Update .gitlab-ci.yml

parent 59ed6422
Pipeline #1216 failed with stage
in 25 seconds
......@@ -22,15 +22,19 @@ stages:
initial_repo:
stage: initial_repo
image: ubuntu
only:
- new-test
- red-develop
script:
- echo "$CI_MERGE_REQUEST_TARGET_BRANCH_NAME"
- echo "test"
- cp env.new_template.ini env.ini
- pip install -r requirements/local.txt
- echo "execute"
- python manage.py runserver
- echo "Building dev environment for red test ci cd"
- 'which ssh-agent || ( apt-get update -y && apt-get install openssh-client -y)'
- eval $(ssh-agent -s)
- mkdir -p ~/.ssh
- chmod 700 ~/.ssh
- echo "$CENTOS_SERVER" | ssh-add - > ~/.ssh/id_rsa
- '[[ -f /.dockerenv ]] && echo -e "Host *\n\tStrictHostKeyChecking no\n\n" > ~/.ssh/config'
- ssh -tt centos@13.251.192.208 "sudo mkdir $root_path/dev"
# include:
......
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