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
bf3b0fad
Commit
bf3b0fad
authored
1 year ago
by
Cédric Moreau
Browse files
Options
Downloads
Patches
Plain Diff
fix: missing g1-data.json field
parent
22cdc076
No related branches found
Branches containing commit
No related tags found
Tags containing commit
1 merge request
!207
Release/runtime 701
Pipeline
#34549
waiting for manual action
Stage: build
Stage: release
Changes
1
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
.gitlab-ci.yml
+1
-1
1 addition, 1 deletion
.gitlab-ci.yml
with
1 addition
and
1 deletion
.gitlab-ci.yml
+
1
−
1
View file @
bf3b0fad
...
@@ -255,7 +255,7 @@ create_g1_data:
...
@@ -255,7 +255,7 @@ create_g1_data:
-
sqlite3 /dump/duniter_default/txs.db --json "select time,comment,issuers,outputs from txs;" > inputs/transactions_history.json 2>> inputs/txs.err
-
sqlite3 /dump/duniter_default/txs.db --json "select time,comment,issuers,outputs from txs;" > inputs/transactions_history.json 2>> inputs/txs.err
-
./generate_transactions_history.py
-
./generate_transactions_history.py
# Merge in one file
# Merge in one file
-
'
jq
-s
"{
identities:
.[0].identities,
wallets:
.[0].wallets,
initial_monetary_mass:
.[0].initial_monetary_mass,
transactions_history:
.[1]
}"
output/gtest_genesis.json
output/history.json
>
output/g1-data.json'
-
'
jq
-s
"{
identities:
.[0].identities,
wallets:
.[0].wallets,
initial_monetary_mass:
.[0].initial_monetary_mass,
current_block:
.[0].current_block,
transactions_history:
.[1]
}"
output/gtest_genesis.json
output/history.json
>
output/g1-data.json'
# Make the exported file available for next jobs
# Make the exported file available for next jobs
-
mkdir -p $CI_PROJECT_DIR/release/
-
mkdir -p $CI_PROJECT_DIR/release/
-
cp output/g1-data.json $CI_PROJECT_DIR/release/
-
cp output/g1-data.json $CI_PROJECT_DIR/release/
...
...
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