Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
Duniter v2S
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
Container registry
Model registry
Monitor
Service Desk
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
nodes
rust
Duniter v2S
Commits
2bf5d2fe
Commit
2bf5d2fe
authored
6 months ago
by
d0p1
Browse files
Options
Downloads
Patches
Plain Diff
ci: build rpm
parent
e1e8f199
No related branches found
No related tags found
No related merge requests found
Pipeline
#38820
failed
6 months ago
Stage: labels
Stage: quality
Stage: build
Stage: tests
Stage: deploy
Changes
2
Pipelines
1
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
.gitlab-ci.yml
+20
-0
20 additions, 0 deletions
.gitlab-ci.yml
node/Cargo.toml
+4
-3
4 additions, 3 deletions
node/Cargo.toml
with
24 additions
and
3 deletions
.gitlab-ci.yml
+
20
−
0
View file @
2bf5d2fe
...
...
@@ -136,6 +136,26 @@ build_deb:
paths
:
-
target/debian/duniter*.deb
build_rpm
:
stage
:
deploy
extends
:
.env
rules
:
-
if
:
$CI_COMMIT_REF_NAME =~ /^wip*$/
when
:
manual
-
if
:
$CI_COMMIT_TAG
when
:
never
-
<<
:
*is_network_branch
when
:
never
-
if
:
'
$CI_MERGE_REQUEST_ID
||
$CI_COMMIT_BRANCH
==
"master"'
-
when
:
manual
script
:
-
cargo install cargo-generate-rpm
-
cargo -Zgit=shallow-deps --release
-
cargo generate-rpm -p node
artifacts
:
paths
:
-
target/generate-rpm/duniter*.rpm
tests
:
stage
:
tests
extends
:
.env
...
...
This diff is collapsed.
Click to expand it.
node/Cargo.toml
+
4
−
3
View file @
2bf5d2fe
...
...
@@ -215,8 +215,9 @@ assets = [
[package.metadata.generate-rpm]
assets
=
[
{
source
=
"../target/release/duniter"
,
dest
=
"/usr/bin/duniter"
,
mode
=
"755"
}
,
{
source
=
"../target/release/duniter"
,
dest
=
"/usr/bin/duniter
2
"
,
mode
=
"755"
}
,
{
source
=
"../resources/debian/env_file"
,
dest
=
"/etc/duniter/env_file"
,
config
=
true
,
mode
=
"0640"
}
,
{
source
=
"../resources/debian/duniter-mirror.service"
,
dest
=
"/etc/systemd/system/duniter-mirror.service"
,
config
=
true
,
mode
=
"0644"
}
,
{
source
=
"../resources/debian/duniter-smith.service"
,
dest
=
"/etc/systemd/system/duniter-smith.service"
,
config
=
true
,
mode
=
"0644"
}
,
{
source
=
"../resources/debian/duniter-mirror.service"
,
dest
=
"/usr/lib/systemd/system/duniter-mirror.service"
,
mode
=
"0644"
}
,
{
source
=
"../resources/debian/duniter-smith.service"
,
dest
=
"/usr/lib/systemd/system/duniter-smith.service"
,
mode
=
"0644"
}
,
{
source
=
"../resources/debian/duniter-smith.service"
,
dest
=
"/usr/lib/systemd/system/distance-oracle.service"
,
mode
=
"0644"
}
,
]
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