Skip to content
Permalink
master
Switch branches/tags
Go to file
 
 
Cannot retrieve contributors at this time
# Records the current time, then kicks off a server update.
# 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 ./record-start-time.py',
deps=['./record-start-time.py'],
)
local_resource(
'build',
'dotnet publish -c Release -o out',
deps=['hello-tilt'],
ignore=['hello-tilt/obj'],
resource_deps=['deploy'],
)
docker_build('hello-tilt', 'out', dockerfile='Dockerfile')
k8s_yaml('kubernetes.yaml')
k8s_resource('hello-tilt', port_forwards='8080:80', resource_deps=['build'])