-
Notifications
You must be signed in to change notification settings - Fork 2
Expand file tree
/
Copy pathTaskfile.yml
More file actions
70 lines (59 loc) · 2.15 KB
/
Taskfile.yml
File metadata and controls
70 lines (59 loc) · 2.15 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
57
58
59
60
61
62
63
64
65
66
67
68
69
70
# https://taskfile.dev/installation/
# - npm install -g @go-task/cli
version: "3"
silent: true
dotenv: [".env"]
includes:
# Upstream common taskfiles (from wavs-taskfiles repo)
docker: https://raw.githubusercontent.com/Lay3rLabs/wavs-taskfiles/main/base/docker.yml
operator: https://raw.githubusercontent.com/Lay3rLabs/wavs-taskfiles/main/base/poa-operator.yml
wasi: https://raw.githubusercontent.com/Lay3rLabs/wavs-taskfiles/main/base/wasi.yml
core:
taskfile: https://raw.githubusercontent.com/Lay3rLabs/wavs-taskfiles/main/base/core.yml
flatten: true
# Project-specific taskfiles (with customizations)
build: ./taskfile/build.yml
deploy: ./taskfile/deploy.yml
eas: ./taskfile/eas.yml
forge: ./taskfile/eas-forge.yml
merkle: ./taskfile/merkle.yml
services: ./taskfile/services.yml
trustgraph: ./taskfile/trustgraph.yml
env:
taskfile: ./taskfile/env.yml
flatten: true
vars:
# Docker configuration
DOCKER_IMAGE: '{{.DOCKER_IMAGE | default "ghcr.io/lay3rlabs/wavs:1.5.1"}}'
MIDDLEWARE_DOCKER_IMAGE: '{{.MIDDLEWARE_DOCKER_IMAGE | default "ghcr.io/lay3rlabs/wavs-middleware:0.5.0-beta.10"}}'
# Check if user is in docker group to determine if sudo is needed
DOCKER_SUDO:
sh: |
if groups | grep -q docker; then echo ''; else echo 'sudo'; fi
# Default endpoints
RPC_URL: '{{.RPC_URL | default "http://127.0.0.1:8545"}}'
WAVS_ENDPOINT: '{{.WAVS_ENDPOINT | default "http://127.0.0.1:8041"}}'
AGGREGATOR_URL: '{{.AGGREGATOR_URL | default "http://127.0.0.1:8040"}}'
IPFS_ENDPOINT: '{{.IPFS_ENDPOINT | default "http://127.0.0.1:5001"}}'
IPFS_GATEWAY: '{{.IPFS_GATEWAY | default "http://127.0.0.1:8080/ipfs/"}}'
tasks:
default:
cmds:
- task --list-all
help:
cmds:
- task --list-all
setup:
desc: "Install initial dependencies"
cmds:
- |
echo "📦 Installing pnpm dependencies..."
pnpm install
echo "📦 Installing forge dependencies..."
forge install
echo "✅ Dependencies installed"
start-all-local:
desc: "Start all local services (anvil, IPFS, WARG, Jaeger, prometheus)"
deps: [setup-env]
cmds:
- task: services:start-all