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

Application spec should be verified before being deployed #7

Open
birgirst opened this issue Jul 1, 2019 · 1 comment
Open

Application spec should be verified before being deployed #7

birgirst opened this issue Jul 1, 2019 · 1 comment

Comments

@birgirst
Copy link
Contributor

birgirst commented Jul 1, 2019

FIAAS supports multiple versions of application specs. When users upgrade their application specs from one version to the next it is easy to supply values that are not valid causing failures when deploying. By introducing a verification step in the form of linting of the application spec ahead of deploying it, it would be possible to raise issues more explicitly and give users feedback earlier in the process.

@oyvindio
Copy link
Member

oyvindio commented Oct 4, 2023

One way to verify/validate the application spec could be to add a complete openapi schema to the Application resource. Validation would be performed by the apiserver at resource creation time. This comment https://github.com/fiaas/fiaas-deploy-daemon/issues/38 has some details about what might be required to achieve this. I'm adding the link to it here so it is easier to find.

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