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

Handle multiple backends for the TypeInstance upload from workflow #634

Closed
Tracked by #604
mszostok opened this issue Feb 14, 2022 · 3 comments
Closed
Tracked by #604

Handle multiple backends for the TypeInstance upload from workflow #634

mszostok opened this issue Feb 14, 2022 · 3 comments
Assignees
Labels
area/engine Relates to Engine area/hub Relates to Hub enhancement New feature or request
Milestone

Comments

@mszostok
Copy link
Member

mszostok commented Feb 14, 2022

Description

Blocked by: #630

Modify TypeInstance create/update actions (named as "Argo actions") to take new input context as described in 3rd,4th and 5th step: Workflow syntax - Create

For backward compatibility:

  • Modify Helm and Terraform runners output and additional output under nested value property in Argo artifact
  • Make sure all manifests are up-to-date (at least compatible with new Argo artifact syntax)

Acceptance Criteria

  • "Argo actions" reads mounted artifacts and render a proper GraphQL createTypeInstances mutation. Setting relations with a given backend should be skipped as it's done on Local Hub side.
  • Handle context propagation in the Local Hub. Send in to a given backend if available.
  • Create dedicated Capact manifests or update existing ones to showcase usage of the backend.context in Implementation manifest.
  • Update integration test to test the backend.context propagation. We can use the dotenv provider, see: Configure Secret storage backend to be used with Local Hub #647

Related issues

See epic #604 for reason and use cases.

@mszostok mszostok changed the title Handle multiple backends for the TypeInstance upload from workflow [5MD] Handle multiple backends for the TypeInstance upload from workflow Feb 14, 2022
@mszostok mszostok added area/engine Relates to Engine area/hub Relates to Hub enhancement New feature or request labels Feb 14, 2022
@mszostok mszostok added this to the 0.7.0 milestone Feb 15, 2022
@mszostok
Copy link
Member Author

mszostok commented Feb 15, 2022

Extracted setting backend ID (making it mutable) to dedicated issue: #636

@mkuziemko
Copy link

PRs created:

I included more information in the PRs itself.

@mkuziemko
Copy link

PR closed. I create one follow-up to this task here.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
area/engine Relates to Engine area/hub Relates to Hub enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

2 participants