-
Notifications
You must be signed in to change notification settings - Fork 2
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #21 from chocolatenetwork/development
Development - Sync with main
- Loading branch information
Showing
39 changed files
with
3,268 additions
and
889 deletions.
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,14 @@ | ||
FROM gitpod/workspace-full | ||
|
||
# Change to machine user/group | ||
ARG USER=gitpod | ||
ARG GROUP=gitpod | ||
USER ${USER}:${GROUP} | ||
|
||
EXPOSE 30333 9933 9944 | ||
|
||
ARG COLLATOR_BIN=./target/release/parachain-collator | ||
|
||
COPY ${COLLATOR_BIN} /usr/local/bin | ||
|
||
ENTRYPOINT ["/usr/local/bin/parachain-collator"] |
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 |
---|---|---|
@@ -0,0 +1,12 @@ | ||
FROM gitpod/workspace-full | ||
|
||
ARG USER=gitpod | ||
ARG GROUP=gitpod | ||
USER ${USER}:${GROUP} | ||
|
||
ARG POLKADOT_BIN=./bins/polkadot | ||
|
||
COPY ${POLKADOT_BIN} /usr/local/bin | ||
EXPOSE 30333 9933 9944 | ||
|
||
ENTRYPOINT ["/usr/local/bin/polkadot"] |
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 |
---|---|---|
|
@@ -15,4 +15,5 @@ | |
|
||
.DS_Store | ||
.idea | ||
.vscode | ||
.vscode | ||
/ch_spec |
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 |
---|---|---|
@@ -1,10 +1,26 @@ | ||
image: | ||
file: .github/dockerfiles/Dockerfile.gitpod-base | ||
context: . | ||
tasks: | ||
- name: Collator 1 | ||
init: cargo build | ||
command: ./target/debug/parachain-collator --dev | ||
- name: Relay | ||
command: ~/relay/polkadot/target/release/polkadot --dev | ||
|
||
- name: Collator | ||
init: bash ./scripts/prep-collator.sh main && gp sync-await relay | ||
command: bash ./scripts/start-collator.sh | ||
- name: Relay Alice | ||
init: bash ./scripts/prep-relay.sh main | ||
command: bash ./scripts/start-relay.sh alice | ||
- name: Relay Bob | ||
# Wait for alice | ||
init: gp sync-await relay | ||
command: bash ./scripts/start-relay.sh bob | ||
# - name: Test Net | ||
# init: gp sync-await collator && gp sync-await relay | ||
# command: zombienet spawn zombienet/config.toml -p native | ||
|
||
github: | ||
prebuilds: | ||
development: true | ||
ports: | ||
- port: 8844 | ||
visibility: public | ||
- port: 9944 | ||
visibility: public |
Oops, something went wrong.