Skip to content
This repository was archived by the owner on Sep 30, 2024. It is now read-only.

RunBefore and RunAfter #19062

@malomarrec

Description

@malomarrec

Problem

When I run a campaign spec, there are some things I want to do before (setup) and after (cleanup, message passing).
One way is to build a wrapper around the CLI (great!).
For smaller use cases, having something builtin might be helpful.

For example:
Before

  • Check that environment variables are set (eg. with token) before running the spec
  • Check that other systems are ready (eg. a Jira server is attainable)
    After
  • start a script that links tickets with the PRs I have created
  • clean up errors (eg. creating a Jira ticket failed due to permission errors)

Solution

This section is a dump of thoughts, not necessarily the right solution.

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions