-
Notifications
You must be signed in to change notification settings - Fork 9
/
Copy pathTaskfile.yml
51 lines (48 loc) · 1.52 KB
/
Taskfile.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
version: 3
includes:
helper:
taskfile: ./Taskfile.helper.yml
flatten: true
env:
SOLO_NETWORK_SIZE: 2
SOLO_NAMESPACE: solo-e2e
# SOLO_CHART_VERSION: 0.39.0
# CONSENSUS_NODE_VERSION: v0.58.0
HEDERA_SERVICES_ROOT: "/Users/user/source/hedera-services"
# LOCAL_BUILD_FLAG: "--local-build-path {{.HEDERA_SERVICES_ROOT}}/hedera-node/data"
# DEBUG_NODE_ALIAS: "node2"
# SOLO_CHARTS_DIR_FLAG: "-d /Users/user/source/solo-charts/charts"
# LOAD_BALANCER_FLAG: "--load-balancer"
# ENABLE_EXPLORER_TLS_FLAG: "--enable-hedera-explorer-tls"
# TLS_CLUSTER_ISSUER_TYPE_FLAG: "--tls-cluster-issuer-type acme-staging"
# NETWORK_DEPLOY_EXTRA_FLAGS: "--haproxy-ips node1="
vars:
use_port_forwards: "true"
tasks:
default:
silent: true
desc: install Solo, create a kind cluster, deploy the network, set it up, and start it
deps:
- task: "init"
cmds:
- echo "This command is meant to deploy a Solo network to a Kind cluster on your local machine, "
- echo "ctrl-c if this is not what you want to do."
- sleep 5
- task: "install"
- task: "start"
install:
desc: create the cluster, solo init, solo cluster create, solo node keys, solo network deploy
deps:
- task: "init"
cmds:
- task: "cluster:create"
- task: "solo:init"
- task: "solo:cluster:setup"
- task: "solo:keys"
- task: "solo:network:deploy"
destroy:
desc: destroy relay, mirror-node, and network
deps:
- task: "init"
cmds:
- task: "cluster:destroy"