cartographer icon indicating copy to clipboard operation
cartographer copied to clipboard

Extend options to support passthrough

Open emmjohnson opened this issue 2 years ago • 1 comments

Description of problem

Today, if a workload does not match any of the options, we explode. We are suggesting that it is possible that a workload purposely does not want to match any of the options and would instead like the ability to move on to the next step.

Proposed solution

https://gist.github.com/squeedee/ed833b036ecc8f983d5aaf5801cc5fa8

emmjohnson avatar Oct 06 '22 14:10 emmjohnson

Do we have any thoughts what the shape of status.resource[x] should be for the "skipped" resource?

Possibly:

    - name: source-tester
      inputs:
        - name: source-provider
       outputs:
        - name: url
          preview: |
           ...
        - name: revision
          preview: |
            ...

Leaving out stampedRef, templateRef, and conditions

emmjohnson avatar Oct 06 '22 19:10 emmjohnson