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

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

testing deployment

parent f8b2776f
Branches
3 merge requests!142Bringing elasticsearch 8.x into production,!139Testing production documentation,!135Resolve "Login not working when clicking on redirect link"
......@@ -174,7 +174,7 @@ deploy:
REGISTRY_URL: sharing-codeability.uibk.ac.at:5051
IMAGE_TAG: sharing-codeability.uibk.ac.at:5051/sharing/codeability-sharing-platform/gitsearch/$CI_COMMIT_REF_NAME
script:
- ssh contDeploy@codeability-austria -p 1022 "cd gitsearch2/gitsearch && git fetch && git stash && git checkout $CI_COMMIT_REF_NAME && git pull && cd src/main/docker/ && docker pull $IMAGE_TAG && GIT_BRANCH=$CI_COMMIT_REF_NAME COMMIT_ID=`git rev-parse HEAD` SPRING_PROFILES_ACTIVE=staging,swagger docker-compose -f gitsearch.yml up -d --no-deps --build --force-recreate gitsearch-app && exit"
- ssh contDeploy@codeability-austria -p 1022 "export GITBRANCH=$CI_COMMIT_REF_NAME && cd gitsearch2/gitsearch && git fetch && git stash && git checkout $CI_COMMIT_REF_NAME && git pull && cd src/main/docker/ && docker pull $IMAGE_TAG && GIT_BRANCH=$CI_COMMIT_REF_NAME COMMIT_ID=`git rev-parse HEAD` SPRING_PROFILES_ACTIVE=staging,swagger docker-compose -f gitsearch.yml up -d --no-deps --build --force-recreate gitsearch-app && exit"
when: always
# e2e-test:
# stage: e2e
......
version: '3.5'
services:
gitsearch-app:
image: sharing-codeability.uibk.ac.at:5051/sharing/codeability-sharing-platform/gitsearch/$CI_COMMIT_REF_NAME
image: sharing-codeability.uibk.ac.at:5051/sharing/codeability-sharing-platform/gitsearch/$GITBRANCH
container_name: sharing_search
hostname: sharing_search
environment:
......
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