-
Notifications
You must be signed in to change notification settings - Fork 558
Feat: Rollback support added for devtron charts. #1405
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
Conversation
| func (impl AppStoreDeploymentFullModeServiceImpl) UpdateValuesYaml(installAppVersionRequest *appStoreBean.InstallAppVersionDTO) (*appStoreBean.InstallAppVersionDTO, error) { | ||
| acdAppName := fmt.Sprintf("%s-%s", installAppVersionRequest.AppName, installAppVersionRequest.EnvironmentName) | ||
| gitOpsRepoName := installAppVersionRequest.GitOpsRepoName | ||
| if len(gitOpsRepoName) == 0 { |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
i think we are using similar code to fetch gitops repo at other places also.. should extact it out as function
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
done
| } | ||
| gitOpsConfigBitbucket, err := impl.gitOpsRepository.GetGitOpsConfigByProvider(util.BITBUCKET_PROVIDER) | ||
| if err != nil { | ||
| if err == pg.ErrNoRows { |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
this code should be inside GetGitOpsConfigByProvider
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
GetGitOpsConfigByProvider has only its global config services
Description
User not able to go back to previous values as we don't have build history ye. added API support where user can deploy re-deploy to a specific older configuration with same chart version or other chart version.
User now able to rollback to specific older version of deployment history.
Fixes # (issue) :1298
Type of change
How Has This Been Tested?
Checklist: