Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Reviewers please test: fix rholang location #254

Merged
merged 7 commits into from
Jul 22, 2021
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
26 changes: 9 additions & 17 deletions bootstrap/deploy-all
Original file line number Diff line number Diff line change
Expand Up @@ -49,7 +49,7 @@ tail -F "$LOGFILE"|sed -e '/Making a transition to Running state./q' | sed "s/^/
deployFiles() {
WAITPID=""
while read -r t;do
$DEPLOY "$t" &
$DEPLOY "$t"
# shellcheck disable=SC2030
WAITPID="$WAITPID $!"
done |tee -a log/deployment.log 2>&1
Expand All @@ -68,20 +68,11 @@ if [ -f "$ERRORLOG" ]; then
exit 2;
fi

# deploy rgov
find \
../Ballot.rho \
../Group.rho \
../CrowdFund.rho \
../Directory.rho \
../Inbox.rho \
../Issue.rho \
../Kudos.rho \
../memberIdGovRev.rho \
../RevIssuer.rho \
../Echo.rho \
./voter-insertion.rho \
| deployFiles
# deploy rgov core
find ../rholang/core -name "*.rho" | deployFiles

# deploy rchain voters
echo ./voter-insertion.rho | deployFiles

if [ -f "$ERRORLOG" ]; then
echo "$ME: DeployFiles error:";
Expand Down Expand Up @@ -111,12 +102,13 @@ s/^/"/
'>> ../src/MasterURI.localhost.json
echo "}}" >> ../src/MasterURI.localhost.json

# double-check the directory was created.
echo "$ME: listing master directory"
./deploy listMasterURI.rho
rnode --grpc-port 40402 propose 2>&1 | tee -a log/deployment.log

echo "$ME: creating member directory"
./deploy ../MemberDirectory.rho
# deploy rholang 'features' that depend on core
find ../rholang/feature -name "*.rho" | deployFiles
rnode --grpc-port 40402 propose 2>&1 | tee -a log/deployment.log

echo "$ME: Waiting for rnode to finalize (10s)" && sleep 10 && echo "$ME: Stopping deployment rnode"
Expand Down
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.