mirror of
https://github.com/pezkuwichain/pezkuwi-subxt.git
synced 2026-06-13 23:21:06 +00:00
Add CI for monorepo (#1145)
* Add CI for monorepo * fix frame tests * Format features Signed-off-by: Oliver Tale-Yazdi <oliver.tale-yazdi@parity.io> * add note for skipping tests and disable test-linux-stable-all * Fix tests and compile issues (#1152) * Fix feature dependant import Signed-off-by: Oliver Tale-Yazdi <oliver.tale-yazdi@parity.io> * Bump test timeout Signed-off-by: Oliver Tale-Yazdi <oliver.tale-yazdi@parity.io> * Remove feature gate Signed-off-by: Oliver Tale-Yazdi <oliver.tale-yazdi@parity.io> * Add resolver 2 Signed-off-by: Oliver Tale-Yazdi <oliver.tale-yazdi@parity.io> * Remove old lockfile Signed-off-by: Oliver Tale-Yazdi <oliver.tale-yazdi@parity.io> * Format features Signed-off-by: Oliver Tale-Yazdi <oliver.tale-yazdi@parity.io> --------- Signed-off-by: Oliver Tale-Yazdi <oliver.tale-yazdi@parity.io> * Fix check-dependency-rules Signed-off-by: Oliver Tale-Yazdi <oliver.tale-yazdi@parity.io> * rm test-runtime Signed-off-by: Oliver Tale-Yazdi <oliver.tale-yazdi@parity.io> * Actually fix script Signed-off-by: Oliver Tale-Yazdi <oliver.tale-yazdi@parity.io> * enable cargo-check-each-crate-macos * Run check-each-crate on 6 machines (#1163) --------- Signed-off-by: Oliver Tale-Yazdi <oliver.tale-yazdi@parity.io> Co-authored-by: Oliver Tale-Yazdi <oliver.tale-yazdi@parity.io>
This commit is contained in:
committed by
GitHub
parent
1a38d6d6be
commit
e49493442a
@@ -0,0 +1,129 @@
|
||||
version: '3.7'
|
||||
services:
|
||||
node_alice:
|
||||
image: "polkadot:${BRANCH:-cumulus-branch}"
|
||||
ports:
|
||||
- "30333:30333"
|
||||
- "9933:9933"
|
||||
- "9944:9944"
|
||||
volumes:
|
||||
- "polkadot-data-alice:/data"
|
||||
- type: bind
|
||||
source: ./test/parachain/chain-specs/polkadot_chainspec.json
|
||||
target: /chainspec.json
|
||||
read_only: true
|
||||
command: >
|
||||
polkadot
|
||||
--chain=/chainspec.json
|
||||
--base-path=/data
|
||||
--port 30333
|
||||
--rpc-port 9933
|
||||
--ws-port 9944
|
||||
--rpc-external
|
||||
--rpc-cors all
|
||||
--ws-external
|
||||
--alice
|
||||
networks:
|
||||
testing_net:
|
||||
ipv4_address: 172.28.1.1
|
||||
aliases:
|
||||
- alice
|
||||
|
||||
node_bob:
|
||||
image: "polkadot:${BRANCH:-cumulus-branch}"
|
||||
ports:
|
||||
- "30344:30333"
|
||||
- "9935:9933"
|
||||
- "9945:9944"
|
||||
volumes:
|
||||
- "polkadot-data-bob:/data"
|
||||
- type: bind
|
||||
source: ./test/parachain/chain-specs/polkadot_chainspec.json
|
||||
target: /chainspec.json
|
||||
read_only: true
|
||||
command: >
|
||||
polkadot
|
||||
--chain=/chainspec.json
|
||||
--base-path=/data
|
||||
--port 30333
|
||||
--rpc-port 9933
|
||||
--ws-port 9944
|
||||
--rpc-external
|
||||
--ws-external
|
||||
--rpc-cors all
|
||||
--bob
|
||||
networks:
|
||||
testing_net:
|
||||
ipv4_address: 172.28.1.2
|
||||
aliases:
|
||||
- bob
|
||||
|
||||
genesis_state:
|
||||
build:
|
||||
context: .
|
||||
dockerfile: ./docker/test-parachain-collator.dockerfile
|
||||
image: "ctpc:latest"
|
||||
volumes:
|
||||
- "genesis-state:/data"
|
||||
command: >
|
||||
polkadot-parachain
|
||||
export-genesis-state
|
||||
/data/genesis-state
|
||||
|
||||
collator:
|
||||
build:
|
||||
context: .
|
||||
dockerfile: ./docker/test-parachain-collator.dockerfile
|
||||
target: collator
|
||||
image: "ctpc:collator"
|
||||
volumes:
|
||||
- "collator-data:/data"
|
||||
depends_on:
|
||||
- node_alice
|
||||
- node_bob
|
||||
command: >
|
||||
inject_bootnodes.sh
|
||||
--base-path=/data
|
||||
networks:
|
||||
testing_net:
|
||||
|
||||
runtime:
|
||||
build:
|
||||
context: .
|
||||
dockerfile: ./docker/test-parachain-collator.dockerfile
|
||||
target: runtime
|
||||
image: "ctpc:runtime"
|
||||
volumes:
|
||||
- "parachain-runtime:/runtime"
|
||||
|
||||
|
||||
registrar:
|
||||
build:
|
||||
context: .
|
||||
dockerfile: ./docker/parachain-registrar.dockerfile
|
||||
image: para-reg:latest
|
||||
volumes:
|
||||
- "genesis-state:/genesis"
|
||||
- "parachain-runtime:/runtime"
|
||||
depends_on:
|
||||
- node_alice
|
||||
- runtime
|
||||
- genesis_state
|
||||
networks:
|
||||
testing_net:
|
||||
|
||||
|
||||
volumes:
|
||||
polkadot-data-alice:
|
||||
polkadot-data-bob:
|
||||
collator-data:
|
||||
genesis-state:
|
||||
parachain-runtime:
|
||||
|
||||
|
||||
networks:
|
||||
testing_net:
|
||||
ipam:
|
||||
driver: default
|
||||
config:
|
||||
- subnet: 172.28.0.0/16
|
||||
Reference in New Issue
Block a user