Skip to content

Commit cd81f4f

Browse files
committed
clear out constants cruft
1 parent 2597427 commit cd81f4f

File tree

4 files changed

+2
-19
lines changed

4 files changed

+2
-19
lines changed
Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
Thank you for installing simln.
1+
Thank you for installing SimLN.

resources/plugins/simln/charts/simln/values.yaml

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,4 +11,3 @@ configmapVolume:
1111
name: configmap-volume
1212
mountPath: /configmap
1313

14-
defaultDataDir: /app/data

src/warnet/constants.py

Lines changed: 1 addition & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -18,13 +18,10 @@
1818
KUBE_INTERNAL_NAMESPACES = ["kube-node-lease", "kube-public", "kube-system", "kubernetes-dashboard"]
1919
HELM_COMMAND = "helm upgrade --install"
2020

21-
MISSION_TAG = "mission"
2221
TANK_MISSION = "tank"
2322
COMMANDER_MISSION = "commander"
24-
PLUGIN_MISSION = "plugin"
2523
LIGHTNING_MISSION = "lightning"
2624

27-
CONTAINER_TAG = "container"
2825
BITCOINCORE_CONTAINER = "bitcoincore"
2926
COMMANDER_CONTAINER = "commander"
3027

@@ -36,19 +33,12 @@
3633
SCENARIOS_DIR = RESOURCES_DIR.joinpath("scenarios")
3734
CHARTS_DIR = RESOURCES_DIR.joinpath("charts")
3835
MANIFESTS_DIR = RESOURCES_DIR.joinpath("manifests")
36+
PLUGINS_DIR = RESOURCES_DIR.joinpath("plugins")
3937
NETWORK_FILE = "network.yaml"
4038
DEFAULTS_FILE = "node-defaults.yaml"
4139
NAMESPACES_FILE = "namespaces.yaml"
4240
DEFAULTS_NAMESPACE_FILE = "namespace-defaults.yaml"
4341

44-
# Plugin architecture
45-
PLUGIN_DIR_TAG = "plugin_dir"
46-
PLUGINS_TAG = "plugins"
47-
ENABLED_TAG = "enabled"
48-
PLUGIN_YAML = "plugin.yaml"
49-
PLUGINS_DIR = RESOURCES_DIR.joinpath(PLUGINS_TAG)
50-
WARNET_USER_DIR_ENV_VAR = "WARNET_USER_DIR"
51-
5242
# Helm charts
5343
BITCOIN_CHART_LOCATION = str(CHARTS_DIR.joinpath("bitcoincore"))
5444
LND_CHART_LOCATION = str(CHARTS_DIR.joinpath("lnd"))

src/warnet/project.py

Lines changed: 0 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,6 @@
2424
KUBECTL_BLESSED_NAME_AND_CHECKSUMS,
2525
KUBECTL_BLESSED_VERSION,
2626
KUBECTL_DOWNLOAD_URL_STUB,
27-
WARNET_USER_DIR_ENV_VAR,
2827
)
2928
from .graph import inquirer_create_network
3029
from .network import copy_network_defaults, copy_plugins_defaults, copy_scenario_defaults
@@ -440,11 +439,6 @@ def new_internal(directory: Path, from_init=False):
440439
click.echo("\nWhen you're ready, run the following command to deploy this network:")
441440
click.echo(f" warnet deploy {custom_network_path}")
442441

443-
click.secho(
444-
"Consider setting an environment variable to make it easier to access your user directory:"
445-
)
446-
click.secho(f"export {WARNET_USER_DIR_ENV_VAR}={directory}", fg="yellow")
447-
448442

449443
@click.command()
450444
def init():

0 commit comments

Comments
 (0)