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

feat(apps): Include environment info in apps describe #604

Merged
merged 2 commits into from Jan 30, 2023

Conversation

raulb
Copy link
Member

@raulb raulb commented Jan 27, 2023

Description of change

Fixes #592

⚠️ It's branched off #603

Type of change

  • New feature
  • Bug fix
  • Refactor
  • Documentation

How was this tested?

  • Unit Tests
  • Tested in staging
  • Tested in minikube

Demo

Before

$ meroxa app describe rubyapp   
       UUID:   6c5e1c07-a42e-4079-85e1-efeceaae777f     
       Name:   rubyapp                                  
   Language:   ruby                                     
    Git SHA:   a29551e15bdb9363edd319dee46403a4e4b4b6cd 
 Created At:   2023-01-17 19:36:59 +0000 UTC            
 Updated At:   2023-01-17 19:36:59 +0000 UTC            
      State:   degraded                                 
	Resources
	    dest (destination)
		 UUID:   04636b3d-1ccd-4a5a-bb2a-5969abb52395
		 Type:   postgres
		State:   running
	    dest2 (destination)
		 UUID:   ceb130fa-3769-4796-8f47-a2471fa18a07
		 Type:   postgres
		State:   running
	    source (source)
		 UUID:   bd295652-df7f-44ec-acf8-3a75e8d2e079
		 Type:   postgres
		State:   failed

Now with no environment Info, or if environment is common

Same as Before

With environment Info (that's not common)

$ meroxa app describe rubyapp   
       UUID:   6c5e1c07-a42e-4079-85e1-efeceaae777f     
       Name:   rubyapp                                  
   Language:   ruby                                     
    Git SHA:   a29551e15bdb9363edd319dee46403a4e4b4b6cd 
 Created At:   2023-01-17 19:36:59 +0000 UTC            
 Updated At:   2023-01-17 19:36:59 +0000 UTC            
      State:   degraded                                 
	Resources
	    dest (destination)
		 UUID:   04636b3d-1ccd-4a5a-bb2a-5969abb52395
		 Type:   postgres
		State:   running
	    dest2 (destination)
		 UUID:   ceb130fa-3769-4796-8f47-a2471fa18a07
		 Type:   postgres
		State:   running
	    source (source)
		 UUID:   bd295652-df7f-44ec-acf8-3a75e8d2e079
		 Type:   postgres
		State:   failed
        Environment 
             my-env 
                 UUID:	    b614bd17-477a-4717-a61a-b8774081b9e0
                 Provider:  aws
                 Type:	    private

@raulb raulb self-assigned this Jan 27, 2023
@raulb raulb changed the title feat(apps) feat(apps): Include environment info in apps describe Jan 27, 2023
Base automatically changed from raul/add-environments-to-apps-ls to master January 30, 2023 15:50
@raulb raulb force-pushed the raul/add-environments-to-app-describe branch from 5174299 to cd74e39 Compare January 30, 2023 15:53
@raulb raulb merged commit 2072559 into master Jan 30, 2023
@raulb raulb deleted the raul/add-environments-to-app-describe branch January 30, 2023 16:43
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.

[Env: cli] Environment support for apps describe
2 participants