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

fix: list and get environment and project to display same data #362

Merged
merged 2 commits into from
Jul 24, 2024

Conversation

shreddedbacon
Copy link
Member

@shreddedbacon shreddedbacon commented Jul 22, 2024

General Checklist

  • Affected Issues have been mentioned in the Closing issues section
  • Documentation has been written/updated
  • PR title is ready for inclusion in changelog

Updates the list and get environment and project commands to include the same information. Extends the get commands with a --wide flag that will extend the data with more fields if required.

$ lagoon list projects
ID	PROJECTNAME	GITURL                                      PRODUCTIONENVIRONMENT   PRODUCTIONROUTE         DEVENVIRONMENTS
1 	test       	git@github.com:shreddedbacon/d8-example.git main                	https://example.com     3/5
2 	test1       git@github.com:shreddedbacon/d8-example.git main                 	https://example2.com    0/5
3 	test2       git@github.com:shreddedbacon/d8-example.git main                 	https://example3.com    0/5
14	test3       git@github.com:shreddedbacon/d8-example.git	main                 	https://example4.com    0/5
15	test4       git@github.com:shreddedbacon/d8-example.git	main                 	https://example5.com    0/5

$ lagoon get project -p test
ID	PROJECTNAME GITURL                                      PRODUCTIONENVIRONMENT   PRODUCTIONROUTE     DEVENVIRONMENTS
1 	test        git@github.com:shreddedbacon/d8-example.git main                    https://example.com 3/5

$ lagoon get project -p test --wide
ID	PROJECTNAME	GITURL                                     	PRODUCTIONENVIRONMENT	PRODUCTIONROUTE    	DEVENVIRONMENTS	AUTOIDLE	BRANCHES                                     	PULLREQUESTS                                 	ROUTERPATTERN	FACTSUI	PROBLEMSUI	DEPLOYMENTSDISABLED
1 	test       	git@github.com:shreddedbacon/d8-example.git	main                    https://example.com	3/5            	true    	This project is configured with DeployTargets	This project is configured with DeployTargets	-            	false  	false     	false

Closing issues

closes #152

@shreddedbacon shreddedbacon changed the title fix: list and get environment to display same information, extend get… fix: list and get environment and project to display same data Jul 22, 2024
@shreddedbacon shreddedbacon marked this pull request as ready for review July 23, 2024 23:48
@shreddedbacon shreddedbacon requested a review from CGoodwin90 July 23, 2024 23:48
@shreddedbacon shreddedbacon merged commit 7fab24a into main Jul 24, 2024
4 checks passed
@shreddedbacon shreddedbacon deleted the environment-data branch July 24, 2024 00:42
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.

deploytarget name on lagoon-get-environment
2 participants