ploigos-step-runner icon indicating copy to clipboard operation
ploigos-step-runner copied to clipboard

PSR Step - "Break Glass Option"

Open BillBensing opened this issue 3 years ago • 0 comments

An implementer which can run a bash script or single command.

Rationale: Sometimes when you're prototyping you just want to run that CLI command instead of implementing a step implementer right away.

Success Criteria:

When I put something like this in psr.yaml:

  uat:
  - implementer: ploigos_step_runner.step_implementers.shared.ad_hoc.AdHoc
    config:
      command: run-acceptance-tests.sh

And I run

psr -c psr.yaml -s uat

Then PSR should execute run-acceptance-tests.sh

Notes:

  • To do this, create a new step implementer in the shared folder here that we can reference from any step - https://github.com/ploigos/ploigos-step-runner/tree/main/src/ploigos_step_runner/step_implementers/shared
  • We should open a follow-on story to give the user a way to register results by writing values to files in the script

BillBensing avatar Mar 31 '21 18:03 BillBensing