github.com/tilt-dev/tilt@v0.33.15-0.20240515162809-0a22ed45d8a0/integration/live_update_after_crash_rebuild/Tiltfile (about)

     1  # -*- mode: Python -*-
     2  
     3  include('../Tiltfile')
     4  
     5  load('ext://restart_process', 'docker_build_with_restart')
     6  
     7  k8s_yaml('deployment.yaml')
     8  repo = local_git_repo('../../')
     9  docker_build_with_restart('gcr.io/windmill-test-containers/integration/live_update_after_crash_rebuild',
    10               '.',
    11               entrypoint=['/app/main.sh'],
    12               dockerfile='Dockerfile',
    13               live_update=[
    14                 sync('.', '/app'),
    15                 run('/app/compile.sh'),
    16               ])
    17  
    18  k8s_resource("live-update-after-crash-rebuild", port_forwards=["31234:8000"])