uselagoon / uselagoon/lagoon-cli

Add --wait command to get deployment command

Open
#184 1 comment 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

enhancement
Dominant language
Go
Stars
28
Forks
14
Avg merge
1d 2h
Merged PRs (30d)
1

Description

When we run commands to get a deployment we first receive that the deploy is running. We can solve this with a bash loop but it would be nicer if the command can handle this like:

lagoon get deployment -e master -p [PROJECT] --remoteid [REMOTEID] --wait

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start at the CLI entry point for lagoon get deployment and inspect how deployment status is returned. Trace the existing command behavior for a running deployment, then determine the completion condition and how the --wait example should behave; done means the command waits instead of requiring a bash loop.

Written by the indexing model from the issue text.

Assessment

Tech stack
go
Domain
cli, devops
Issue type
Feature
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.