-
Notifications
You must be signed in to change notification settings - Fork 16
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
Refactor core, ecdsa, tbtc and tbtc-dapp Installation Into Their Own Script #60
Merged
Merged
Changes from 2 commits
Commits
Show all changes
4 commits
Select commit
Hold shift + click to select a range
62afaca
Refactor core, ecdsa, tbtc and tbtc-dapp into their own script
4f7c8a7
marked install-applications-with-contracts.sh as executable
35e0eed
Renamed install-applications-with-contracts.sh -> install-application…
52fb4b6
Include ./install-keep-dashboard.sh in install-applications.sh
File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,15 @@ | ||
#!/bin/bash | ||
|
||
set -e | ||
|
||
# Install KEEP-CORE. | ||
./install-keep-core.sh | ||
|
||
# Install KEEP-ECDSA. | ||
./install-keep-ecdsa.sh | ||
|
||
# Install tBTC. | ||
./install-tbtc.sh | ||
|
||
# Install tBTC dApp. | ||
./install-tbtc-dapp.sh |
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
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
What do you think about moving this 'if' statement along with
./install-keep-dashboard.sh
toinstall-applications-with-contracts.sh
as well? This way, Keep Dashboard dApp installation script will be in the same place as tBTC dApp. One can pass env varE2E_TEST=true ./install.sh
when working only in tBTC world and doesn't need Keep Dashboard.Also, I'm wondering if it makes sense to rename $E2E_TEST -> $INCLUDE_KEEP_DASHBOARD, ie:
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
💯
My only hesitation there would be the case where
$E2E_TEST
is being used in our testing scripts or build tool scripts or somethingThere was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Yes, you're right! We have one reference in here and I think this is all. I've introduced
E2E_TEST
here. Most likely that's the only change, cause I just wanted to speed up thelocal-setup
setup.There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Gotcha - In that case I think it would be better if we scoped this PR to just the script changes and leave refactoring
$E2E_TEST
for another PR. That okay with you?There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Sure, changes around scripts look good to me!
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Created issue to rename
$E2E_TEST
#63