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

Document/provide example of conditional tasks (if) #163

Open
mjnagel opened this issue Oct 18, 2024 · 2 comments
Open

Document/provide example of conditional tasks (if) #163

mjnagel opened this issue Oct 18, 2024 · 2 comments
Labels
documentation Improvements or additions to documentation good first issue Good for newcomers

Comments

@mjnagel
Copy link

mjnagel commented Oct 18, 2024

Maru currently supports if logic for tasks, but I don't think there are any docs explaining this functionality or providing an example.

An example and docs would be helpful to bring attention to this feature.

@mjnagel mjnagel added documentation Improvements or additions to documentation good first issue Good for newcomers labels Oct 18, 2024
@Racer159
Copy link
Contributor

Putting this here for now - its a test but is at least a breadcrumb: https://github.com/defenseunicorns/maru-runner/blob/main/src/test/tasks/loop-task.yaml#L18

@mjnagel
Copy link
Author

mjnagel commented Oct 18, 2024

This one also has some more examples of the conditional behavior: https://github.com/defenseunicorns/maru-runner/blob/main/src/test/tasks/conditionals/tasks.yaml

Even just linking to those would be a good start in docs.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
documentation Improvements or additions to documentation good first issue Good for newcomers
Projects
None yet
Development

No branches or pull requests

2 participants