Skip to content

Conversation

@mvgmb
Copy link
Contributor

@mvgmb mvgmb commented Jun 1, 2022

Parse AnalysisRun to take advantage of existing UI elements.

Before:
Screen Shot 2022-06-01 at 8 41 25 PM

After:
Screen Shot 2022-06-01 at 8 42 50 PM

Comment on lines +130 to +141
const parseAnalysisRunStatus = (status: string): string => {
switch(status) {
case 'Healthy':
return 'Successful';
case 'Progressing':
return 'Running';
case 'Degraded':
return 'Failure';
default:
return 'Error';
}
}
Copy link
Contributor Author

Choose a reason for hiding this comment

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

parseAnalysisRunStatus function converts Argo CD status to Argo Rollouts' Analysis Run status.

Copy link
Contributor

@httin httin left a comment

Choose a reason for hiding this comment

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

this is nice. Can this enhancement go to the next release, please?

@alexef
Copy link
Contributor

alexef commented Sep 19, 2022

How does this relates with: argoproj/argo-rollouts#1910 ? as 1.3.0 just got released, I don't feel I understand the exact relationship between that and this extension.

Does the extension get the changes automatically? Or is the extension a completely separate UI that hooks into CD?

@alexef
Copy link
Contributor

alexef commented Sep 28, 2022

Answered myself, the newly introduced view will be fed with data from argocd, as soon as this pr is merged.

@alexef
Copy link
Contributor

alexef commented Oct 19, 2022

@rbreeze any chance this can be merged 🙏

@rbreeze rbreeze merged commit cef69c3 into argoproj-labs:master Oct 19, 2022
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.

6 participants