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

Tagging steps / running steps selectively #443

Open
hans-d opened this issue Oct 20, 2023 · 0 comments
Open

Tagging steps / running steps selectively #443

hans-d opened this issue Oct 20, 2023 · 0 comments
Labels
enhancement New feature or request

Comments

@hans-d
Copy link
Contributor

hans-d commented Oct 20, 2023

Describe the Feature

For the atmos workflow files, it would be a nice addition to be able to tag the steps, and be able to run all these steps specifying that tag (or skip), similar to how ansible playbooks have it.

eg atmos workflow all --skip-tags slow -f dummy

Expected Behavior

running a subset of the steps, based on tags, like ansible (https://docs.ansible.com/ansible/latest/playbook_guide/playbooks_tags.html)

  • selecting tagged steps to run
  • selecting tagges steps not to run
  • optionally: use the principle of always / never

each step could have 0 or more tags

Use Case

eg running various validation steps in an atnmos workflow.
Some could be fast, others could be slow. Now need to define separate workflow commands. There could be other criteria as well. Now all these need additional workflow commands + another summary command to combine these as well.

Describe Ideal Solution

anisble-playbook like usage of tags to run selective steps in a workflow command

Alternatives Considered

multiple summary workflow commands

Additional Context

see: https://sweetops.slack.com/archives/C031919U8A0/p1697701370995069

@hans-d hans-d changed the title Tagging steps / running steps selectovely Tagging steps / running steps selectively Oct 20, 2023
@osterman osterman added the enhancement New feature or request label Feb 3, 2024
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

No branches or pull requests

2 participants