Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
gitlab-cloner
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Commits
Issue Boards
Open sidebar
namibsun
python
gitlab-cloner
Commits
a4839c24
Commit
a4839c24
authored
Mar 04, 2017
by
Hermann Krumrey
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Add build script
parent
c769e4c6
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
52 additions
and
0 deletions
+52
-0
.gitlab-ci.yml
.gitlab-ci.yml
+52
-0
No files found.
.gitlab-ci.yml
0 → 100644
View file @
a4839c24
stages
:
-
mirror
-
test
-
gitstats
-
finalize
github_mirror
:
stage
:
mirror
tags
:
-
linux-buildserver
script
:
-
git checkout master
-
git pull
-
git push -f git@github.com:namboy94/gitlab-cloner.git master
checkstyle
:
stage
:
test
tags
:
-
linux-buildserver
script
:
-
pep8 .
generate gitstats
:
stage
:
gitstats
tags
:
-
linux-buildserver
script
:
-
gitstats . gitstats
-
rsync -av gitstats/ /var/www/gitstats.namibsun.net/public_html/gitstats/gitlab-cloner --delete-before
generate git_stats
:
stage
:
gitstats
tags
:
-
linux-buildserver
script
:
-
git_stats generate
-
rsync -av git_stats/ /var/www/gitstats.namibsun.net/public_html/git_stats/gitlab-cloner --delete-before
update_html_pages
:
stage
:
finalize
when
:
always
tags
:
-
linux-buildserver
script
:
-
git clone https://gitlab.namibsun.net/namboy94/html-index-generator.git
-
cd html-index-generator
-
python html-index-generator.py /var/www/coverage.namibsun.net/public_html
/var/www/coverage.namibsun.net/public_html/index.html
-
python html-index-generator.py /var/www/docs.namibsun.net/public_html
/var/www/docs.namibsun.net/public_html/index.html
-
python html-index-generator.py /var/www/gitstats.namibsun.net/public_html
/var/www/gitstats.namibsun.net/public_html/index.html
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment