Permalink
Cannot retrieve contributors at this time
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
14 lines (12 sloc)
436 Bytes
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# -*- mode: Python -*- | |
# 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', | |
) | |
docker_build('example-java-image', '.') | |
k8s_yaml('kubernetes.yaml') | |
k8s_resource('example-java', port_forwards=8000, | |
resource_deps=['deploy']) |