Move tools installation into top-level Makefile
This commit is contained in:
parent
c17594c4fa
commit
d5ed5fb476
7 changed files with 39 additions and 34 deletions
27
Makefile
Normal file
27
Makefile
Normal file
|
@ -0,0 +1,27 @@
|
||||||
|
FROSTFS_VERSION?=0.42.9
|
||||||
|
FROSTFS_CONTRACTS_VERSION=0.19.4
|
||||||
|
NEOGO_VERSION?=0.104.0
|
||||||
|
|
||||||
|
ADM?=bin/frostfs-adm-v$(FROSTFS_VERSION)
|
||||||
|
ADM_RELEASE_URL=https://git.frostfs.info/TrueCloudLab/frostfs-node/releases/download/v$(FROSTFS_VERSION)/frostfs-adm
|
||||||
|
|
||||||
|
CLI?=bin/frostfs-cli-v$(FROSTFS_VERSION)
|
||||||
|
CLI_RELEASE_URL=https://git.frostfs.info/TrueCloudLab/frostfs-node/releases/download/v$(FROSTFS_VERSION)/frostfs-cli
|
||||||
|
|
||||||
|
NEOGO?=bin/neo-go-v$(NEOGO_VERSION)
|
||||||
|
NEOGO_RELEASE_URL=https://github.com/nspcc-dev/neo-go/releases/download/v$(NEOGO_VERSION)/neo-go-linux-amd64
|
||||||
|
|
||||||
|
bin/frostfs-adm-v$(FROSTFS_VERSION):
|
||||||
|
mkdir -p $(dir $@)
|
||||||
|
wget -q "$(ADM_RELEASE_URL)" -O "$@"
|
||||||
|
chmod +x "$@"
|
||||||
|
|
||||||
|
bin/frostfs-cli-v$(FROSTFS_VERSION):
|
||||||
|
mkdir -p $(dir $@)
|
||||||
|
wget -q "$(CLI_RELEASE_URL)" -O "$@"
|
||||||
|
chmod +x "$@"
|
||||||
|
|
||||||
|
bin/neo-go-v$(NEOGO_VERSION):
|
||||||
|
mkdir -p $(dir $@)
|
||||||
|
wget -q "$(NEOGO_RELEASE_URL)" -O "$@"
|
||||||
|
chmod +x "$@"
|
1
bin/README
Normal file
1
bin/README
Normal file
|
@ -0,0 +1 @@
|
||||||
|
Empty directory for binaries not tracked in Git
|
4
innerring/Makefile
Normal file
4
innerring/Makefile
Normal file
|
@ -0,0 +1,4 @@
|
||||||
|
SHELL=/bin/bash
|
||||||
|
.SHELLFLAGS=-euo pipefail -c
|
||||||
|
|
||||||
|
include ../Makefile
|
1
innerring/bin
Symbolic link
1
innerring/bin
Symbolic link
|
@ -0,0 +1 @@
|
||||||
|
../bin
|
|
@ -1,43 +1,14 @@
|
||||||
FROSTFS_VERSION?=0.42.9
|
|
||||||
FROSTFS_CONTRACTS_VERSION=0.19.4
|
|
||||||
NEOGO_VERSION?=0.104.0
|
|
||||||
|
|
||||||
SHELL=/bin/bash
|
SHELL=/bin/bash
|
||||||
.SHELLFLAGS=-euo pipefail -c
|
.SHELLFLAGS=-euo pipefail -c
|
||||||
|
|
||||||
|
include ../Makefile
|
||||||
|
|
||||||
.PHONY: up
|
.PHONY: up
|
||||||
up: morph
|
up: morph
|
||||||
|
|
||||||
WALLET?=wallet/morph.json
|
|
||||||
TOOLS=$(NEOGO) $(ADM) $(CLI)
|
|
||||||
|
|
||||||
ADM?=bin/frostfs-adm-v$(FROSTFS_VERSION)
|
|
||||||
ADM_RELEASE_URL=https://git.frostfs.info/TrueCloudLab/frostfs-node/releases/download/v$(FROSTFS_VERSION)/frostfs-adm
|
|
||||||
|
|
||||||
CLI?=bin/frostfs-cli-v$(FROSTFS_VERSION)
|
|
||||||
CLI_RELEASE_URL=https://git.frostfs.info/TrueCloudLab/frostfs-node/releases/download/v$(FROSTFS_VERSION)/frostfs-cli
|
|
||||||
|
|
||||||
NEOGO?=bin/neo-go-v$(NEOGO_VERSION)
|
|
||||||
NEOGO_RELEASE_URL=https://github.com/nspcc-dev/neo-go/releases/download/v$(NEOGO_VERSION)/neo-go-linux-amd64
|
|
||||||
|
|
||||||
bin/frostfs-adm-v$(FROSTFS_VERSION):
|
|
||||||
mkdir -p $(dir $@)
|
|
||||||
wget -q "$(ADM_RELEASE_URL)" -O "$@"
|
|
||||||
chmod +x "$@"
|
|
||||||
|
|
||||||
bin/frostfs-cli-v$(FROSTFS_VERSION):
|
|
||||||
mkdir -p $(dir $@)
|
|
||||||
wget -q "$(CLI_RELEASE_URL)" -O "$@"
|
|
||||||
chmod +x "$@"
|
|
||||||
|
|
||||||
bin/neo-go-v$(NEOGO_VERSION):
|
|
||||||
mkdir -p $(dir $@)
|
|
||||||
wget -q "$(NEOGO_RELEASE_URL)" -O "$@"
|
|
||||||
chmod +x "$@"
|
|
||||||
|
|
||||||
.PHONY: morph
|
.PHONY: morph
|
||||||
morph: $(WALLET) | $(NEOGO)
|
morph: wallet/morph.json | $(NEOGO)
|
||||||
grep -F $$($(NEOGO) wallet dump-keys -w $(WALLET)|head -n2|tail -n1) protocol.privnet.yml
|
grep -F $$($(NEOGO) wallet dump-keys -w $<|head -n2|tail -n1) protocol.privnet.yml
|
||||||
mkdir -p log
|
mkdir -p log
|
||||||
$(NEOGO) node --config-path . --privnet --debug 2>&1 | tee --append log/$@
|
$(NEOGO) node --config-path . --privnet --debug 2>&1 | tee --append log/$@
|
||||||
|
|
||||||
|
|
1
morph/bin
Symbolic link
1
morph/bin
Symbolic link
|
@ -0,0 +1 @@
|
||||||
|
../bin
|
|
@ -5,7 +5,7 @@ ProtocolConfiguration:
|
||||||
MemPoolSize: 50000
|
MemPoolSize: 50000
|
||||||
StandbyCommittee:
|
StandbyCommittee:
|
||||||
# 02b3622bf4017bdfe317c58aed5f4c753f206b7db896046fa7d774bbc4bf7f8dc2 # frostfs-dev-env node
|
# 02b3622bf4017bdfe317c58aed5f4c753f206b7db896046fa7d774bbc4bf7f8dc2 # frostfs-dev-env node
|
||||||
- 03fd818621bcccf083bc3e1b3985e0b0b07a7dd5bebd4cd14ad225d59e51818acb # replace this with node pubkey
|
- 02595996a81f4822e49e55a60bc7b6cfbe74f50c00df9205d84ba8ae9262182cd7 # replace this with node pubkey
|
||||||
ValidatorsCount: 1
|
ValidatorsCount: 1
|
||||||
VerifyTransactions: true
|
VerifyTransactions: true
|
||||||
StateRootInHeader: true
|
StateRootInHeader: true
|
||||||
|
|
Loading…
Reference in a new issue