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

Cannot deploy to new Undeploy Version #2168

Open
miguel-crespo-fdc opened this issue Dec 12, 2024 · 1 comment
Open

Cannot deploy to new Undeploy Version #2168

miguel-crespo-fdc opened this issue Dec 12, 2024 · 1 comment

Comments

@miguel-crespo-fdc
Copy link
Contributor

miguel-crespo-fdc commented Dec 12, 2024

Description

Upon creating a new undeploy version, the UI makes it impossible to deploy the new version to all environments.

Steps to recretate

  • For some app, create an Undeploy Version
  • Try and deploy that version to any environment that is not upstream latest
  • The UI skips those environments (yellow snackbar bottom left)

Findings

  • Upon database entry inspection, it seems like the environments column of the undeploy release is not getting populated with any environments, leading to this check being successful, skipping all environments.

Proposed Solution(s)

  1. Check (in the UI) that the release we are trying to deploy is an Undeploy Release. If so, ignore the environments that come attached with the release.
  2. Write all environments into the envs column of every Undeploy Release. This way we make sure that we can always deploy this version.

Solution 1 seems simpler, but might have other implications that I'm not forseeing.

@diogo-nogueira-freiheit
Copy link
Contributor

Ref: SRX-J8G8TB

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

No branches or pull requests

2 participants