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

Refactor(deploymentList/Caprover): enhance deleting caprover deployment #3675

Open
wants to merge 2 commits into
base: development_2.7
Choose a base branch
from

Conversation

0oM4R
Copy link
Contributor

@0oM4R 0oM4R commented Nov 24, 2024

Description

Refactor deleting Caprover deployment:
the old flow was pushing all workers to an array and delete them instance by instance

now we are using machines.delete to delete the deployment

Changes

  • add isCaprover prop to manage delete caprover deployment
  • remove the old logic

Related Issues

Tested Scenarios

  • cereate caprover deployment worker and leader and delete it from deployemnt list, check the contract list after few seconds to avoid delay conflect, all deployement contracts should be deleted
  • deploy multiple machines uisng gridClient script then delete one of them, should keep the other one ( this test to make sure no side effect because of the changes)

Checklist

  • Tests included
  • Build pass
  • Documentation
  • Code format and docstrings
  • Screenshots/Video attached (needed for UI changes)

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.

2 participants