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

[ui] Replace single redeploy request with update + deploy requests #277

Closed
richard-cox opened this issue Jul 17, 2023 · 7 comments · Fixed by #291
Closed

[ui] Replace single redeploy request with update + deploy requests #277

richard-cox opened this issue Jul 17, 2023 · 7 comments · Fixed by #291
Assignees
Labels
kind/bug Something isn't working
Milestone

Comments

@richard-cox
Copy link
Member

richard-cox commented Jul 17, 2023

  • Blocked on Cannot update source from a failed app epinio#2363
  • The redeploy api request will be removed
  • We need to replace this with two requests now. update and deploy
  • Affects two places (need to check for other places)
    • adding / removing instances using the + / - buttons
    • editing application source
  • before starting we should discuss offering the user the choice on whether they want to deploy the app following the changes.
    • this could be a checkbox in the edit app source flow somewhere
@richard-cox richard-cox added the kind/bug Something isn't working label Jul 17, 2023
@richard-cox richard-cox added this to the v1.10.0 milestone Jul 17, 2023
@enrichman
Copy link
Member

We don't need the two API calls because in the end I've kept the original behavior adding a flag to skip the restart, so we just need to provide this flag during the push.

See: epinio/epinio#2363 (comment)

@richard-cox
Copy link
Member Author

@torchiaf unfortunately we don't have the same bot from dashboard running here, so we need to make sure issues that are automatically closed by PRs are reopened and moved to test

@mmartin24
Copy link
Contributor

@richard-cox could you please give some hints on how to test this?
thanks

@torchiaf
Copy link
Contributor

@mmartin24 This will fix this issue.

Area that should be covered by tested:

  • Edit a faulty app .
  • Scale applications (regressions check).

The last point in the description is actually not covered, possibly we may want to address it in a new issue.

@mmartin24
Copy link
Contributor

Checked in Epinio Server Version: v1.9.0-26-g21ef05bd with latest Epinio UI.

  • Checked faulty up can be sourced to a working one.
  • Checked once sourced to a valid one, it can scaled up and down 3 instances
Screencast.from.01-09-23.11.55.31.mov

(Testing note: use make appchart when deploying testing cluster if local)

@mmartin24
Copy link
Contributor

@mmartin24 This will fix this issue.

Area that should be covered by tested:

  • Edit a faulty app .
  • Scale applications (regressions check).

The last point in the description is actually not covered, possibly we may want to address it in a new issue.

Thanks @torchiaf .
Tested accordingly and working.
I think the last point you mentioned regarding application scaling is covered here: #287

Closing issue

@mmartin24
Copy link
Contributor

Rechecked in v1.10.0-rc1 and working:

  • Checked redeploying app from faulty one
  • Checked up and downscale of apps to 3 instances

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
kind/bug Something isn't working
Projects
Archived in project
Status: Done
Development

Successfully merging a pull request may close this issue.

4 participants