-
Notifications
You must be signed in to change notification settings - Fork 1.3k
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
[gp-cli] Validate .gitpod.yml #9025
Comments
That's something we can do from the |
Really like this! Great idea! |
We could leverage https://github.com/xeipuuv/gojsonschema and load https://github.com/gitpod-io/gitpod/blob/main/components/gitpod-protocol/data/gitpod-schema.json to check against. |
This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions. |
Given the introduction of See issue comment: #7671 (comment) |
Is your feature request related to a problem? Please describe
Currently, using VSCode, yaml-schema validation helps reducing typos or indentation issues in
.gitpod.yml
. It would be useful to offer the same functionality from the gp CLI.Describe the behaviour you'd like
gp validate
orgp validate config
Describe alternatives you've considered
It'd be interesting if we could also validate
.gitpod.Dockerfile
Additional context
N/A
The text was updated successfully, but these errors were encountered: