diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index bd50a4dc3a914dd68642aefbb246aa66c31634a0..948a2c751858cdfdde2a76d3a3fbec3220c14360 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -141,5 +141,5 @@ deploy: - echo -e "Host *\n\tStrictHostKeyChecking no\n\n" > ~/.ssh/config script: - echo "Hello world" - # - "rsync -a --progress ./server/ blockly@stair-lab.uibk.ac.at:/var/www/ros-blockly/server" + - ssh contDeploy@codeability-austria -p 1022 -f "(cd /home/michael/gitsearch/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: manual diff --git a/src/main/docker/gitsearch.yml b/src/main/docker/gitsearch.yml index 7335b9a9613f684d4e4b48c7af9d5b477fa2e5fc..4fd5e1d6e26ff5ddec4e2702413ee56e8a56d891 100644 --- a/src/main/docker/gitsearch.yml +++ b/src/main/docker/gitsearch.yml @@ -2,7 +2,8 @@ version: '3.5' services: gitsearch-app: # image: docker.uibk.ac.at:443/csar9407/gitsearch:staging-3c2e4895e32dd72aa90f64d7ec7584d656f4d18b - image: gitsearch:latest + # image: gitsearch:latest + image: sharing-codeability.uibk.ac.at:5051/sharing/codeability-sharing-platform container_name: sharing_search environment: - _JAVA_OPTIONS=-Xmx512m -Xms256m