diff --git a/parachain/acala.star b/parachain/acala.star index 148e362..f40450f 100644 --- a/parachain/acala.star +++ b/parachain/acala.star @@ -1,8 +1,21 @@ def run_acala(plan): - exec_command = ["--chain=/app/acala-raw.json", "--collator", "--rpc-external", "--rpc-cors=all", "--rpc-methods=unsafe", "--tmp", "--instant-sealing"] + exec_command = [ + "--chain=dev", + "--collator", + "--rpc-cors=all", + "--rpc-port=9933", + "--rpc-methods=unsafe", + "--unsafe-rpc-external", + "--unsafe-ws-external", + "--tmp", + "--execution=wasm", + "--", + "--chain=/app/rococo-local.json", + "--execution=wasm" + ] acala_service_config = ServiceConfig( - image = "acala/acala-node:latest", + image = "acala/mandala-node:latest", files = { "/app": "configs", }, @@ -10,10 +23,7 @@ def run_acala(plan): "ws": PortSpec(9944, transport_protocol = "TCP"), "rpc": PortSpec(9933, transport_protocol = "TCP"), }, - public_ports = { - "ws": PortSpec(9432, transport_protocol = "TCP"), - "rpc": PortSpec(9431, transport_protocol = "TCP"), - }, cmd = exec_command, + entrypoint= ["/usr/local/bin/acala"] ) plan.add_service(name = "acala-node", config = acala_service_config) diff --git a/parachain/ajuna.star b/parachain/ajuna.star index e028152..e5a5d55 100644 --- a/parachain/ajuna.star +++ b/parachain/ajuna.star @@ -23,6 +23,7 @@ def run_bajun(plan, args): "ws": PortSpec(9944, transport_protocol = "TCP"), }, cmd = exec_command, + entrypoint= ["/usr/local/bin/ajuna"] ), ) @@ -51,5 +52,6 @@ def run_ajuna(plan, args): "ws": PortSpec(9944, transport_protocol = "TCP"), }, cmd = exec_command, + entrypoint =["/usr/local/bin/ajuna"] ) ) \ No newline at end of file diff --git a/parachain/altair.star b/parachain/altair.star index a88f04f..7af6c2b 100644 --- a/parachain/altair.star +++ b/parachain/altair.star @@ -5,6 +5,7 @@ def run_altair(plan): "--rpc-external", "--rpc-cors=all", "--rpc-methods=unsafe", + "--unsafe-ws-external", "--execution=wasm", "--tmp", "--", @@ -25,5 +26,6 @@ def run_altair(plan): "rpc": PortSpec(9431, transport_protocol = "TCP"), }, cmd = exec_command, + entrypoint = ["/usr/local/bin/centrifuge-chain"] ) plan.add_service(name = "altair-node", config = altair_service_config) diff --git a/parachain/centriguge.star b/parachain/centrifuge.star similarity index 78% rename from parachain/centriguge.star rename to parachain/centrifuge.star index 9cb8a2c..4da22fd 100644 --- a/parachain/centriguge.star +++ b/parachain/centrifuge.star @@ -1,10 +1,11 @@ -def run_centriguge(plan, args): +def run_centrifuge(plan): exec_command = [ "--chain=/app/centrifuge-raw-spec.json", "--collator", "--rpc-external", "--rpc-cors=all", "--rpc-methods=unsafe", + "--unsafe-ws-external", "--tmp", "--", "--chain=/app/rococo-local.json", @@ -19,10 +20,7 @@ def run_centriguge(plan, args): "ws": PortSpec(9944, transport_protocol = "TCP"), "rpc": PortSpec(9933, transport_protocol = "TCP"), }, - public_ports = { - "ws": PortSpec(9432, transport_protocol = "TCP"), - "rpc": PortSpec(9431, transport_protocol = "TCP"), - }, cmd = exec_command, + entrypoint = ["/usr/local/bin/centrifuge-chain"] ) plan.add_service(name = "centrifuge-node", config = centifuge_service_config) diff --git a/parachain/integritee.star b/parachain/integritee.star index 9c9c893..244efdc 100644 --- a/parachain/integritee.star +++ b/parachain/integritee.star @@ -14,5 +14,6 @@ def run_integritee(plan, args): "rpc": PortSpec(9431, transport_protocol = "TCP"), }, cmd = exec_command, + entrypoint = ["/usr/local/bin/integritee-collator"] ) plan.add_service(name = "intigreeti-node", config = integritee_service_config) diff --git a/parachain/karura.star b/parachain/karura.star index bd33664..194378a 100644 --- a/parachain/karura.star +++ b/parachain/karura.star @@ -17,13 +17,10 @@ def run_karura(plan): "/app": "configs", }, ports = { - "ws": PortSpec(9944, transport_protocol = "TCP"), - "rpc": PortSpec(9933, transport_protocol = "TCP"), - }, - public_ports = { - "ws": PortSpec(9432, transport_protocol = "TCP"), - "rpc": PortSpec(9431, transport_protocol = "TCP"), + "rpc": PortSpec(9944, transport_protocol = "TCP"), }, cmd = exec_command, + entrypoint = ["/usr/local/bin/acala"] + ) plan.add_service(name = "karura-node", config = karura_service_config) diff --git a/parachain/kilt.star b/parachain/kilt.star index 23bcf4b..f4fa37f 100644 --- a/parachain/kilt.star +++ b/parachain/kilt.star @@ -5,6 +5,7 @@ def run_kilt(plan): "--rpc-port=9933", "--rpc-external", "--rpc-cors=all", + "--unsafe-ws-external", "--rpc-methods=unsafe", "--execution=wasm", "--tmp", @@ -16,16 +17,12 @@ def run_kilt(plan): kilt_service_config = ServiceConfig( image = "kiltprotocol/kilt-node:latest", files = { - "/app": "config", + "/app": "configs", }, ports = { - "ws": PortSpec(9944, transport_protocol = "TCP"), - "rpc": PortSpec(9933, transport_protocol = "TCP"), - }, - public_ports = { - "ws": PortSpec(9432, transport_protocol = "TCP"), - "rpc": PortSpec(9431, transport_protocol = "TCP"), + "ws": PortSpec(9944, transport_protocol = "TCP") }, cmd = exec_command, + entrypoint = ["/usr/local/bin/node-executable"] ) plan.add_service(name = "kilt-node", config = kilt_service_config) diff --git a/parachain/kintsungi.star b/parachain/kintsungi.star index 1ff266c..b7ecc57 100644 --- a/parachain/kintsungi.star +++ b/parachain/kintsungi.star @@ -1,14 +1,15 @@ -def run_kintsungi(plan,args): +def run_kintsungi(plan): exec_command = [ "--chain=dev", "--wasm-execution=compiled", "--force-authoring", - "--port 30333", - "--rpc-port 9944", + "--port=30333", + "--rpc-port=9944", "--rpc-external", - "--rpc-cors all", + "--rpc-cors=all", "--rpc-methods=Unsafe", + "--unsafe-ws-external", "--", "--wasm-execution=compiled", "--chain=/app/rococo-local.json" @@ -23,7 +24,8 @@ def run_kintsungi(plan,args): ports = { "ws" : PortSpec(9944, transport_protocol="TCP"), }, - cmd=exec_command + cmd=exec_command, + entrypoint= ["tini", "--", "/usr/local/bin/interbtc-parachain"] ) ) diff --git a/parachain/kylin.star b/parachain/kylin.star index fd3b898..fabf11b 100644 --- a/parachain/kylin.star +++ b/parachain/kylin.star @@ -1,10 +1,11 @@ -def run_kylin(plan, args): +def run_kylin(plan): exec_command = [ "--base-path=/kylin/data", "--chain=dev", "--ws-external", "--rpc-external", "--rpc-cors=all", + "--unsafe-ws-external", "--name=parachain-2010-0", "--collator", "--rpc-methods=unsafe", @@ -27,5 +28,6 @@ def run_kylin(plan, args): "ws": PortSpec(9944, transport_protocol = "TCP"), }, cmd = exec_command, + entrypoint = ["/usr/local/bin/kylin-collator"] ), ) diff --git a/parachain/litentry.star b/parachain/litentry.star index d3a6a9c..c4217e4 100644 --- a/parachain/litentry.star +++ b/parachain/litentry.star @@ -22,6 +22,7 @@ def run_litentry(plan): "rpc": PortSpec(9933, transport_protocol = "TCP"), }, cmd = exec_command, + entrypoint = ["/usr/local/bin/litentry-collator"] ) service_details = plan.add_service(name = "litentry-node", config = litentry_service_config) @@ -52,4 +53,5 @@ def run_litmus(plan, args): "rpc": PortSpec(9933, transport_protocol = "TCP"), }, cmd = exec_command, + entrypoint = ["/usr/local/bin/litentry-collator"] )) diff --git a/parachain/mangata.star b/parachain/mangata.star index 8bfd218..9db1c2e 100644 --- a/parachain/mangata.star +++ b/parachain/mangata.star @@ -20,5 +20,6 @@ def run_mangata(plan): "tcp": PortSpec(9933, transport_protocol = "TCP"), }, cmd = exec_command, + entrypoint = ["/mangata/node"] ) plan.add_service(name = "mangata-node", config = mangata_service_config) diff --git a/parachain/moonbeam.star b/parachain/moonbeam.star index 0c4cd6f..44b5b7e 100644 --- a/parachain/moonbeam.star +++ b/parachain/moonbeam.star @@ -7,6 +7,9 @@ def run_moonbeam(plan): "--rpc-methods=unsafe", "--tmp", "--unsafe-rpc-external", + "--", + "--wasm-execution=compiled", + "--chain=/app/rococo-local.json" ] moonbeam_service_config = ServiceConfig( image = "moonbeamfoundation/moonbeam:sha-32933811", @@ -15,13 +18,9 @@ def run_moonbeam(plan): }, ports = { "ws": PortSpec(9944, transport_protocol = "TCP"), - "rpc": PortSpec(9933, transport_protocol = "TCP"), - }, - public_ports = { - "ws": PortSpec(9432, transport_protocol = "TCP"), - "rpc": PortSpec(9431, transport_protocol = "TCP"), }, cmd = exec_command, + entrypoint = ["/moonbeam/moonbeam"] ) plan.add_service(name = "acala-node", config = moonbeam_service_config) @@ -34,6 +33,9 @@ def run_moonriver(plan, args): "--rpc-methods=unsafe", "--tmp", "--unsafe-rpc-external", + "--", + "--wasm-execution=compiled", + "--chain=/app/rococo-local.json" ] plan.add_service(name = "moonriver-node", config = ServiceConfig( image = "moonbeamfoundation/moonbeam:sha-519bd694", @@ -44,4 +46,5 @@ def run_moonriver(plan, args): "9944": PortSpec(9944, transport_protocol = "TCP"), }, cmd = exec_command, + entrypoint = ["/moonbeam/moonbeam"] )) diff --git a/parachain/nodle.star b/parachain/nodle.star index 3d0deeb..898b193 100644 --- a/parachain/nodle.star +++ b/parachain/nodle.star @@ -5,6 +5,7 @@ def run_nodle(plan): "--rpc-external", "--rpc-cors=all", "--rpc-methods=unsafe", + "--unsafe-ws-external", "--tmp", "--", "--chain=/app/rococo-local.json", @@ -24,5 +25,6 @@ def run_nodle(plan): "rpc": PortSpec(9431, transport_protocol = "TCP"), }, cmd = exec_command, + entrypoint = ["nodle-parachain"] ) plan.add_service(name = "nodle-node", config = nodle_service_config) diff --git a/parachain/parallel.star b/parachain/parallel.star index f0971f6..878e0c3 100644 --- a/parachain/parallel.star +++ b/parachain/parallel.star @@ -26,5 +26,7 @@ def run_parallel(plan, args): "ws": PortSpec(9944, transport_protocol = "TCP"), }, cmd = exec_command, + entrypoint = ["/parallel/.entrypoint.sh"] ), + ) diff --git a/parachain/pendulum.star b/parachain/pendulum.star index d1f8979..ae4b772 100644 --- a/parachain/pendulum.star +++ b/parachain/pendulum.star @@ -5,7 +5,8 @@ def run_pendulum(plan): "--rpc-external", "--rpc-cors=all", "--rpc-methods=unsafe", - "--tmp", + "--unsafe-ws-external", + "--tmp", "--", "--wasm-execution=compiled", "--chain=/app/rococo-local.json", @@ -19,10 +20,7 @@ def run_pendulum(plan): "ws": PortSpec(9944, transport_protocol = "TCP"), "rpc": PortSpec(9933, transport_protocol = "TCP"), }, - public_ports = { - "ws": PortSpec(9432, transport_protocol = "TCP"), - "rpc": PortSpec(9431, transport_protocol = "TCP"), - }, cmd = exec_command, + entrypoint = ["/usr/local/bin/pendulum-collator"] ) plan.add_service(name = "pendulum-node", config = pendulum_service_config) diff --git a/parachain/polkadex.star b/parachain/polkadex.star index 559cd1e..4208a58 100644 --- a/parachain/polkadex.star +++ b/parachain/polkadex.star @@ -5,6 +5,7 @@ def run_polkadex(plan): "--rpc-external", "--rpc-cors=all", "--rpc-methods=unsafe", + "--unsafe-ws-external", "--tmp", "--", "--execution=wasm", @@ -27,5 +28,6 @@ def run_polkadex(plan): "rpc": PortSpec(9431, transport_protocol = "TCP"), }, cmd = exec_command, + entrypoint = ["/usr/local/bin/parachain-polkadex-node"] ) plan.add_service(name = "acala-node", config = polkadex_service_config) diff --git a/parachain/robonomics.star b/parachain/robonomics.star index 769b33b..52a2582 100644 --- a/parachain/robonomics.star +++ b/parachain/robonomics.star @@ -1,6 +1,5 @@ def run_robonomics(plan): exec_command = [ - "robonomics", "--chain=dev", "--collator", "--rpc-external", @@ -22,5 +21,6 @@ def run_robonomics(plan): "tcp": PortSpec(9933, transport_protocol = "TCP"), }, cmd = exec_command, + entrypoint = ["/usr/local/bin/robonomics"] ) plan.add_service(name = "robonomics-node", config = robonomics_service_config) diff --git a/parachain/static_files/images.star b/parachain/static_files/images.star index 6cb7f6f..3c7a57c 100644 --- a/parachain/static_files/images.star +++ b/parachain/static_files/images.star @@ -1,37 +1,174 @@ "This Dictionary is for polkadot package, containing parachain and their respective docker images" parachain_images = { - "acala": "acala-node:latest", - "ajuna": "ajuna/parachain-ajuna:latest", - "bifrost": "bifrostnetwork/bifrost:latest", - "centrifuge": "centrifugeio/centrifuge-chain", - "clover": "cloverio/clover-para:v0.1.24", - "frequency": "frequencychain/collator-node-local:latest", - "integritee": "integritee/integritee-node:latest", - "interlay": "interlayhq/interbtc:latest", - "kilt-spiritnet ": "kiltprotocol/kilt-node:latest", - "kylin": "kylinnetworks/kylin-collator:latest", - "litentry": "litentry/litentry-parachain:latest", - "manta": "mantanetwork/manta:latest", - "moonbeamfoundation/moonbeam": "moonbeamfoundation/moonbeam:sha-519bd694", - "moonsama": "moonsama/moonsama-node:latest", - "nodle": "nodlecode/chain:latest", - "parallel": "parallelfinance/parallel:latest", - "pendulum": "pendulumchain/pendulum-collator:latest", - "phala-network": "phalanetwork/phala-node:latest", - "polkadex": "polkadex/parachain:latest", - "subsocial": "dappforce/subsocial-parachain:latest", - "zeitgeist": "zeitgeist-node:latest", - "encointer-network": "encointer/parachain:1.5.1", - "altair": "centrifugeio/centrifuge-chain:test-main-latest", - "bajuna": "ajuna/parachain-ajuna:latest", - "calamari": "mantanetwork/calamari:latest", - "karura": "acala/karura-node:latest", - "khala network": "phalanetwork/khala-node:latest", - "kintsugi-btc": "interlayhq/interbtc:latest", - "litmus": "litentry/litentry-parachain:latest", - "mangata": "mangatasolutions/mangata-node:ci-e2e-jobs-fix-MGX-785-fast", - "moonriver": "moonbeamfoundation/moonbeam:sha-519bd694", - "robonomics": "robonomics/robonomics:latest", - "subzero": "playzero/subzero:latest", - "turing": "oaknetwork/turing:latest", + "acala": { + "image": "acala/mandala-node:latest", + "entrypoint": "/usr/local/bin/acala", + "base": ["dev","testnet","mainnet"] + }, + "ajuna": { + "image": "ajuna/parachain-ajuna:latest", + "entrypoint": "/usr/local/bin/ajuna", + "base": ["local","testnet","mainnet"] + }, + + "bifrost": { + "image": "bifrostnetwork/bifrost:latest", + "entrypoint": "/usr/local/bin/bifrost", + "base": ["bifrost-local","testnet","mainnet"] + }, + "centrifuge": { + "image": "centrifugeio/centrifuge-chain:test-main-latest", + "entrypoint": "/usr/local/bin/centrifuge-chain", + "base": ["centrifuge-local","testnet","mainnet"] + }, + "clover": { + "image": "cloverio/clover-para:v0.1.24", + "entrypoint": "/opt/clover/bin/clover", + "base": ["dev","testnet","mainnet"] + }, + "frequency": { + "image": "frequencychain/collator-node-local:latest", + "entrypoint": "/frequency/target/release/frequency", + "base": ["frequency-rococo-local","testnet","mainnet"] + }, + "integritee": { + "image": "integritee/parachain", + "entrypoint": "/usr/local/bin/integritee-collator", + "base": ["integritee-rococo","testnet","mainnet"] + }, + "interlay": { + "image": "interlayhq/interbtc:latest", + "entrypoint": "/usr/local/bin/interbtc-parachain", + "base": ["dev","testnet","mainnet"] + }, + "kilt-spiritnet ": { + "image": "kiltprotocol/kilt-node:latest", + "entrypoint": "/usr/local/bin/node-executable", + "base": ["dev","testnet","mainnet"] + }, + "kylin": { + "image": "kylinnetworks/kylin-collator:ro-v0.9.30", + "entrypoint": "/usr/local/bin/kylin-collator", + "base": ["dev","testnet","mainnet"] + }, + "litentry": { + "image": "litentry/litentry-parachain:latest", + "entrypoint": "/usr/local/bin/litentry-collator", + "base": ["litentry-dev","testnet","mainnet"] + }, + "manta":{ + "image": "mantanetwork/manta:latest", + "entrypoint": "/usr/local/bin/manta", + "base": ["manta-local","testnet","mainnet"] + }, + "moonbeamfoundation/moonbeam": { + "image": "moonbeamfoundation/moonbeam:sha-32933811", + "entrypoint": "/moonbeam/moonbeam", + "base": ["dev","testnet","mainnet"] + }, + "moonsama": { + "image": "moonsama/moonsama-node:latest", + "entrypoint": "/moonsama/moonsama-node", + "base": ["dev","testnet","mainnet"] + }, + "nodle": { + "image": "nodlecode/chain:latest", + "entrypoint": "nodle-parachain", + "base": ["local","testnet","mainnet"] + }, + "parallel": { + "image": "parallelfinance/parallel:latest", + "entrypoint": "/parallel/.entrypoint.sh", + "base": ["kerria-dev","testnet","mainnet"] + }, + "pendulum": { + "image": "pendulumchain/pendulum-collator:latest", + "entrypoint": "/usr/local/bin/pendulum-collator", + "base": ["litentry-dev","testnet","mainnet"] + }, + "phala-network": { + "image": "litentry/litentry-parachain:latest", + "entrypoint": "/usr/local/bin/litentry-collator", + "base": ["dev","testnet","mainnet"] + }, + "polkadex": { + "image": "polkadex/parachain:latest", + "entrypoint": "/usr/local/bin/parachain-polkadex-node", + "base": ["dev","testnet","mainnet"] + }, + "subsocial": { + "image": "dappforce/subsocial-parachain:latest", + "entrypoint": "/usr/local/bin/subsocial-collator", + "base": ["local-rococo","testnet","mainnet"] + }, + "zeitgeist": { + "image": "zeitgeistpm/zeitgeist-node-parachain", + "entrypoint": "/usr/local/bin/zeitgeist", + "base": ["dev","testnet","mainnet"] + }, + "encointer-network": { + "image": "encointer/parachain:1.5.1", + "entrypoint": "/usr/local/bin/encointer-collator", + "base": ["encointer-rococo-local","testnet","mainnet"] + }, + "altair": { + "image": "centrifugeio/centrifuge-chain:test-main-latest", + "entrypoint": "/usr/local/bin/centrifuge-chain", + "base": ["altair-local","testnet","mainnet"] + }, + "bajuna": { + "image": "ajuna/parachain-bajun:latest", + "entrypoint": "/usr/local/bin/ajuna", + "base": ["local","testnet","mainnet"] + }, + "calamari": { + "image": "mantanetwork/manta:latest", + "entrypoint": "/usr/local/bin/manta", + "base": ["calamari-local","testnet","mainnet"] + }, + "karura": { + "image": "acala/karura-node:latest", + "entrypoint": "/usr/local/bin/acala", + "base": ["dev","testnet","mainnet"] + }, + "khala network": { + "image": "phalanetwork/khala-node:latest", + "entrypoint": "/usr/local/bin/khala-node", + "base": ["khala-dev-2004","testnet","mainnet"] + }, + "kintsugi-btc": { + "image": "interlayhq/interbtc:latest", + "entrypoint": "tini -- /usr/local/bin/interbtc-parachain", + "base": ["dev","testnet","mainnet"] + }, + "litmus": { + "image": "litentry/litentry-parachain:latest", + "entrypoint": "/usr/local/bin/litentry-collator", + "base": ["litmus-dev","testnet","mainnet"] + }, + "mangata": { + "image": "mangatasolutions/mangata-node:ci-e2e-jobs-fix-MGX-785-fast", + "entrypoint": "/mangata/node", + "base": ["rococo-local","testnet","mainnet"] + }, + "moonriver": { + "image": "moonbeamfoundation/moonbeam:sha-519bd694", + "entrypoint": "/moonbeam/moonbeam", + "base": ["dev","testnet","mainnet"] + }, + "robonomics": { + "image": "robonomics/robonomics:latest", + "entrypoint": "/usr/local/bin/robonomics", + "base": ["dev","testnet","mainnet"] + }, + "subzero": { + "image": "playzero/subzero:latest", + "entrypoint": "/usr/local/bin/subzero", + "base": ["dev","testnet","mainnet"] + }, + "turing": { + "image": "oaknetwork/turing:latest", + "entrypoint": "./oak-collator", + "base": ["turing-dev","testnet","mainnet"] + }, } diff --git a/parachain/turing.star b/parachain/turing.star index 5947f42..21f5a6d 100644 --- a/parachain/turing.star +++ b/parachain/turing.star @@ -23,6 +23,7 @@ def run_turing(plan): "rpc": PortSpec(9933, transport_protocol = "TCP"), }, cmd = exec_command, + entrypoint = ["./oak-collator"] ) service_details = plan.add_service(name = "turing-node", config = turing_service_config) diff --git a/parachain/zeitgeist.star b/parachain/zeitgeist.star index b7f9754..d841dbb 100644 --- a/parachain/zeitgeist.star +++ b/parachain/zeitgeist.star @@ -5,6 +5,7 @@ def run_zeitgeist(plan): "--rpc-external", "--rpc-cors=all", "--rpc-methods=unsafe", + "--unsafe-ws-external", "--execution=wasm", "--tmp", "--", @@ -20,10 +21,7 @@ def run_zeitgeist(plan): "ws": PortSpec(9944, transport_protocol = "TCP"), "rpc": PortSpec(9933, transport_protocol = "TCP"), }, - public_ports = { - "ws": PortSpec(9432, transport_protocol = "TCP"), - "rpc": PortSpec(9431, transport_protocol = "TCP"), - }, cmd = exec_command, + entrypoint = ["/usr/local/bin/zeitgeist"] ) plan.add_service(name = "zeitgeist-node", config = zeitgeist_service_config)