Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Use Fission Builders for the yaml parsing #79

Merged
merged 5 commits into from Nov 15, 2017
Merged

Conversation

erwinvaneyk
Copy link
Member

@erwinvaneyk erwinvaneyk commented Nov 15, 2017

Before, users had to manually parse yaml's to semi-unreadable json's before submitting the function. This is annoying and seems to cause some confusing for new users.

This PR resolves these issues, by automating the parsing/transformation step using a Fission Builder. The user can create a workflow simply using the yaml workflow definition as the source. This source is passed to a Fission Builder for Fission Workflows, which generates the corresponding json.

This PR will make Fission Workflows depend on any Fission version which includes this fission/fission#397 -- which contains some related bug fixes in Fission.

Flyby:

  • Updated the deploy script
  • removed code/examples/references pointing to json-based workflows
  • Removed '.yaml' extension requirement from wfcli
  • Changed wfcli parse <file> to output generated json over stdout.

Fixes #60 #28 #72

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Automate yaml -> json wf definition compilation
1 participant