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
91a32299
Commit
91a32299
authored
2 years ago
by
Eduard Frankford
Browse files
Options
Downloads
Patches
Plain Diff
test
parent
71ca4a3b
5 merge requests
!132
Bringing July Release to production
,
!128
Fixing #315 and #319
,
!126
Continous Deployment with E2E Tests
,
!125
Publish docker image
,
!119
Publish docker image
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
.gitlab-ci.yml
+11
-13
11 additions, 13 deletions
.gitlab-ci.yml
with
11 additions
and
13 deletions
.gitlab-ci.yml
+
11
−
13
View file @
91a32299
image
:
name
:
'
jhipster/jhipster:latest'
user
:
'
root'
image
:
jhipster/jhipster:latest
cache
:
key
:
'
$CI_COMMIT_REF_NAME'
...
...
@@ -18,6 +16,16 @@ stages:
before_script
:
-
export NG_CLI_ANALYTICS="false"
-
export MAVEN_USER_HOME=`pwd`/.maven
-
whoami
-
apt-get update -qy
-
apt-get install -y rsync openssh-client
-
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
-
echo "Hello world"
# pmdCheckstylePrettierLint:
# stage: lint
...
...
@@ -133,15 +141,5 @@ deploy:
# dependencies:
# - 'docker-push'
script
:
-
whoami
-
apt-get update -qy
-
apt-get install -y rsync openssh-client
-
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
-
echo "Hello world"
-
ssh contDeploy@codeability-austria -p 1022 -f "(cd /home/michael/gitsearch git pull && cd 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
:
always
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