Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix: remove reduntand code from polkadot package #124

Merged
merged 9 commits into from
Nov 29, 2023
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