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

Add clean env behaviour #317

Closed
callmevladik opened this issue Aug 2, 2024 · 0 comments · Fixed by #318
Closed

Add clean env behaviour #317

callmevladik opened this issue Aug 2, 2024 · 0 comments · Fixed by #318
Assignees
Labels
enhancement New feature or request feature New functionality

Comments

@callmevladik
Copy link
Contributor

callmevladik commented Aug 2, 2024

Description:
This task focuses on enhancing the user interface of the clean-edp tool to offer a more intuitive and user-friendly experience during the resource deletion process. The aim is to simplify the current process, which may come across as complex or unclear, thereby reducing the risk of user errors and accidental deletions.

Acceptance Criteria:

Intuitive Step-by-Step Process: Design and implement a clear, step-by-step guided process for users, making the resource removal experience straightforward and easy to navigate.
Explicit Confirmation Steps: Integrate a detailed confirmation step that explicitly lists the resources slated for removal, requiring user verification to proceed. This is key to preventing unintended resource deletions.
Comprehensive Error Handling and Feedback: Ensure the tool provides clear, actionable feedback in the event of errors or issues during the deletion process, helping users understand what went wrong and how to fix it.

Implementation Plan:

Evaluate the current resource removal workflow within the clean-edp tool to identify areas for improvement.
Redesign the workflow to incorporate the specified acceptance criteria, with an emphasis on simplicity and user engagement.
Implement the redesigned workflow, focusing on error handling and providing clear feedback to users.
Conduct user testing to gather feedback, making adjustments as needed to refine the user experience.

AC:
UI:

Add field 'Clean pipeline template' in stage creation form;
to get all Clean pipeline template use label: 'app.edp.epam.com/pipelinetype: clean'
Rename 'Pipeline template' to 'Deploy pipeline template';
Add 'Clean pipeline template' to stage edit form;
Add 'Deploy pipeline template' and 'Clean pipeline template' field to stage overview;
Add 'Clean' button in stage page view;

DevOps:

enable 'clean' tekton pipeline, this pipeline should remove all ArgoCD application in current stage; use label: 'app.edp.epam.com/pipelinetype: clean' (argocd cli)
create 'clean' tekton pipeline template with label: 'app.edp.epam.com/pipelinetype: clean'
align current 'clean-edp' pipeline to this approach

Backend:

enable new field in stage CR: spec.cleanTemplate

@callmevladik callmevladik converted this from a draft issue Aug 2, 2024
@callmevladik callmevladik self-assigned this Aug 2, 2024
@callmevladik callmevladik added enhancement New feature or request feature New functionality labels Aug 2, 2024
@github-project-automation github-project-automation bot moved this from Todo to Done in KubeRocketCI Aug 2, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request feature New functionality
Projects
Archived in project
Development

Successfully merging a pull request may close this issue.

1 participant