-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathdevbox.json
58 lines (58 loc) · 1.59 KB
/
devbox.json
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
{
"$schema": "https://raw.githubusercontent.com/jetify-com/devbox/0.12.0/.schema/devbox.schema.json",
"packages": [
"python@latest",
"poetry@latest",
"nodejs@latest",
"nodePackages.pnpm@latest"
],
"env": {
"START_URL": "http://localhost:9091/index.html"
},
"shell": {
"scripts": {
"postgres": [
"docker compose up --build postgres migrations"
],
"new-migration": [
"[[ -n $1 ]] || (echo 'Missing revision message!' && exit 1)",
"poetry run alembic revision --autogenerate -m \"$1\""
],
"migrations": [
"poetry run alembic upgrade head"
],
"showcase": [
"cd skywalking-showcase",
"make deploy.docker FEATURE_FLAGS=single-node,agent"
],
"agent": [
"poetry run python -m skywalking_copilot 0"
],
"browser": [
"pnpm --dir browser-copilot/browser-extension dev"
],
"stop-showcase": [
"cd skywalking-showcase",
"make undeploy.docker"
],
"update-git": [
"git submodule update --recursive --remote"
],
"update-deps": [
"poetry update"
],
"update-showcase": [
"cd skywalking-showcase",
"git reset --hard",
"git pull origin main",
"git apply ../showcase.patch",
"make docker"
],
"install": [
"pnpm --dir browser-copilot/browser-extension install",
"poetry install",
"[ -e '.env' ] || (cp sample.env .env && echo '.env file has been created, PLEASE CHECK THAT ALL PROPERTIES ARE PROPERLY SET!')"
]
}
}
}