-
Notifications
You must be signed in to change notification settings - Fork 7
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
Create output file when generating resources with CLI #105
Comments
@adamrtalbot Is the output intended to be YAML or do you mean generate a log file that captures the stdout? Could you share a desired example? seqerakit returns the CLI command invoked under the hood through the definitions provided in the YAML file. |
A YAML, so we could re-use it as an input if we wanted to rerun the previous command e.g. seqerakit hello-world.yml > hello-world-2.yml
hellow-world.yml == hello-world-2.yml |
My only concern would be that I am not sure if all resources will allow you to generate an output that you can reuse to generate resources again, if I understand the intention correctly. Do you wanna work on the POC? |
After 6 months, I can't actually picture how it would work now. I guess something like this:
Then the decision:
Low priority right now imho. |
It would be useful to store a log of the generated resources when creating a platform item with
seqerakit
, so that we can re-use it later.For an example, here I am adding a new compute environment and pipeline:
How do I fetch the results from this launch? If we generate an output structure similar to the input structure, we could do
tw runs view
on the output object, but currently seqerakit uses a fire-and-forget model.Let's say we called the above yaml and added an output arg, we could store the outputs for future use.
This may help with #83 as well as we could generate resources at creation time.
The text was updated successfully, but these errors were encountered: