forked from hiero-ledger/solo
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathTaskfile.yml
More file actions
56 lines (51 loc) · 1.76 KB
/
Taskfile.yml
File metadata and controls
56 lines (51 loc) · 1.76 KB
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
52
53
54
55
56
version: 3
includes:
tests:
taskfile: ./Taskfile.tests.yml
flatten: true
vars:
cross_env: npx cross-env
mocha_bin: npx mocha
c8_bin: npx c8
test_prefix: "{{ .cross_env }} MOCHA_SUITE_NAME"
reporter_prefix: "{{ .c8_bin }} --report-dir"
reporter_options_prefix: --reporter-options configFile=mocha-multi-reporter.json,cmrOutput=mocha-junit-reporter+mochaFile+junit
env:
SOLO_NETWORK_SIZE: 1
SOLO_NAMESPACE: solo-e2e
SOLO_DEPLOYMENT: solo-deployment
# SOLO_CHART_VERSION: 0.39.0
# CONSENSUS_NODE_VERSION: v0.58.0
HEDERA_SERVICES_ROOT: "/Users/user/source/hiero-consensus-node"
# LOCAL_BUILD_FLAG: "--local-build-path {{.HEDERA_SERVICES_ROOT}}/hedera-node/data"
# DEBUG_NODE_ALIAS: "node2"
# SOLO_CHARTS_DIR_FLAG: "--chart-dir /Users/user/source/solo-charts/charts"
# LOAD_BALANCER_FLAG: "--load-balancer"
ENABLE_EXPLORER_TLS_FLAG: "--enable-explorer-tls"
TLS_CLUSTER_ISSUER_TYPE_FLAG: "--tls-cluster-issuer-type acme-staging"
# NETWORK_DEPLOY_EXTRA_FLAGS: "--haproxy-ips node1="
ENABLE_EXPLORER_INGRESS: "--enable-ingress"
ENABLE_MIRROR_INGRESS: "--enable-ingress"
EXPLORER_NAME_SPACE: "explorer-name-space"
EXPLORER_DEPLOYMENT: ""
EXPLORER_CLUSTER_CONTEXT: "kind-solo-cluster"
tasks:
check:
cmds:
- npx remark . --quiet --frail
- npx eslint . | tee eslint.log && npx tsx lint-formatter.ts eslint.log
- npx tsc
- npx madge --circular {{.TASKFILE_DIR}}/src/*
- npx typedoc --emit none
format:
cmds:
- npx remark . --quiet --frail --output
- npx eslint --fix {{.TASKFILE_DIR}}
- npx tsc
- npx madge --circular {{.TASKFILE_DIR}}/src/*
- npx typedoc --emit none
build:
cmds:
- rm -Rf dist
- npx tsc
- node {{.TASKFILE_DIR}}/resources/post-build-script.js