Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
DuniterPy
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Model registry
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
clients
python
DuniterPy
Merge requests
!76
Merge of 0550 to dev
Code
Review changes
Check out branch
Download
Patches
Plain diff
Merged
Merge of 0550 to dev
0550
into
dev
Overview
1
Commits
4
Pipelines
8
Changes
2
Merged
Vincent Texier
requested to merge
0550
into
dev
5 years ago
Overview
1
Commits
4
Pipelines
8
Changes
2
Expand
Prepare release 0.55.0
Add changelog for 0.55.0
Fix job push_to_github (tested ok with release_test see
https://github.com/duniter/duniter-python-api/tree/0550
)
Edited
5 years ago
by
Vincent Texier
0
0
Merge request reports
Compare
dev
version 7
9105d10c
5 years ago
version 6
ba3394de
5 years ago
version 5
b450d269
5 years ago
version 4
8d65a8eb
5 years ago
version 3
bfa0b0e2
5 years ago
version 2
830042d3
5 years ago
version 1
79f0cd14
5 years ago
dev (base)
and
latest version
latest version
ab66bb53
4 commits,
5 years ago
version 7
9105d10c
4 commits,
5 years ago
version 6
ba3394de
5 commits,
5 years ago
version 5
b450d269
7 commits,
5 years ago
version 4
8d65a8eb
6 commits,
5 years ago
version 3
bfa0b0e2
5 commits,
5 years ago
version 2
830042d3
4 commits,
5 years ago
version 1
79f0cd14
3 commits,
5 years ago
2 files
+
27
−
6
Inline
Compare changes
Side-by-side
Inline
Show whitespace changes
Show one file at a time
Files
2
Search (e.g. *.vue) (Ctrl+P)
.gitlab-ci.yml
+
7
−
6
Options
@@ -3,7 +3,6 @@ stages:
-
test
-
build
-
release
-
github-sync
variables
:
PYENV_PYTHON_VERSION
:
3.5.5
@@ -12,20 +11,22 @@ image: registry.duniter.org/docker/python3/duniterpy-builder:0.0.4
# SUB-TASKS
.push_to_github
:
variables
:
GIT_STRATEGY
:
none
tags
:
-
github
after_script
:
# remove all files in current repo
-
rm -rf ./*
-
rm -rf .git
-
rm -rf .git*
# do a mirror clone in current repo
-
git clone --mirror $CI_REPOSITORY_URL .
# do config for github push
-
git remote add github $GITHUB_URL_AND_KEY
-
git config --global user.email "contact@duniter.org"
-
git config --global user.name "Duniter"
#
Job would fail if we don't
remove refs about
pull
requests
-
bash -c "cat packed-refs | grep -v 'refs/
pull
' > packed-refs-new; echo 'Removed
pull
refs.'"
# remove refs about
merge
requests
-
bash -c "cat packed-refs | grep -v 'refs/
merge-requests
' > packed-refs-new; echo 'Removed
merge-requests
refs.'"
-
mv packed-refs-new packed-refs
# github push
-
bash -c "git push --force --mirror github 2>&1 | grep -v duniter-gitlab; echo $?"
.pyenv
:
Loading