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

Add support for Schematics #230

Open
l2fprod opened this issue Mar 24, 2021 · 5 comments
Open

Add support for Schematics #230

l2fprod opened this issue Mar 24, 2021 · 5 comments

Comments

@l2fprod
Copy link

l2fprod commented Mar 24, 2021

It would be useful to have tasks to drive a schematics workspace (new/plan/apply/destroy/output support)

I found some in https://github.com/open-toolchain/schematics-toolchain/tree/master/.tekton but moving them to the catalog would be a better option

@jauninb
Copy link
Contributor

jauninb commented Mar 25, 2021

@DavidLopezIBM @triceam

@triceam
Copy link

triceam commented Mar 25, 2021

There are tekton definitions in:
https://github.com/open-toolchain/schematics-toolchain/tree/master/.tekton

I have no objection to them being added to the shared catalog.

@l2fprod
Copy link
Author

l2fprod commented Mar 26, 2021

Trying the task https://github.com/open-toolchain/schematics-toolchain/blob/master/.tekton/task-workspace-update.yaml, the update reading from environment variables is not ideal. I'd rather want to provide the JSON file to use or be able to pass the values as parameters to the task, so it will be more explicit

@triceam
Copy link

triceam commented Mar 26, 2021

That was based on the requirements for integration with schematics. It could be easily changed. Schematics is also introducing a new concept of environment configurations which should be better suited than env vars or json. (Their env configs are supposed to also be able to live in git repos, so there will be a revision-controlled configuration that can be a peer repo to the terraform template.

@jauninb
Copy link
Contributor

jauninb commented Jul 16, 2021

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

No branches or pull requests

3 participants