# -*- mode: Python -*-

include('../Tiltfile')

k8s_yaml('deployment.yaml')
repo = local_git_repo('../../')
docker_build('gcr.io/windmill-test-containers/integration/onewatch',
             '.',
             dockerfile='Dockerfile',
             live_update=[
               sync('.', '/app'),
               run('/app/compile.sh'),
               run('/app/restart.sh'),
             ])

k8s_resource("onewatch", port_forwards=["31234:8000"])
