-
Notifications
You must be signed in to change notification settings - Fork 214
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
fix: use dapp-offer-up by default #8630
Merged
Merged
Changes from 5 commits
Commits
Show all changes
9 commits
Select commit
Hold shift + click to select a range
c263f3b
use dapp-game-pieces (in agoric-labs) by default
dckc b3ad188
feat: use dapp-offer-up in @agoric/dapp
dckc 2097951
fix(integration-test): update initOptions with '--dapp-template' para…
LuqiPan 8ec4ed3
fix(integration-test): set --dapp-template at registry.sh level
LuqiPan 9c7dc74
Revert "fix(integration-test): update initOptions with '--dapp-templa…
LuqiPan cf37902
Revert "fix(integration-test): set --dapp-template at registry.sh level"
LuqiPan 35acc3d
fix(integration-test): add --dapp-template parameter to myMain command
LuqiPan 9196b92
fixup! fix(integration-test): add --dapp-template parameter to myMain…
LuqiPan 3c69847
Merge branch 'master' into dckc-patch-1
mergify[bot] 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
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 |
---|---|---|
|
@@ -107,7 +107,7 @@ integrationTest() { | |
persistVar AGORIC_INSTALL_OPTIONS "[\"$DISTTAG\"]" | ||
} | ||
persistVar AGORIC_START_OPTIONS '["--rebuild"]' | ||
persistVar AGORIC_INIT_OPTIONS "[\"--dapp-branch=$2\"]" | ||
persistVar AGORIC_INIT_OPTIONS "[\"--dapp-template=dapp-fungible-faucet\"]" | ||
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. I don't think this is correct. Why remove the dapp-branch option? |
||
|
||
( | ||
cd "$thisdir/../packages/agoric-cli" | ||
|
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.
I expect the integration tests would need to be updated as well.
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.
"the integration tests"?
hmm.. I see https://github.com/Agoric/agoric-sdk/blob/master/.github/workflows/integration.yml#L39
programming in yaml... I'm struggling to follow... seems to lead to...
https://github.com/Agoric/agoric-sdk/blob/master/scripts/registry.sh
But I don't see any use of
yarn create @agoric/dapp
. What am I missing?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.
agoric-sdk/.github/workflows/integration.yml
Line 97 in d61be8d
Leads to
agoric-sdk/scripts/registry.sh
Line 110 in d61be8d
The current getting started steps are captured in that script and another.
While neither reference the new dapp-create, that package is just a wrapper for the agoric cli.
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.
another? what other? Perhaps all will become clear if I study some ci logs.
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.
Yes,
registry.sh
triggers a yarn command inagoric-cli
after setting up some environment variablesagoric-sdk/scripts/registry.sh
Line 117 in d61be8d
which ultimately bottoms out in https://github.com/Agoric/agoric-sdk/blob/d61be8d7fbda7dd3846cba38f8829e36bfae92a4/packages/agoric-cli/tools/getting-started.js