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

Add on_success and on_failure Constraints to Thermos

    XMLWordPrintableJSON

Details

    • Task
    • Status: Resolved
    • Trivial
    • Resolution: Won't Fix
    • None
    • None
    • Thermos

    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

            Unassigned Unassigned
            wickman Brian Wickman
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: