Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
ARSnova Backend
Manage
Activity
Members
Labels
Code
Merge requests
0
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Operate
Environments
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Help
Help
Support
GitLab documentation
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Privacy
Imprint
Contact
Snippets
Groups
Projects
Show more breadcrumbs
Paul-Christian Volkmer
ARSnova Backend
Commits
4d70600f
There was an error fetching the commit references. Please try again later.
Commit
4d70600f
authored
8 years ago
by
Daniel Gerhardt
Browse files
Options
Downloads
Patches
Plain Diff
Use updated CI config from 2.4
parent
b0dde020
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
.gitlab-ci.yml
+4
-4
4 additions, 4 deletions
.gitlab-ci.yml
with
4 additions
and
4 deletions
.gitlab-ci.yml
+
4
−
4
View file @
4d70600f
...
...
@@ -25,11 +25,11 @@ sync_mirror:
script
:
-
mkdir ~/.ssh && echo "$GITHUB_HOST_KEY" > ~/.ssh/known_hosts
-
eval $(ssh-agent -s) && ssh-add <(echo "$GITHUB_DEPLOY_KEY")
-
git clone --bare $CI_BUILD_REPO mirror.git
-
git clone --bare
"
$CI_BUILD_REPO
"
mirror.git
-
cd mirror.git
-
git update-ref -d refs/tags/production
-
git update-ref -d refs/tags/staging
-
git push --mirror $MIRROR_REPO
-
git push --mirror
"
$MIRROR_REPO
"
sonar
:
stage
:
analysis
...
...
@@ -70,11 +70,11 @@ tomcat_production:
only
:
-
production
script
:
-
curl --upload-file $WAR_FILE https://$PROD_TOMCAT_USER:$PROD_TOMCAT_PASSWORD@$PROD_TOMCAT_HOST/manager/deploy?path=%2Fapi
-
curl
--fail
--upload-file $WAR_FILE
"
https://$PROD_TOMCAT_USER:$PROD_TOMCAT_PASSWORD@$PROD_TOMCAT_HOST/manager/
text/
deploy?path=%2Fapi
&update=true"
tomcat_development
:
stage
:
deploy
only
:
-
staging
script
:
-
curl --upload-file $WAR_FILE https://$DEV_TOMCAT_USER:$DEV_TOMCAT_PASSWORD@$DEV_TOMCAT_HOST/manager/deploy?path=%2Fapi
-
curl
--fail
--upload-file $WAR_FILE
"
https://$DEV_TOMCAT_USER:$DEV_TOMCAT_PASSWORD@$DEV_TOMCAT_HOST/manager/
text/
deploy?path=%2Fapi
&update=true"
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