-
Notifications
You must be signed in to change notification settings - Fork 7
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
Fixed e2e makefile target to use deploy-cli instead of deploy-script.js #78
Merged
Merged
Changes from all commits
Commits
Show all changes
4 commits
Select commit
Hold shift + click to select a range
7474df8
fix(Makefile): fixed e2e makefile target to use deploy-cli instead de…
Jovonni c5de7c6
chore: abstracted DEPLOY var for base deployment command
Jovonni c6da29f
chore: deleted obsolete deploy-contract.js
Jovonni da643e4
chore: moved init-orca.js from test to src
Jovonni 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 |
---|---|---|
|
@@ -20,6 +20,8 @@ VOTE_OPTION=yes | |
CLIENTADDR=agoric12j5kzvrwunqvrga5vm4zpy3mkeh3lvyld0amz5 | ||
CLIENT_OSMO_ADDR=osmo1rhvgsqq96n3qyv3u0zlwleyaunpmal6uhnam4z | ||
|
||
DEPLOY=npx --no-install tsx ../e2e-testing/scripts/deploy-cli.ts | ||
|
||
.PHONY: list | ||
# https://stackoverflow.com/a/73159833/7963 | ||
list: | ||
|
@@ -259,26 +261,7 @@ test-orca: | |
|
||
# todo remove clean install steps after debugging | ||
e2e: | ||
make clean | ||
make cleanc | ||
yarn cache clean | ||
kubectl exec -i agoriclocal-genesis-0 -c validator -- bash -c "yarn cache clean" | ||
kubectl exec -i agoriclocal-genesis-0 -c validator -- bash -c "rm -rf -v /root/*" | ||
# yarn run build:deployer | ||
make copy-project | ||
kubectl exec -i agoriclocal-genesis-0 -c validator -- bash -c "cd /root/ ; yarn install" | ||
kubectl exec -i agoriclocal-genesis-0 -c validator -- bash -c "cd /root/ ; yarn add @endo/[email protected]" | ||
#kubectl exec -i agoriclocal-genesis-0 -c validator -- bash -c "cd /root/ ; yarn add @agoric/[email protected]" | ||
kubectl exec -i agoriclocal-genesis-0 -c validator -- bash -c "cd /root/ ; yarn add @agoric/[email protected]" | ||
kubectl exec -i agoriclocal-genesis-0 -c validator -- bash -c "cd /root/ ; yarn add @agoric/[email protected]" | ||
kubectl exec -i agoriclocal-genesis-0 -c validator -- bash -c "cd /root/ ; yarn build:deployer" | ||
|
||
# yarn node scripts/deploy-contract.js --install /root/src/orca.contract.js --eval /root/src/orca.proposal.js | ||
yarn node scripts/deploy-contract.js --install ${PWD}/src/orca.contract.js,${PWD}/src/orca.proposal.js --eval /root/src/orca.proposal.js | ||
|
||
# todo: figure out why this sequence # is always off by 1 forcing a retry | ||
# yarn node script/deploy-contract.js | ||
|
||
$(DEPLOY) src/builder/init-orca.js | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Nice! |
||
lint: | ||
yarn lint --fix-dry-run --ignore-pattern "*patch*" | ||
|
This file was deleted.
Oops, something went wrong.
File renamed without changes.
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
Oops, something went wrong.
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.
👏 for replacing lots of old lines with 1 new one