Skip to content

Commit

Permalink
Updated paths
Browse files Browse the repository at this point in the history
  • Loading branch information
ulises-jeremias committed Jul 18, 2024
1 parent 5a0e303 commit 36d92e0
Showing 1 changed file with 6 additions and 1 deletion.
7 changes: 6 additions & 1 deletion examples/kubernetes-tilt-dev/Tiltfile
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ version_settings(constraint='>=0.22.2')

k8s_yaml(['k8s/namespace.yml'])

sync_node_src = sync('apps/node-nestjs-app/src', 'app/')
sync_node_src = sync('apps/node-nestjs-app/src', '/app')

docker_build(
'k8s-tilt-dev-example-node-nestjs-app',
Expand All @@ -15,10 +15,15 @@ docker_build(

k8s_yaml(['apps/node-nestjs-app/k8s/deployment.yml', 'apps/node-nestjs-app/k8s/service.yml'])

sync_python_src = sync('apps/python-fastapi-app/src', '/code')

docker_build(
'k8s-tilt-dev-example-python-fastapi-app',
'apps/python-fastapi-app/',
target='development',
live_update=[
sync_python_src,
],
)

k8s_yaml(['apps/python-fastapi-app/k8s/deployment.yml', 'apps/python-fastapi-app/k8s/service.yml'])
Expand Down

0 comments on commit 36d92e0

Please sign in to comment.