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

Simplify Capact Implementation manifest syntax #570

Open
pkosiec opened this issue Nov 26, 2021 · 0 comments
Open

Simplify Capact Implementation manifest syntax #570

pkosiec opened this issue Nov 26, 2021 · 0 comments
Labels
area/hub-manifests Relates to Hub manifests enhancement New feature or request needs-triage Relates to issues that should be refined

Comments

@pkosiec
Copy link
Member

pkosiec commented Nov 26, 2021

Description

Current Capact Implementation manifest syntax leave much to be desired. There is much of boilerplate which increases the time for new manifests development. Even if we have generators, we should still think about some simplification.

The main pain point probably is the data transformation - we need to merge inputs and render them using Jinja templating very often, as usually some input to a step is based on output from the previous one.

We need to think about viable solutions. Some loose ideas:

  • Some abstraction around Argo workflows syntax (to cover the most common use cases)
    • e.g. over the data merging step / Jinja2 templating
  • Completely rethinking our way how we render manifests (maybe we should go step back and refactor rendering to be universal instead of using Argo superset?)
  • @mszostok suggested: instead of using Argo output artifacts, maybe we should use output parameters? We need to see if that helps much

Reason

Capact manifests contain a lot of boilerplate, which make building manifests time-consuming and difficult to read.

Use cases

As a Content Developer, I want to create Capact manifests as quickly as possible with minimal overhead.

@pkosiec pkosiec added enhancement New feature or request area/hub-manifests Relates to Hub manifests needs-triage Relates to issues that should be refined labels Nov 26, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
area/hub-manifests Relates to Hub manifests enhancement New feature or request needs-triage Relates to issues that should be refined
Projects
None yet
Development

No branches or pull requests

1 participant