Skip to content
This repository has been archived by the owner on Sep 16, 2020. It is now read-only.

workflow schema cannot create a workflow of workflows #737

Open
itcultus opened this issue Aug 29, 2019 · 2 comments
Open

workflow schema cannot create a workflow of workflows #737

itcultus opened this issue Aug 29, 2019 · 2 comments
Labels
feature_parity feature parity

Comments

@itcultus
Copy link

I have a few workflows that I want to combine in one.
Currently, from the GUI I can do it.
However, tower-cli throws an error when I upload the schema.

tower-cli workflow schema test @./schema.yml 
Error: The requested object could not be found.

The schema is:

- project: prj_myproject
  success:
  - job_template: first_workflow
    success:
      - job_template: second_workflow

When I create it from the GUI I have no issues. If I replace the workflows with Job Templates, it works just fine.

@AlanCoding AlanCoding added the feature_parity feature parity label Sep 3, 2019
@AlanCoding
Copy link
Member

I expect that the specification would follow the syntax of

- project: prj_myproject
  success:
  - workflow: first_workflow
    success:
      - workflow: second_workflow

This is because "workflow" is a separate template type from "job template".

@itcultus
Copy link
Author

Exactly

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
feature_parity feature parity
Projects
None yet
Development

No branches or pull requests

2 participants