Uploaded image for project: 'Aurora'
  1. Aurora
  2. AURORA-167

Add on_success and on_failure Constraints to Thermos

    XMLWordPrintableJSON

    Details

    • Type: Task
    • Status: Resolved
    • Priority: Trivial
    • Resolution: Won't Fix
    • Affects Version/s: None
    • Fix Version/s: None
    • Component/s: Thermos
    • Labels:

      Description

      Currently there is one supported constraint in Thermos: 'order' or if you think of it another way, "on_finish".

      Constraint(order = ['A', 'B']) means that 'B' should run after 'A' has completed, regardless of its terminal state. In a way, this could be translated to Constraint(on_success = ['A', 'B'], on_failure = ['A', 'B'])

      But there shouldn't be anything preventing somebody from doing Constraint(on_success = ['A', 'B'], on_failure = ['A', 'C']). E.g. maybe process 'B' sends an e-mail that a deploy was successful, and process 'C' starts a rollback process.

        Attachments

          Activity

            People

            • Assignee:
              Unassigned
              Reporter:
              wickman Brian Wickman
            • Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: