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

[Capact CLI] Build in an option to wait for a given Action state #616

Closed
mszostok opened this issue Jan 25, 2022 · 0 comments · Fixed by capactio/website#124 or #719
Closed

[Capact CLI] Build in an option to wait for a given Action state #616

mszostok opened this issue Jan 25, 2022 · 0 comments · Fixed by capactio/website#124 or #719
Assignees
Labels
area/cli Relates to CLI enhancement New feature or request
Milestone

Comments

@mszostok
Copy link
Member

Description

Currently, in most of our tutorials/documentations, we require from user to wait for a given Action state. For example:

3. Get the status of the Action from the previous step:

```
capact action get mattermost
```
Wait until the Action is in `READY_TO_RUN` state. 

or

3. Wait until the Action is in `READY_TO_RUN` status:
   ```bash
   watch -n 1 capact action get bigbang
   ```

It can be easily replaced with such syntax sugar:

capact act wait --for=phase=READY_TO_RUN

(inspired by kubectl wait command)

Reason

Get rid of external CLI usage and simplify waiting for a given Action state.

Use cases

  • System User - has an easy built-in option to wait for a given Action state.
@mszostok mszostok added enhancement New feature or request area/cli Relates to CLI labels Jan 25, 2022
@mszostok mszostok added this to the Next milestone Jan 25, 2022
@mszostok mszostok modified the milestones: Next, 0.7.0 May 10, 2022
@mszostok mszostok self-assigned this May 12, 2022
This was referenced May 12, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
area/cli Relates to CLI enhancement New feature or request
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant