This is the codeAbility Sharing Platform! Learn more about the codeAbility Sharing Platform.

Skip to content
Snippets Groups Projects
Commit e50c5f24 authored by Eduard Frankford's avatar Eduard Frankford
Browse files

testing

parent 44a39310
Branches
2 merge requests!188Merging Peer Reviewing et. al to Master,!164211 peer reviewing functionality
......@@ -131,9 +131,9 @@ deploy:
# dependencies:
# - 'docker-push'
image: ubuntu
script:
before_script:
- whoami
- apt-get clean
- chmod 777 -R /tmp
- apt-get update -qy
- apt-get install -y rsync openssh-client
- mkdir -p ~/.ssh
......@@ -142,6 +142,8 @@ deploy:
- eval "$(ssh-agent -s)"
- ssh-add ~/.ssh/id_rsa
- echo -e "Host *\n\tStrictHostKeyChecking no\n\n" > ~/.ssh/config
script:
- whoami
- echo "Hello world"
- ssh contDeploy@codeability-austria -p 1022 -f "(cd /home/michael/gitsearch git pull && cd src/main/docker/; GIT_BRANCH=`git rev-parse --abbrev-ref HEAD` COMMIT_ID=`git rev-parse HEAD` SPRING_PROFILES_ACTIVE=staging,swagger docker-compose -f gitsearch.yml up -d --no-deps --build gitsearch-app)"
when: always
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