-
Notifications
You must be signed in to change notification settings - Fork 9
/
.air.toml
71 lines (66 loc) · 2.29 KB
/
.air.toml
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
71
root = "."
testdata_dir = "testdata"
tmp_dir = ".air"
[build]
cmd = "make build-go EXTRA_GO_OPTIONS='-cover'"
delay = 1000
exclude_dir = ["assets", "configs", "deploy", "scripts", "postman", "mocks", "vegeta", "clients", "workers"]
exclude_file = [".air.toml", ".air.opa.tom.", "Dockerfile", "Makefile"]
exclude_regex = ["_test.go"]
exclude_unchanged = false
follow_symlink = false
full_bin = """ \
set -x; \
export SUPERBLOCKS_AGENT_APP_ENV_TEST=ok; \
register=false; \
superblocks_url=${SUPERBLOCKS_ORCHESTRATOR_SUPERBLOCKS_URL-http://127.0.0.1:3100}; \
version="0.0.0"; \
if [[ -n $SUPERBLOCKS_AGENT_KEY ]]; then \
register=true; \
superblocks_url=${SUPERBLOCKS_ORCHESTRATOR_SUPERBLOCKS_URL-https://api.superblocks.com}; \
version="v1.0.0"; \
fi; \
./orchestrator \
--zen \
--test=true \
--log.level=debug \
--otel.collector.http.url=http://127.0.0.1:4318 \
--intake.metadata.url=http://127.0.0.1:10300/api/v1/syncer/metadata \
--intake.event.url=http://127.0.0.1:10300/api/v1/events \
--emitter.event.flush.max.duration='1s' \
--emitter.remote.intake=http://127.0.0.1:3030 \
--buckets.config=./buckets.minimal.json \
--auth.jwt.enabled=false \
--registration.enabled=${register} \
--jobs.enabled=false \
--grpc.bind=127.0.0.1 \
--http.bind=127.0.0.1 \
--http.port=18080 \
--agent.host.url=${SUPERBLOCKS_AGENT_HOST_URL-http://localhost:18080} \
--superblocks.url=${superblocks_url} \
--data.domain=${SUPERBLOCKS_AGENT_DATA_DOMAIN-app.superblocks.com} \
--superblocks.key=${SUPERBLOCKS_AGENT_KEY-dev-agent-key} \
--agent.version.external=${version} \
--quotas.enabled=true \
--events.cloud.enabled=${SUPERBLOCKS_ORCHESTRATOR_EVENTS_CLOUD_ENABLED-false} \
--worker.go.enabled=true \
--file.server.url=http://host.docker.internal:18080/v2/files \
"""
include_dir = []
include_ext = ["go", "tpl", "tmpl", "json", "mod", "sum", "toml"]
kill_delay = 2000
log = "build-errors.log"
send_interrupt = true
stop_on_error = true
[color]
app = ""
build = "yellow"
main = "magenta"
runner = "green"
watcher = "cyan"
[log]
time = false
[misc]
clean_on_exit = false
[screen]
clear_on_rebuild = false