Compare commits

...

1 commit

Author SHA1 Message Date
79952e82e0 [#XX] Makefile: Add subjects for storage and client wallets to FrostfsID
All checks were successful
DCO action / DCO (pull_request) Successful in 27s
Signed-off-by: Airat Arifullin <a.arifullin@yadro.com>
2024-08-02 14:58:03 +03:00

View file

@ -84,8 +84,18 @@ up/bootstrap: get vendor/hosts
echo "Transfer GAS to wallet $${f}" \ echo "Transfer GAS to wallet $${f}" \
&& ./vendor/frostfs-adm -c frostfs-adm.yml morph refill-gas --storage-wallet $${f} --gas 10.0 \ && ./vendor/frostfs-adm -c frostfs-adm.yml morph refill-gas --storage-wallet $${f} --gas 10.0 \
|| die "Failed to transfer GAS to alphabet wallets"; \ || die "Failed to transfer GAS to alphabet wallets"; \
echo "Create frostfsid subject for storage wallet $${f}" \
&& subj_key=`neo-go wallet dump-keys -w $${f} | head -2 | tail -1` \
&& subj_name_suffix=`echo $${subj_key} | tail -c 5` \
&& ./vendor/frostfs-adm -c frostfs-adm.yml morph frostfsid create-subject --namespace "" --subject-key $${subj_key} --subject-name storage$${subj_name_suffix} \
|| die "Failed to create subject for the wallet"; \
done done
@echo "FrostFS sidechain environment is deployed" @echo "Create frostfsid subject for ./wallets/wallet.json" \
&& subj_key=`neo-go wallet dump-keys -w ./wallets/wallet.json | head -2 | tail -1` \
&& subj_name_suffix=`echo $${subj_key} | tail -c 5` \
&& ./vendor/frostfs-adm -c frostfs-adm.yml morph frostfsid create-subject --namespace "" --subject-key $${subj_key} --subject-name storage$${subj_name_suffix} \
|| die "Failed to create subject for the wallet"; \
echo "FrostFS sidechain environment is deployed"
# Build up certain service # Build up certain service
.PHONY: up/% .PHONY: up/%