Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
ARSnova Backend
Manage
Activity
Members
Labels
Plan
Issues
27
Issue boards
Milestones
Code
Merge requests
1
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Operate
Environments
Monitor
Incidents
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
ARSnova
ARSnova Backend
Commits
e67dbf23
Commit
e67dbf23
authored
6 years ago
by
Daniel Gerhardt
Browse files
Options
Downloads
Patches
Plain Diff
Remove CI job for repo mirroring
GitLab can handle this w/o scripting by now.
parent
87825655
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
.gitlab-ci.yml
+0
-20
0 additions, 20 deletions
.gitlab-ci.yml
with
0 additions
and
20 deletions
.gitlab-ci.yml
+
0
−
20
View file @
e67dbf23
variables
:
variables
:
MIRROR_REPO
:
git@github.com:thm-projects/arsnova-backend.git
WAR_FILE
:
target/arsnova-backend-*.war
WAR_FILE
:
target/arsnova-backend-*.war
stages
:
stages
:
...
@@ -7,30 +6,11 @@ stages:
...
@@ -7,30 +6,11 @@ stages:
-
test
-
test
-
build
-
build
-
deploy
-
deploy
-
synchronization
cache
:
cache
:
paths
:
paths
:
-
.m2/
-
.m2/
sync_mirror
:
stage
:
synchronization
when
:
always
except
:
-
production
-
staging
tags
:
-
git
allow_failure
:
true
script
:
-
mkdir ~/.ssh && echo "$GITHUB_HOST_KEY" > ~/.ssh/known_hosts
-
eval $(ssh-agent -s) && ssh-add <(echo "$GITHUB_DEPLOY_KEY")
-
git clone --bare "$CI_REPOSITORY_URL" mirror.git
-
cd mirror.git
-
git update-ref -d refs/tags/production
-
git update-ref -d refs/tags/staging
-
git push --mirror "$MIRROR_REPO"
sonar
:
sonar
:
stage
:
analysis
stage
:
analysis
only
:
only
:
...
...
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