Skip to content

Publish output for the pipeline workflow #20

@mjtice

Description

@mjtice

Hey guys, before I go too far with a PR are you okay if I publish the output of each task (on failure, to a dict) in the pipeline workflow?

e.g.

output:
  - errors: <% ctx().terraform_errors %>

vars:
  - terraform_errors:
      init: null
      select_workspace: null
      create_workspace: null
      plan: null
      apply: null
      destroy: null

... snip ...
next:
      - when: <% failed() %>
        publish:
          - terraform_errors:
              apply: <% task('apply') %>
        do: fail

Or is there something else you'd rather see?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions