Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
duniter
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Container registry
Model registry
Monitor
Service Desk
Analyze
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
GitLab community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
nodes
typescript
duniter
Commits
742481d4
Commit
742481d4
authored
7 years ago
by
Stéphane Veyret
Browse files
Options
Downloads
Patches
Plain Diff
Update release delivery
parent
ebe59096
No related branches found
No related tags found
1 merge request
!1240
Automatic release management
Changes
3
Expand all
Show whitespace changes
Inline
Side-by-side
Showing
3 changed files
.gitlab-ci.yml
+22
-11
22 additions, 11 deletions
.gitlab-ci.yml
.gitlab/release_template.md
+8
-5
8 additions, 5 deletions
.gitlab/release_template.md
.gitlab/releaser.py
+575
-126
575 additions, 126 deletions
.gitlab/releaser.py
with
605 additions
and
142 deletions
.gitlab-ci.yml
+
22
−
11
View file @
742481d4
...
...
@@ -2,8 +2,9 @@ stages:
-
github-sync
-
build
-
test
-
releases
-
releases-page
-
package
-
prerelease
-
release
push_to_github
:
stage
:
github-sync
...
...
@@ -46,7 +47,7 @@ test:
-
yarn test
.build_releases
:
&build_releases
stage
:
releases
stage
:
package
allow_failure
:
false
image
:
duniter/release-builder:v1.0.1
tags
:
...
...
@@ -66,7 +67,7 @@ releases:test:
except
:
-
tags
releases
:
releases:
x64
:
<<
:
*build_releases
script
:
-
bash "release/arch/linux/build-lin.sh" "${CI_COMMIT_TAG#v}"
...
...
@@ -76,17 +77,27 @@ releases:
only
:
-
tags
releases-message
:
stage
:
releases-page
allow_failure
:
false
.release_jobs
:
&release_jobs
image
:
tensorflow/tensorflow:latest-py3
tags
:
-
redshift-duniter-builder
variables
:
JOB_ARTIFACTS
:
'
releases'
EXPECTED_ARTIFACTS
:
'
["work/bin/duniter-desktop-${CI_COMMIT_TAG}-linux-x64.deb","work/bin/duniter-desktop-${CI_COMMIT_TAG}-linux-x64.tar.gz","work/bin/duniter-server-${CI_COMMIT_TAG}-linux-x64.deb"]'
script
:
-
python3 .gitlab/releaser.py
when
:
manual
only
:
-
tags
prerelease
:
<<
:
*release_jobs
stage
:
prerelease
variables
:
RELEASE_BIN_DIR
:
work/bin/
SOURCE_EXT
:
'
["tar.gz",
"zip"]'
RELEASE_JOB
:
publish
publish
:
<<
:
*release_jobs
stage
:
release
variables
:
WIKI_RELEASE
:
Releases
allow_failure
:
false
when
:
manual
This diff is collapsed.
Click to expand it.
.gitlab/release_template.md
+
8
−
5
View file @
742481d4
<placeholder
content=
"end-title"
/>
<placeholder
content=
"note"
>
{{current_message}}
</placeholder>
# Downloads
## Downloads
| Category | Arch | Type | Size | File |
|----------|------|------|------|------|
{% for artifact in artifacts %}
***
[
{{artifact.icon}} {{artifact.name}}
](
{{artifact.url}}
)
_{{artifact.size}}_
***
| {{artifact.category}} | {{artifact.arch}} | {{artifact.type}} | {{artifact.size}} |
[
{{artifact.icon}} {{artifact.name}}
](
{{artifact.url}}
)
|
{% endfor %}
This diff is collapsed.
Click to expand it.
.gitlab/releaser.py
+
575
−
126
View file @
742481d4
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
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