From 6efe15215ef66edcc120c8124a0bd20e4a31ccb3 Mon Sep 17 00:00:00 2001 From: Abhishek Harde <47945971+abhiyana@users.noreply.github.com> Date: Fri, 10 Nov 2023 10:53:44 +0530 Subject: [PATCH] feat: implement kurtosis package for integritee mainnet node setup (#60) --- parachain/mainnet-setup/integritee.star | 54 +++++++++++++++++++++++++ 1 file changed, 54 insertions(+) create mode 100644 parachain/mainnet-setup/integritee.star diff --git a/parachain/mainnet-setup/integritee.star b/parachain/mainnet-setup/integritee.star new file mode 100644 index 0000000..2b4246b --- /dev/null +++ b/parachain/mainnet-setup/integritee.star @@ -0,0 +1,54 @@ +def run_integritee_polkadot(plan): + exec_command = [ + "--chain=integritee-polkadot", + "--collator", + "--rpc-external", + "--rpc-cors=all", + "--rpc-methods=unsafe", + "--tmp" + ] + integritee_service_config = ServiceConfig( + image = "integritee/parachain", + files = { + "/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"), + }, + cmd = exec_command, + entrypoint = ["/usr/local/bin/integritee-collator"] + ) + plan.add_service(name = "intigreeti-node", config = integritee_service_config) + + +def run_integritee_kusama(plan): + exec_command = [ + "--chain=integritee-kusama", + "--collator", + "--rpc-external", + "--rpc-cors=all", + "--rpc-methods=unsafe", + "--tmp" + ] + integritee_service_config = ServiceConfig( + image = "integritee/parachain", + files = { + "/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"), + }, + cmd = exec_command, + entrypoint = ["/usr/local/bin/integritee-collator"] + ) + plan.add_service(name = "intigreeti-node", config = integritee_service_config)