Skip to content

Commit

Permalink
fix: DNS-1035 label (#697)
Browse files Browse the repository at this point in the history
  • Loading branch information
barnabasbusa authored Jun 27, 2024
1 parent 9363ea2 commit 440fb31
Show file tree
Hide file tree
Showing 6 changed files with 9 additions and 9 deletions.
2 changes: 1 addition & 1 deletion src/network_launcher/devnet.star
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ def launch(plan, network, prague_time, repo):
name="el_cl_genesis",
)
el_cl_genesis_data_uuid = plan.run_sh(
name="move_genesis_data",
name="move-genesis-data",
description="Creating network configs",
run="mkdir -p /network-configs/ && mv /opt/* /network-configs/",
store=[StoreSpec(src="/network-configs/", name="el_cl_genesis_data")],
Expand Down
2 changes: 1 addition & 1 deletion src/network_launcher/ephemery.star
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ el_cl_genesis_data = import_module(

def launch(plan, prague_time):
el_cl_genesis_data_uuid = plan.run_sh(
name="fetch_ephemery_genesis_data",
name="fetch-ephemery-genesis-data",
description="Creating network configs",
run="mkdir -p /network-configs/ && \
curl -o latest.tar.gz https://ephemery.dev/latest.tar.gz && \
Expand Down
2 changes: 1 addition & 1 deletion src/network_launcher/public_network.star
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ constants = import_module("../package_io/constants.star")
def launch(plan, network, prague_time):
# We are running a public network
dummy_genesis_data = plan.run_sh(
name="dummy_genesis_data",
name="dummy-genesis-data",
description="Creating network configs folder",
run="mkdir /network-configs",
store=[StoreSpec(src="/network-configs/", name="el_cl_genesis_data")],
Expand Down
4 changes: 2 additions & 2 deletions src/network_launcher/shadowfork.star
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ def shadowfork_prep(
# overload the network name to remove the shadowfork suffix
if constants.NETWORK_NAME.ephemery in base_network:
chain_id = plan.run_sh(
name="fetch_chain_id",
name="fetch-chain-id",
description="Fetching the chain id",
run="curl -s https://ephemery.dev/latest/config.yaml | yq .DEPOSIT_CHAIN_ID | tr -d '\n'",
image="linuxserver/yq",
Expand All @@ -26,7 +26,7 @@ def shadowfork_prep(
base_network
] # overload the network id to match the network name
latest_block = plan.run_sh(
name="fetch_latest_block",
name="fetch-latest-block",
description="Fetching the latest block",
run="mkdir -p /shadowfork && \
curl -o /shadowfork/latest_block.json "
Expand Down
2 changes: 1 addition & 1 deletion src/package_io/input_parser.star
Original file line number Diff line number Diff line change
Expand Up @@ -1149,7 +1149,7 @@ def deep_copy_participant(participant):

def get_public_ip(plan):
response = plan.run_sh(
name="get_public_ip",
name="get-public-ip",
description="Get the public IP address of the current machine",
run="curl -s https://ident.me",
)
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -47,7 +47,7 @@ def generate_el_cl_genesis_data(
files[GENESIS_VALUES_PATH] = genesis_generation_config_artifact_name

genesis = plan.run_sh(
name="run_generate_genesis",
name="run-generate-genesis",
description="Creating genesis",
run="cp /opt/values.env /config/values.env && ./entrypoint.sh all && mkdir /network-configs && mv /data/metadata/* /network-configs/",
image=image,
Expand All @@ -63,15 +63,15 @@ def generate_el_cl_genesis_data(
)

genesis_validators_root = plan.run_sh(
name="read_genesis_validators_root",
name="read-genesis-validators-root",
description="Reading genesis validators root",
run="cat /data/genesis_validators_root.txt",
files={"/data": genesis.files_artifacts[1]},
wait=None,
)

prague_time = plan.run_sh(
name="read_prague_time",
name="read-prague-time",
description="Reading prague time from genesis",
run="jq .config.pragueTime /data/genesis.json | tr -d '\n'",
image="badouralix/curl-jq",
Expand Down

0 comments on commit 440fb31

Please sign in to comment.