This repository was archived by the owner on Nov 15, 2023. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 371
Automatic Example Collator #67
Merged
Merged
Changes from 1 commit
Commits
Show all changes
23 commits
Select commit
Hold shift + click to select a range
c0c35ba
add polkadot build script
coriolinus 32d9303
Add scripting to bring up a simple alice-bob example net
coriolinus 35cd700
enable external rpc access to the nodes
coriolinus cd19677
Ensure external RPC access works
coriolinus 1ff63a5
Add multi-stage dockerfile for building the cumulus-test-parachain-co…
coriolinus 55d5e8d
Add services which generate genesis state, run the collator
coriolinus 78a4e60
Merge remote-tracking branch 'origin/master' into prgn-collator-script
coriolinus e2ce4c8
Launch the collator node
coriolinus d244115
enable external websocket access to indexer nodes
coriolinus 4a32d81
Reorganize for improved caching, again
coriolinus e698987
Get the collator talking to the indexer nodes
coriolinus 8968c5a
Add runtime stage to collect runtime wasm blob into volume
coriolinus 30bf185
WIP: add registrar service and partial work to actually register the …
coriolinus 1c5ba4a
Add a parachain registrar which should properly register the parachain
coriolinus c683f80
BROKEN attempt to demo registrar communication with the blockchain
coriolinus 54e98d4
Fix broken parachain registrar
coriolinus d2b0905
Merge remote-tracking branch 'origin/master' into prgn-collator-script
coriolinus ba59157
fixes which cause the collator to correctly produce new parachain blocks
coriolinus d53f004
add documentation for running the parachain automatically
coriolinus f260c00
Add health check to collator
coriolinus 0ff7fb5
minor scripting improvements
coriolinus 55d9701
Apply suggestions from code review
coriolinus e202ffc
Docker: copy the whole workspace in one go
coriolinus 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
Next
Next commit
add polkadot build script
- Loading branch information
commit c0c35bac569e06087e2c7c5db6f01064d7664a22
There are no files selected for viewing
This file contains hidden or 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,22 @@ | ||
| #!/usr/bin/env bash | ||
|
|
||
| set -e | ||
|
|
||
| cumulus_repo=$(cd "$(dirname "$0")" && git rev-parse --show-toplevel) | ||
| polkadot_repo=$(dirname "$cumulus_repo")/polkadot | ||
| if [ ! -d "$polkadot_repo/.git" ]; then | ||
| echo "please clone polkadot in parallel to this repo:" | ||
| echo " (cd .. && git clone [email protected]:paritytech/polkadot.git)" | ||
| exit 1 | ||
| fi | ||
|
|
||
| if [ -z "$BRANCH" ]; then | ||
| BRANCH=bkchr-cumulus-branch | ||
| fi | ||
|
|
||
| cd "$polkadot_repo" | ||
| git checkout "$BRANCH" | ||
| time docker build \ | ||
| -f ./docker/Dockerfile \ | ||
| --build-arg PROFILE=release \ | ||
| -t polkadot:"$BRANCH" . | ||
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.
Uh oh!
There was an error while loading. Please reload this page.