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

Support step configuration override #25

Closed
Dan-Bai opened this issue Apr 22, 2021 · 6 comments
Closed

Support step configuration override #25

Dan-Bai opened this issue Apr 22, 2021 · 6 comments

Comments

@Dan-Bai
Copy link

Dan-Bai commented Apr 22, 2021

Following the readme to set up runiac.yaml with execute_when does not work.
If this var check can support regexp pattern matching as well that would be beneficial.

@tiny-dancer
Copy link
Contributor

tiny-dancer commented Apr 22, 2021

Thank you for the call out. The README docs are slightly out of date and will be trimmed down dramatically in favor of the growing content on runiac.io.

The execute_when config feature was not brought into the initial oss release. Do you mind sharing your use case to best understand how to bring the feature back?

@Dan-Bai
Copy link
Author

Dan-Bai commented Apr 23, 2021

I'm attempting to dynamically run specific steps depending on which variables are available. This is for building out a self service to provision Azure resources from configuration files. The top level (step1 and track) will depend on variables passed in from the configuration files while later steps will run if variables from previous steps and passed in exist.

@tiny-dancer
Copy link
Contributor

Sounds like an awesome and advanced use case! I'd love to dig in a little deeper. I'm on vaca this week, would you be free to connect via voice next week? I think we can get a feature lined up and delivered by the following week.

@tiny-dancer
Copy link
Contributor

This is for building out a self service to provision Azure resources from configuration files.

hey @Dan-Bai, do you mind expanding on this a bit to appreciate the full picture? Being able to dynamically run steps based on contextual information (variables) is a powerful feature however quite complex (the reason it was excluded from the oss release). Curious to thought experiment alternative solutions that may either solve the use case or better define the new feature.

@tiny-dancer
Copy link
Contributor

hey @Dan-Bai after connecting offline - is this issue still relevant as is or was the technical problem solved in another way?

Thanks!

@Dan-Bai
Copy link
Author

Dan-Bai commented May 14, 2021

I was able to work around the problem. Thank you for the advise!

@Dan-Bai Dan-Bai closed this as completed May 14, 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

2 participants