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
41
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
2a205392
Commit
2a205392
authored
1 year ago
by
Michael Breu
Browse files
Options
Downloads
Patches
Plain Diff
Improving deployment
parent
41c1951c
Branches
Branches containing commit
2 merge requests
!231
New Deployment into production and update gitlab
,
!225
Resolve "Collections mehr hervorheben"
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
.gitlab-ci.yml
+1
-1
1 addition, 1 deletion
.gitlab-ci.yml
manual_deploy.sh
+2
-2
2 additions, 2 deletions
manual_deploy.sh
src/main/resources/at/ac/uibk/gitsearch/service/gitlab_events/metaData_elasticSearch.schema.json
+1
-1
1 addition, 1 deletion
.../service/gitlab_events/metaData_elasticSearch.schema.json
with
4 additions
and
4 deletions
.gitlab-ci.yml
+
1
−
1
View file @
2a205392
...
...
@@ -145,7 +145,7 @@ deploy:
REGISTRY_URL
:
sharing-codeability.uibk.ac.at:5051
IMAGE_TAG
:
sharing-codeability.uibk.ac.at:5051/development/sharing/codeability-sharing-platform/gitsearch/$CI_COMMIT_REF_NAME
script
:
-
ssh contDeploy@codeability-austria -p 1022 "export CI_COMMIT_REF_NAME=$CI_COMMIT_REF_NAME && export COMMIT_DATE=$(git show -s --format=%ct $CI_COMMIT_SHA) && cd gitsearch2/gitsearch && git fetch && git stash && git checkout $CI_COMMIT_REF_NAME && git pull && ./manual_deploy.sh && exit"
-
ssh contDeploy@codeability-austria -p 1022 "export CI_COMMIT_REF_NAME=$CI_COMMIT_REF_NAME && export COMMIT_DATE=$(git show -s --format=%ct $CI_COMMIT_SHA) &&
export GITSEARCH_PATH=${GITSEARCH_PATH} &&
cd gitsearch2/gitsearch && git fetch && git stash && git checkout $CI_COMMIT_REF_NAME && git pull && ./manual_deploy.sh && exit"
when
:
manual
deployProd
:
...
...
This diff is collapsed.
Click to expand it.
manual_deploy.sh
+
2
−
2
View file @
2a205392
#!/bin/bash
echo
"Deploying Gitsearch
"
echo
"Deploying Gitsearch
in directory
${
GITSEARCH_PATH
}
"
if
[[
-z
"
${
CI_COMMIT_REF_NAME
}
"
]]
;
then
...
...
@@ -16,7 +16,7 @@ else
source
/home/contDeploy/gitsearch2/gitsearch/src/main/docker/.env
else
# Handle other branches or provide a default
echo
"Using default or other branch settings"
echo
"Using default or other branch settings
for
${
GITBRANCH
}
"
fi
echo
"Deploying via pipeline"
...
...
This diff is collapsed.
Click to expand it.
src/main/resources/at/ac/uibk/gitsearch/service/gitlab_events/metaData_elasticSearch.schema.json
+
1
−
1
View file @
2a205392
{
"$schema"
:
"http://json-schema.org/draft-07/schema#"
,
"title"
:
"Metadata"
,
"description"
:
"A metadata description of a repository"
,
"description"
:
"A metadata description of a repository
. This is used for syntax checking of incoming meta data.
"
,
"type"
:
"object"
,
"properties"
:
{
"assesses"
:
{
...
...
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