cloudposse / cloudposse/atmos

Tagging steps / running steps selectively

Open
#443 0 comments 0 reactions 0 assignees View on GitHub
enhancement
Dominant language
Go
Stars
1.4k
Forks
175
Avg merge
2d 3h
Merged PRs (30d)
134

Description

### 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

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.