forked from gethomepage/homepage
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathTiltfile
25 lines (24 loc) · 786 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
docker_build('k3d-registry.localhost:55000/homepage:local', '..',
dockerfile = "../Dockerfile-tilt",
build_args={'node_env': 'development'},
#entrypoint='pnpm run nodemon /app/server.js',
live_update=[
sync('.', '/app'),
run('cd /app && pnpm install', trigger=['.package.json', './pnpm-lock.yaml'])
]
)
load('ext://helm_resource', 'helm_resource', 'helm_repo')
helm_repo('jameswynn', 'https://jameswynn.github.io/helm-charts')
helm_resource('homepage', 'jameswynn/homepage',
image_deps=[
"k3d-registry.localhost:55000/homepage:local"
],
image_keys=[
("image.repository", "image.tag")
],
# image_selector= "k3d-registry.localhost:55000/homepage:local",
flags=[
"-f", "k3d-helm-values.yaml",
"--set", "persistence.dotnext.enabled=true"
]
)