Runs an experiment and checks the status of the experiment while executing
Required Access Token to be used for accessing steadybit API.
Base URL of steadybit. Default"https://platform.steadybit.io"
Key of the experiment to be executed. Required if you don't provide the externalId to lookup your experiment.
External ID of the experiment to be executed. Alternative to lookup the experiment by experimentKey
The expected state of the experiment after attacks started to mark Action successful. Default"COMPLETED"
The expected failure reason of the experiment to mark Action successful. Default""
An optional of retries to attempt when expectedState does not match the actual state. Default "0".
Number of milliseconds to wait between experiment executions when an experiment has to be retried due to expectation failures. Default "60000".
Number of retries when the experiment fails validation (e.g., missing targets). On intermediate retries the execution is not persisted (forcePersist=false) so you only get validation errors. On the last attempt the execution is always persisted (forcePersist=true) so you get a visible execution even if validation still fails. Default "0" (no retry).
Number of seconds to wait between retries on validation failure. Default "15".
The ID of the experiment execution.
The URL of the experiment execution.
The final state of the experiment execution (e.g. COMPLETED, FAILED, RUNNING).
The reason or failure reason of the experiment execution, if any.
- name: Run Experiment (EXPERIMENT-1)
uses: steadybit/run-experiment@v1
with:
apiAccessToken: ${{ secrets.STEADYBIT_API_ACCESS_TOKEN }}
experimentKey: 'EXPERIMENT-1'