Skip to content

Commit

Permalink
cli: reformatted with the right black version
Browse files Browse the repository at this point in the history
  • Loading branch information
audrium committed Sep 7, 2020
1 parent ff2a929 commit 9833bb5
Showing 1 changed file with 5 additions and 15 deletions.
20 changes: 5 additions & 15 deletions reana/reana_dev/cluster.py
Expand Up @@ -174,10 +174,7 @@ def add_volume_mounts(node):
@click.option("--no-cache", is_flag=True, help="Do not use Docker image layer cache.")
@cluster_commands.command(name="cluster-build")
def cluster_build(
build_arg,
mode,
exclude_components,
no_cache,
build_arg, mode, exclude_components, no_cache,
): # noqa: D301
"""Build REANA cluster.
Expand Down Expand Up @@ -245,19 +242,13 @@ def cluster_build(
help="Which components to exclude from build? [c1,c2,c3]",
)
@click.option(
"--admin-email",
required=True,
help="Admin user email address",
"--admin-email", required=True, help="Admin user email address",
)
@click.option(
"--admin-password",
required=True,
help="Admin user password",
"--admin-password", required=True, help="Admin user password",
)
@click.option(
"--instance-name",
default="reana",
help="REANA instance name",
"--instance-name", default="reana", help="REANA instance name",
)
def cluster_deploy(
namespace,
Expand Down Expand Up @@ -322,8 +313,7 @@ def job_mounts_to_config(job_mounts):
values_dict["components"]["reana_ui"]["enabled"] = False

helm_install = "cat <<EOF | helm install reana helm/reana -n {namespace} --create-namespace --wait -f -\n{values}\nEOF".format(
namespace=namespace,
values=values_dict and yaml.dump(values_dict) or "",
namespace=namespace, values=values_dict and yaml.dump(values_dict) or "",
)
cmds = [
"helm dep update helm/reana",
Expand Down

0 comments on commit 9833bb5

Please sign in to comment.