-
Notifications
You must be signed in to change notification settings - Fork 25
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* Cleanup config * Move Uniris.Bootstrap.NetworkInit.genesis_pools to config.exs * Split UNIRIS_P2P_PORT configuration * Use mix configs for distillery release * Fix install script arguments * Keep runtime config in release specific folder * Provide hot upgrades * Add distillery hook to copy process environment from the running node to upgrde script during release upgrade * Do compile testnet and minenet in install script * Use unpublished distillery See bitwalker/distillery#732
- Loading branch information
Showing
11 changed files
with
87 additions
and
183 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,18 @@ | ||
#/usr/bin/env bash | ||
|
||
rpc='\ | ||
System.get_env() \ | ||
|> Enum.filter(&String.starts_with?(elem(&1,0), "UNIRIS_")) \ | ||
|> Enum.map(&("#{elem(&1,0)}=#{elem(&1,1)}")) \ | ||
|> Enum.join(";")' | ||
|
||
if output="$(release_remote_ctl rpc "$rpc")" | ||
then | ||
# split by ; cutting quotation and newline | ||
IFS=";" read -a my_array <<< "${output:1:${#output}-2}" | ||
for var in "${my_array[@]}" | ||
do | ||
info "Clone $var" | ||
export "$var" | ||
done | ||
fi |
Oops, something went wrong.