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

Deployment Failure Due to All Development Environments in Use #32

Open
zeshanziya opened this issue Jul 2, 2024 · 1 comment
Open

Comments

@zeshanziya
Copy link
Collaborator

Platform.sh by default provides 1 production and 3 development environments. If all development environments are in use and we try to deploy, it fails without any specific error. Additionally, we cannot deploy the same reference again even after clearing the development environments.

Solutions: List all used environments and check if the current reference can be deployed. If not, do not attempt to deploy and throw an error specifying that no development environment is available.

@zeshanziya
Copy link
Collaborator Author

According to the Platform.sh documentation, it provides 1 production environment and 3 development environments by default. This limit can be increased, so we need a way to define the number of development environments allowed, with the default value set to 3. Users should be able to change this value if required.

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

1 participant