codefresh-io / steps

36 stars 90 forks source link

feat(codefresh-run): add `TERMINATE_ON_TIMEOUT` argument #529

Closed ghost closed 1 year ago

ghost commented 1 year ago

Overview

This adds a new argument to codefresh-run step: TERMINATE_ON_TIMEOUT. If set to true and timeout from TIMEOUT_MINS is expired, child build will be terminated.

Backward compatibility

New argument defaults to false if not passed. If false, previous behavior is untouched. This guarantees unchanged behavior for any previously implemented flow with this step.

Closes #CR-16035