Skip to content
This repository was archived by the owner on Nov 15, 2023. It is now read-only.
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 Feb 6, 2020
32d9303
Add scripting to bring up a simple alice-bob example net
coriolinus Feb 6, 2020
35cd700
enable external rpc access to the nodes
coriolinus Feb 7, 2020
cd19677
Ensure external RPC access works
coriolinus Feb 12, 2020
1ff63a5
Add multi-stage dockerfile for building the cumulus-test-parachain-co…
coriolinus Feb 12, 2020
55d5e8d
Add services which generate genesis state, run the collator
coriolinus Feb 12, 2020
78a4e60
Merge remote-tracking branch 'origin/master' into prgn-collator-script
coriolinus Feb 13, 2020
e2ce4c8
Launch the collator node
coriolinus Feb 13, 2020
d244115
enable external websocket access to indexer nodes
coriolinus Feb 13, 2020
4a32d81
Reorganize for improved caching, again
coriolinus Feb 14, 2020
e698987
Get the collator talking to the indexer nodes
coriolinus Feb 14, 2020
8968c5a
Add runtime stage to collect runtime wasm blob into volume
coriolinus Feb 17, 2020
30bf185
WIP: add registrar service and partial work to actually register the …
coriolinus Feb 17, 2020
1c5ba4a
Add a parachain registrar which should properly register the parachain
coriolinus Feb 18, 2020
c683f80
BROKEN attempt to demo registrar communication with the blockchain
coriolinus Feb 20, 2020
54e98d4
Fix broken parachain registrar
coriolinus Feb 20, 2020
d2b0905
Merge remote-tracking branch 'origin/master' into prgn-collator-script
coriolinus Feb 21, 2020
ba59157
fixes which cause the collator to correctly produce new parachain blocks
coriolinus Feb 21, 2020
d53f004
add documentation for running the parachain automatically
coriolinus Feb 21, 2020
f260c00
Add health check to collator
coriolinus Feb 21, 2020
0ff7fb5
minor scripting improvements
coriolinus Feb 21, 2020
55d9701
Apply suggestions from code review
coriolinus Feb 21, 2020
e202ffc
Docker: copy the whole workspace in one go
coriolinus Feb 21, 2020
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
Next Next commit
add polkadot build script
  • Loading branch information
coriolinus committed Feb 6, 2020
commit c0c35bac569e06087e2c7c5db6f01064d7664a22
22 changes: 22 additions & 0 deletions scripts/build_polkadot.sh
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" .