Hey fols quick question regarding PULUMI CLI. Are ...
# general
d
Hey fols quick question regarding PULUMI CLI. Are there is. a way to make it aware or listen for Linux SIGTERM signal to gracefully stop an execution?
h
it already does? I'm pretty sure I've Ctrl-C'd my
pulumi up
commands before
d
yeah but when you run it inside the jenkins programmatically it's impossible to
Ctrl-C
h
Ctrl-C sends SIGTERM, unless pulumi put stdin in raw mode, which would mean they've re-implemented a bunch of terminal niceties
d
The problem that Im am facing i am running in the jenkins like a job. When i want to stop the execution - i stoping the job. Jenkins according to his doc sending sig nal to all his process but either pulumi not getting it. Or it needs more time to stop execution. I am continuously getting locked stack + broken state.
h
you might want to experiment with it manually. my guess is that you're hitting timeout problems
while i'm wildly speculating, I would also guess that pulumi handles SIGTERM by waiting for any in-progress operations to finish, but not updating anything else