cicd.ios.runner

cicd.ios.runner.base

class cicd.ios.runner.base.Runner

Bases: object

A class that wraps the execution of actions.

A runner executes the backed action under the hood. It adds some extensions to the execution such as timeout, retries, etc.

Parameters:
  • timeout – The timeout in seconds of the runner execution.

  • retries – The number of action retries.

  • retry_kwargs_fn (t.Callable[[t.Dict[str, t.Any], RetryContext], t.Dict[str, t.Any]]) – The function to update the kwargs in the retry.

class RetryContext

Bases: dict

Intermediate data passed around retries.

copy() a shallow copy of D
property error: Exception | None
property idx: int
run(action_cls: Type[Action], **kwargs)