comment format
Some checks failed
Lint Checks / Run linter (push) Failing after 24s
Lint Checks / Run linter (pull_request) Failing after 32s
Deploy Test / Run deploy test suite (pull_request) Successful in 4m13s
Webapp Test / Run webapp test suite (pull_request) Successful in 3m6s
Smoke Test / Run basic test suite (pull_request) Successful in 3m41s
K8s Deploy Test / Run deploy test suite on kind/k8s (pull_request) Successful in 11m9s

This commit is contained in:
jonathan@vulcanize.io 2024-03-05 20:38:09 +00:00
parent fee32ec703
commit c92f15f47c

View File

@ -1,9 +1,24 @@
# Copyright © 2023 Vulcanize
# This program is free software: you can redistribute it and/or modify
# it under the terms of the GNU Affero General Public License as published by
# the Free Software Foundation, either version 3 of the License, or
# (at your option) any later version.
# This program is distributed in the hope that it will be useful,
# but WITHOUT ANY WARRANTY; without even the implied warranty of
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
# GNU Affero General Public License for more details.
# You should have received a copy of the GNU Affero General Public License
# along with this program. If not, see <http:#www.gnu.org/licenses/>.
from pathlib import Path from pathlib import Path
from shutil import copy from shutil import copy
def create(context, extra_args): def create(context, extra_args):
#Our goal here is just to copy the genesis.json file for blast # Our goal here is just to copy the genesis.json file for blast
deployment_config_dir = context.deployment_dir.joinpath("data", "blast-data") deployment_config_dir = context.deployment_dir.joinpath("data", "blast-data")
command_context = extra_args[2] command_context = extra_args[2]
compose_file = [f for f in command_context.cluster_context.compose_files if "blast" in f][0] compose_file = [f for f in command_context.cluster_context.compose_files if "blast" in f][0]