Skip to content

Commit

Permalink
fix: remove redundant code from polkadot package (#124)
Browse files Browse the repository at this point in the history
* chore: remove reduntand code from polkadot package

* chore: update soonsocial raw build spec

* chore: add subsocial docker image for testnet

* fix: issue in prometheus while relaychain are empty

* fix: issue in phala network

* fix: centrifuge image tag updated for resolving bin/sh issue

* fix: handle testnet issue for parallel

* fix: altair mainet and localnet

---------

Co-authored-by: Shreyas S Bhat <[email protected]>
  • Loading branch information
shanithkk and shreyasbhat0 authored Nov 29, 2023
1 parent 76fcc8e commit 5944892
Show file tree
Hide file tree
Showing 66 changed files with 48 additions and 3,417 deletions.
5 changes: 3 additions & 2 deletions package_io/constant.star
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,8 @@ DIFFERENT_IMAGES_FOR_TESTNET = {
"frequency": "frequencychain/parachain-node-rococo",
"centrifuge": "centrifugeio/centrifuge-chain:main-latest",
"karura": "acala/mandala-node:latest",
"clover": "cloverio/clover-iris:0.1.15"
"clover": "cloverio/clover-iris:0.1.15",
"subsocial": "dappforce/subsocial-parachain:latest"
}

CHAIN_COMMAND = ["manta", "moonsama", "interlay", "kintsugi-btc"]
CHAIN_COMMAND = ["manta", "moonsama", "interlay", "kintsugi-btc", "polkadex"]
25 changes: 13 additions & 12 deletions package_io/promethues.star
Original file line number Diff line number Diff line change
Expand Up @@ -72,19 +72,20 @@ def get_config(config_files_artifact_name):
def new_config_template_data(plan, args, service_details):
metrics_jobs = []

relay_nodes = args["relaychain"]["nodes"]
for node in relay_nodes:
if node["prometheus"] == True:
endpoint = "{0}:{1}".format(service_details["relaychains"][0]["service_details"].ip_address, service_details["relaychains"][0]["service_details"].ports["prometheus"].number)
if len(args["relaychain"]) != 0:
relay_nodes = args["relaychain"]["nodes"]
for node in relay_nodes:
if node["prometheus"] == True:
endpoint = "{0}:{1}".format(service_details["relaychains"][0]["service_details"].ip_address, service_details["relaychains"][0]["service_details"].ports["prometheus"].number)

metrics_jobs.append(
new_metrics_job(
job_name = service_details["relaychains"][0]["service_name"],
endpoint = endpoint,
scrape_interval = "5s",
),
)
plan.print(node["prometheus"])
metrics_jobs.append(
new_metrics_job(
job_name = service_details["relaychains"][0]["service_name"],
endpoint = endpoint,
scrape_interval = "5s",
),
)
plan.print(node["prometheus"])

for parachain in args["para"]:
for node in args["para"][parachain]["nodes"]:
Expand Down
341 changes: 0 additions & 341 deletions parachain/bifrost-raw.json

This file was deleted.

1,400 changes: 0 additions & 1,400 deletions parachain/bifrost.json

This file was deleted.

29 changes: 0 additions & 29 deletions parachain/local-setup/acala.star

This file was deleted.

57 changes: 0 additions & 57 deletions parachain/local-setup/ajuna.star

This file was deleted.

31 changes: 0 additions & 31 deletions parachain/local-setup/altair.star

This file was deleted.

15 changes: 0 additions & 15 deletions parachain/local-setup/bifrost.star

This file was deleted.

26 changes: 0 additions & 26 deletions parachain/local-setup/centrifuge.star

This file was deleted.

30 changes: 0 additions & 30 deletions parachain/local-setup/clover.star

This file was deleted.

19 changes: 0 additions & 19 deletions parachain/local-setup/encointer.star

This file was deleted.

15 changes: 0 additions & 15 deletions parachain/local-setup/frequency.star

This file was deleted.

19 changes: 0 additions & 19 deletions parachain/local-setup/integritee.star

This file was deleted.

15 changes: 0 additions & 15 deletions parachain/local-setup/interlay.star

This file was deleted.

26 changes: 0 additions & 26 deletions parachain/local-setup/karura.star

This file was deleted.

39 changes: 0 additions & 39 deletions parachain/local-setup/khala.star

This file was deleted.

Loading

0 comments on commit 5944892

Please sign in to comment.