Closed ianmiell closed 7 years ago
Repro: imiell@rothko:/space/git/shutit-k8s-the-hard-way.tmp (master)$ ./run.sh --video 2
The same does not happen for walkthough (which video switches on by implication)
Fails.
if type(args.video) == list and args.video[0] >= 0:
shutit.build['walkthrough'] = True
shutit.build['walkthrough_wait'] = float(args.video[0])
# shutit.build['video'] = True
# if shutit.build['training']:
# print('--video and --training mode incompatible')
# handle_exit(exit_code=1)
# if shutit.build['testing']:
# print('--video and --testing mode incompatible')
# handle_exit(exit_code=1)
Fine.
if type(args.video) == list and args.video[0] >= 0:
shutit.build['walkthrough'] = True
shutit.build['walkthrough_wait'] = float(args.video[0])
# shutit.build['video'] = True
# if shutit.build['training']:
# print('--video and --training mode incompatible')
# handle_exit(exit_code=1)
# if shutit.build['testing']:
# print('--video and --testing mode incompatible')
# handle_exit(exit_code=1)
Changing this line makes it 'work' (tho it's not video mode anymore...):
Running the k8s-the-hard-way script I see issues with video and empty outputs.
Probably a timing issue.