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

refactor: make get deployment more useful by using build name #294

Merged
merged 4 commits into from
Dec 5, 2023

Conversation

shreddedbacon
Copy link
Member

Checklist

  • Affected Issues have been mentioned in the Closing issues section
  • Documentation has been written/updated.
  • Changelog entry has been written

To get the status of a build currently using the CLI, you need to list deployments of an environment, and then search for the build you know by its name.

This makes it possible now to use get deployment --project $project --environment $environment --name lagoon-build-abcdef and get the build status directly, with an optional --logs flag to return the logs of that build

This is a breaking change of the older get deployment which required the remote id of a build, and only returned the logs. But this is more useful than the previous command was.

Changelog Entry

@shreddedbacon shreddedbacon marked this pull request as ready for review December 5, 2023 04:14
@shreddedbacon shreddedbacon merged commit d4a8e2e into main Dec 5, 2023
4 checks passed
@shreddedbacon shreddedbacon deleted the deployment-by-name branch December 5, 2023 20:52
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant