This is the codeAbility Sharing Platform! Learn more about the
codeAbility Sharing Platform
.
Skip to content
GitLab
Explore
Sign in
Register
Primary navigation
Search or go to…
Project
codeAbility Sharing Platform
Manage
Activity
Members
Labels
Plan
Issues
43
Issue boards
Milestones
Wiki
Code
Merge requests
1
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Deploy
Releases
Analyze
Contributor analytics
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
development
sharing
codeAbility Sharing Platform
Commits
6bac2718
Commit
6bac2718
authored
2 years ago
by
Eduard Frankford
Browse files
Options
Downloads
Patches
Plain Diff
testing deployment
parent
40cdfea0
2 merge requests
!188
Merging Peer Reviewing et. al to Master
,
!164
211 peer reviewing functionality
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
.gitlab-ci.yml
+21
-21
21 additions, 21 deletions
.gitlab-ci.yml
src/main/docker/gitsearch.yml
+1
-1
1 addition, 1 deletion
src/main/docker/gitsearch.yml
with
22 additions
and
22 deletions
.gitlab-ci.yml
+
21
−
21
View file @
6bac2718
...
...
@@ -154,28 +154,28 @@ docker-build:
script
:
-
ssh contDeploy@codeability -p 1022 "cd gitsearch2/codeability-sharing-platform && git checkout $CI_COMMIT_REF_NAME && git pull && ./mvnw -Pprod package -DskipTests jib:build -Djib.to.image=$IMAGE_TAG -Djib.to.auth.username=gitlab-ci-token -Djib.to.auth.password=$CI_BUILD_TOKEN -Dmaven.repo.local=$MAVEN_USER_HOME"
when
:
always
# deploy:
# stage: deploy
# cache: []
# # only:
# # refs:
# # - development
# dependencies:
# - docker-build
# before_script:
# - mkdir -p ~/.ssh
# - echo "${SSH_BKY_DEPLOY}" > ~/.ssh/id_rsa
# - chmod 700 ~/.ssh/id_rsa
# - eval "$(ssh-agent -s)"
# - ssh-add ~/.ssh/id_rsa
# - echo -e "Host *\n\tStrictHostKeyChecking no\n\n" > ~/.ssh/config
# variables:
# 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 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: manual
deploy
:
stage
:
deploy
cache
:
[]
# only:
# refs:
# - development
dependencies
:
-
docker-build
before_script
:
-
mkdir -p ~/.ssh
-
echo "${SSH_BKY_DEPLOY}" > ~/.ssh/id_rsa
-
chmod 700 ~/.ssh/id_rsa
-
eval "$(ssh-agent -s)"
-
ssh-add ~/.ssh/id_rsa
-
echo -e "Host *\n\tStrictHostKeyChecking no\n\n" > ~/.ssh/config
variables
:
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/codeability-sharing-platform && 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
# cache:
...
...
This diff is collapsed.
Click to expand it.
src/main/docker/gitsearch.yml
+
1
−
1
View file @
6bac2718
version
:
'
3.5'
services
:
gitsearch-app
:
image
:
sharing-codeability.uibk.ac.at:5051/sharing/codeability-sharing-platform/gitsearch
image
:
sharing-codeability.uibk.ac.at:5051/sharing/codeability-sharing-platform/gitsearch
/$CI_COMMIT_REF_NAME
container_name
:
sharing_search
hostname
:
sharing_search
environment
:
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment