From 28d6a79be673af41c7cf085972ffd451fdea8426 Mon Sep 17 00:00:00 2001 From: Barnabas Busa Date: Wed, 27 Nov 2024 14:20:43 +0100 Subject: [PATCH] fix: image tag name (#96) --- src/cl/hildr/hildr_launcher.star | 2 +- src/cl/op-node/op_node_launcher.star | 2 +- src/el/op-besu/op_besu_launcher.star | 2 +- src/el/op-erigon/op_erigon_launcher.star | 2 +- src/el/op-geth/op_geth_launcher.star | 2 +- src/el/op-nethermind/op_nethermind_launcher.star | 2 +- src/el/op-reth/op_reth_launcher.star | 2 +- 7 files changed, 7 insertions(+), 7 deletions(-) diff --git a/src/cl/hildr/hildr_launcher.star b/src/cl/hildr/hildr_launcher.star index 5be7224..39b4dbd 100644 --- a/src/cl/hildr/hildr_launcher.star +++ b/src/cl/hildr/hildr_launcher.star @@ -226,7 +226,7 @@ def get_beacon_config( "labels": ethereum_package_shared_utils.label_maker( client=constants.CL_TYPE.op_node, client_type=constants.CLIENT_TYPES.cl, - image=participant.cl_image[: constants.MAX_LABEL_LENGTH], + image=participant.cl_image[-constants.MAX_LABEL_LENGTH :], connected_client=el_context.client_name, extra_labels=participant.cl_extra_labels, ), diff --git a/src/cl/op-node/op_node_launcher.star b/src/cl/op-node/op_node_launcher.star index a7b419f..97c1049 100644 --- a/src/cl/op-node/op_node_launcher.star +++ b/src/cl/op-node/op_node_launcher.star @@ -236,7 +236,7 @@ def get_beacon_config( "labels": ethereum_package_shared_utils.label_maker( client=constants.CL_TYPE.op_node, client_type=constants.CLIENT_TYPES.cl, - image=participant.cl_image[: constants.MAX_LABEL_LENGTH], + image=participant.cl_image[-constants.MAX_LABEL_LENGTH :], connected_client=el_context.client_name, extra_labels=participant.cl_extra_labels, ), diff --git a/src/el/op-besu/op_besu_launcher.star b/src/el/op-besu/op_besu_launcher.star index 6f27377..63d3509 100644 --- a/src/el/op-besu/op_besu_launcher.star +++ b/src/el/op-besu/op_besu_launcher.star @@ -250,7 +250,7 @@ def get_config( "labels": ethereum_package_shared_utils.label_maker( client=constants.EL_TYPE.op_besu, client_type=constants.CLIENT_TYPES.el, - image=participant.el_image[: constants.MAX_LABEL_LENGTH], + image=participant.el_image[-constants.MAX_LABEL_LENGTH :], connected_client=cl_client_name, extra_labels=participant.el_extra_labels, ), diff --git a/src/el/op-erigon/op_erigon_launcher.star b/src/el/op-erigon/op_erigon_launcher.star index e89ee75..5eb18d3 100644 --- a/src/el/op-erigon/op_erigon_launcher.star +++ b/src/el/op-erigon/op_erigon_launcher.star @@ -247,7 +247,7 @@ def get_config( "labels": ethereum_package_shared_utils.label_maker( client=constants.EL_TYPE.op_erigon, client_type=constants.CLIENT_TYPES.el, - image=participant.el_image[: constants.MAX_LABEL_LENGTH], + image=participant.el_image[-constants.MAX_LABEL_LENGTH :], connected_client=cl_client_name, extra_labels=participant.el_extra_labels, ), diff --git a/src/el/op-geth/op_geth_launcher.star b/src/el/op-geth/op_geth_launcher.star index 4f0e5bb..76ce7ad 100644 --- a/src/el/op-geth/op_geth_launcher.star +++ b/src/el/op-geth/op_geth_launcher.star @@ -262,7 +262,7 @@ def get_config( "labels": ethereum_package_shared_utils.label_maker( client=constants.EL_TYPE.op_geth, client_type=constants.CLIENT_TYPES.el, - image=participant.el_image[: constants.MAX_LABEL_LENGTH], + image=participant.el_image[-constants.MAX_LABEL_LENGTH :], connected_client=cl_client_name, extra_labels=participant.el_extra_labels, ), diff --git a/src/el/op-nethermind/op_nethermind_launcher.star b/src/el/op-nethermind/op_nethermind_launcher.star index a9300f6..6d0beae 100644 --- a/src/el/op-nethermind/op_nethermind_launcher.star +++ b/src/el/op-nethermind/op_nethermind_launcher.star @@ -238,7 +238,7 @@ def get_config( "labels": ethereum_package_shared_utils.label_maker( client=constants.EL_TYPE.op_nethermind, client_type=constants.CLIENT_TYPES.el, - image=participant.el_image[: constants.MAX_LABEL_LENGTH], + image=participant.el_image[-constants.MAX_LABEL_LENGTH :], connected_client=cl_client_name, extra_labels=participant.el_extra_labels, ), diff --git a/src/el/op-reth/op_reth_launcher.star b/src/el/op-reth/op_reth_launcher.star index ebf7329..3d97720 100644 --- a/src/el/op-reth/op_reth_launcher.star +++ b/src/el/op-reth/op_reth_launcher.star @@ -235,7 +235,7 @@ def get_config( "labels": ethereum_package_shared_utils.label_maker( client=constants.EL_TYPE.op_reth, client_type=constants.CLIENT_TYPES.el, - image=participant.el_image[: constants.MAX_LABEL_LENGTH], + image=participant.el_image[-constants.MAX_LABEL_LENGTH :], connected_client=cl_client_name, extra_labels=participant.el_extra_labels, ),