Skip to content
This repository was archived by the owner on Oct 17, 2020. It is now read-only.
/ failing-job Public archive

Validate that the Restart Process extension works with failing k8s jobs

tilt-dev/failing-job

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

failing-job

Test case for tilt-extensions#92: verify that when Tilt runs a user process via the Restart Process extension (i.e. docker_build_with_restart), we ultimately return that process's exit code.

This project runs a k8s job that will always exit with code 123. With the previous version of the Restart Process extension, this failed job showed up green in the Tilt sidebar because we weren't correctly surfacing the exit code (see snapshot of old behavior).

With the latest change to Restart Process, this job should correctly show up RED on the sidebar (see snapshot of current behavior).

Instructions:

  • clone this repo
  • run tilt up
  • verify that resource "failing-job" is red in the sidebar

Note: in any projects that were running into this problem with Restart Process, you'll have to rm -rf tilt_modules/restart_process to let Tilt fetch the updated version of the extension.

About

Validate that the Restart Process extension works with failing k8s jobs

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published