Skip to content
Permalink
master
Switch branches/tags
Go to file
 
 
Cannot retrieve contributors at this time
k8s_yaml('kubernetes.yaml')
k8s_resource('example-html', port_forwards=8000, resource_deps=['deploy'])
# Records the time from a code change to a new process.
# Normally, you would let Tilt do deploys automatically, but this
# shows you how to set up a custom workflow that measures it.
local_resource(
'deploy',
'python now.py > start-time.txt')
# Add a live_update rule to our docker_build.
docker_build('example-html-image', '.', live_update=[
sync('.', '/app'),
run('./report-deployment-time.sh'),
run('sed -i "s/Hello cats/Congratulations, you set up live_update/g" index.html'),
])