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

Skip to content
Snippets Groups Projects
Commit 2a205392 authored by Michael Breu's avatar Michael Breu
Browse files

Improving deployment

parent 41c1951c
Branches
2 merge requests!231New Deployment into production and update gitlab,!225Resolve "Collections mehr hervorheben"
......@@ -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:
......
#!/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"
......
{
"$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": {
......
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