Skip to content

Commit c9dcc86

Browse files
committed
remove uneccesary networks and plugins from newly created proejcts
1 parent e2a0036 commit c9dcc86

File tree

12 files changed

+11
-12
lines changed

12 files changed

+11
-12
lines changed

.github/workflows/test.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -42,10 +42,10 @@ jobs:
4242
- logging_test.py
4343
- ln_basic_test.py
4444
- ln_test.py
45+
- plugin_test.py
4546
- rpc_test.py
4647
- services_test.py
4748
- signet_test.py
48-
- simln_test.py
4949
- scenarios_test.py
5050
- namespace_admin_test.py
5151
- wargames_test.py

src/warnet/constants.py

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -72,7 +72,6 @@ class AnnexMember(Enum):
7272
CADDY_CHART = str(files("resources.charts").joinpath("caddy"))
7373
CADDY_INGRESS_NAME = "caddy-ingress"
7474

75-
DEFAULT_NETWORK = Path("6_node_bitcoin")
7675
DEFAULT_NAMESPACES = Path("two_namespaces_two_users")
7776

7877
# Kubeconfig related stuffs

resources/networks/hello/network.yaml renamed to test/data/network_with_plugins/network.yaml

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -56,32 +56,32 @@ nodes:
5656
plugins: # Each plugin section has a number of hooks available (preDeploy, postDeploy, etc)
5757
preDeploy: # For example, the preDeploy hook means it's plugin will run before all other deploy code
5858
hello:
59-
entrypoint: "../../plugins/hello" # This entrypoint path is relative to the network.yaml file
59+
entrypoint: "../plugins/hello" # This entrypoint path is relative to the network.yaml file
6060
podName: "hello-pre-deploy"
6161
helloTo: "preDeploy!"
6262
postDeploy:
6363
hello:
64-
entrypoint: "../../plugins/hello"
64+
entrypoint: "../plugins/hello"
6565
podName: "hello-post-deploy"
6666
helloTo: "postDeploy!"
6767
simln: # You can have multiple plugins per hook
68-
entrypoint: "../../plugins/simln"
68+
entrypoint: "../../../resources/plugins/simln"
6969
activity: '[{"source": "tank-0003-ln", "destination": "tank-0005-ln", "interval_secs": 1, "amount_msat": 2000}]'
7070
preNode: # preNode plugins run before each node is deployed
7171
hello:
72-
entrypoint: "../../plugins/hello"
72+
entrypoint: "../plugins/hello"
7373
helloTo: "preNode!"
7474
postNode:
7575
hello:
76-
entrypoint: "../../plugins/hello"
76+
entrypoint: "../plugins/hello"
7777
helloTo: "postNode!"
7878
preNetwork:
7979
hello:
80-
entrypoint: "../../plugins/hello"
80+
entrypoint: "../plugins/hello"
8181
helloTo: "preNetwork!"
8282
podName: "hello-pre-network"
8383
postNetwork:
8484
hello:
85-
entrypoint: "../../plugins/hello"
85+
entrypoint: "../plugins/hello"
8686
helloTo: "postNetwork!"
8787
podName: "hello-post-network"
File renamed without changes.

0 commit comments

Comments
 (0)