forked from parca-dev/parca-agent
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Tiltfile
41 lines (36 loc) · 902 Bytes
/
Tiltfile
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
docker_prune_settings(num_builds=5)
## Parca Agent
docker_build(
'localhost:5000/parca-agent:dev', '',
dockerfile='Dockerfile.dev',
only=[
'./3rdparty',
'./Makefile',
'./bpf',
'./cmd',
'./go.mod',
'./go.sum',
'./internal',
'./pkg',
'./rust-toolchain.toml'
],
)
# Build directly in minikube
# custom_build(
# 'localhost:5000/parca-agent:dev',
# 'minikube -p parca-agent image build -f Dockerfile.dev -t $EXPECTED_REF .',
# [
# './3rdparty',
# './Makefile',
# './bpf',
# './cmd',
# './go.mod',
# './go.sum',
# './internal',
# './pkg',
# './rust-toolchain.toml'
# ],
# skips_local_docker=True,
# )
k8s_yaml('deploy/tilt/parca-agent-daemonSet.yaml')
k8s_resource('parca-agent', port_forwards=[7071])