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

Allow parsing of unordered yaml #25

Closed
ejseqera opened this issue Jun 23, 2023 · 1 comment
Closed

Allow parsing of unordered yaml #25

ejseqera opened this issue Jun 23, 2023 · 1 comment
Assignees
Labels
enhancement New feature or request

Comments

@ejseqera
Copy link
Owner

Right now, we expect that the user is configuring the yaml to be in the order of the resources created. So for example, you will create an organization -> workspace -> teams -> credentials -> compute-envs -> etc. This mirrors the typical workflow you would follow on the UI.

However, if you add compute-envs before credentials, this will throw an error as the compute-envs add method will inherit the credentials as a CLI argument.

We can make this dummy proof to specify a hierarchy when parsing the yaml and running the methods. Something to look to do in the next version.

@ejseqera ejseqera self-assigned this Jun 23, 2023
@ejseqera ejseqera added the enhancement New feature or request label Jun 23, 2023
ejseqera added a commit that referenced this issue Jun 28, 2023
@ejseqera
Copy link
Owner Author

Implemented in #57.

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

When branches are created from issues, their pull requests are automatically linked.

1 participant