Skip to content
Snippets Groups Projects

Set AGPLv3 license / Fix genesis download / Build instructions

Merged Moul requested to merge license_dl_artifacts into main
Files
5
@@ -2,16 +2,14 @@
@@ -2,16 +2,14 @@
# can be called with `sqd download-genesis`
# can be called with `sqd download-genesis`
JOB=131675 # id of the create_g1_data job
JOB=131675 # id of the create_g1_data job
URL=https://nodes.pages.duniter.org/-/rust/duniter-v2s/-/jobs/$JOB/artifacts/release
# download output from py-g1-migrator CI run by Duniter
# download output from py-g1-migrator CI run by Duniter
curl $URL/block_hist.json -o ./input/block_hist.json
curl $URL/tx_hist.json -o ./input/tx_hist.json
curl $URL/cert_hist.json -o ./input/cert_hist.json
# genesis.json is only used for export block
# genesis.json is only used for export block
curl $URL/genesis.json -o ./input/genesis.json
curl https://git.duniter.org/nodes/rust/duniter-v2s/-/jobs/$JOB/artifacts/download > artifacts.zip
 
unzip -j artifacts.zip -d input
 
rm artifacts.zip
# download gdev.json
# download gdev.json
# for the moment, use previous version commited to duniter-squid since Duniter artifacts expired
# for the moment, use previous version commited to duniter-squid since Duniter artifacts expired
# when new artifacts are generated and set to never expire, will use it instead
# when new artifacts are generated and set to never expire, will use it instead
curl "https://git.duniter.org/nodes/duniter-squid/-/raw/add-certifications-date/assets/gdev.json?ref_type=heads" -o ./input/gdev.json
curl "https://git.duniter.org/nodes/duniter-squid/-/raw/add-certifications-date/assets/gdev.json?ref_type=heads" -o ./input/gdev.json
\ No newline at end of file
Loading