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

Add act wait command #719

Merged
merged 4 commits into from
May 13, 2022
Merged

Add act wait command #719

merged 4 commits into from
May 13, 2022

Conversation

mszostok
Copy link
Member

@mszostok mszostok commented May 12, 2022

Description

Changes proposed in this pull request:

  • Add act wait command

Testing

  1. Checkout PR
  2. Build CLI make build-tool-cli
  3. Login into long-running cluster
  4. Create cap.interface.capactio.examples.greet:0.1.0 Action. (I created it via Dashboard.)
  5. Wait for it via capact act wait --for=phase=READY_TO_RUN <act_name>

Related issue(s)

Resolves #616

@mszostok mszostok added enhancement New feature or request area/cli Relates to CLI labels May 12, 2022
cmd/cli/docs/capact_action_wait.md Outdated Show resolved Hide resolved
cmd/cli/docs/capact_action_wait.md Show resolved Hide resolved
Copy link
Member

@pkosiec pkosiec left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Works well, but please fix typos and regenerate docs before merge 🙂

cmd/cli/cmd/action/wait.go Outdated Show resolved Hide resolved
cmd/cli/cmd/action/wait.go Outdated Show resolved Hide resolved
cmd/cli/cmd/action/wait.go Outdated Show resolved Hide resolved
cmd/cli/cmd/action/wait.go Outdated Show resolved Hide resolved
@mszostok mszostok merged commit 3cb99ab into capactio:main May 13, 2022
@mszostok mszostok deleted the cli-wait branch May 13, 2022 09:02
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 this pull request may close these issues.

[Capact CLI] Build in an option to wait for a given Action state
2 participants