Skip to content

gitpod.yml validation and/or execution using the gp command #5850

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

Closed
DaveAuld opened this issue Sep 24, 2021 · 5 comments
Closed

gitpod.yml validation and/or execution using the gp command #5850

DaveAuld opened this issue Sep 24, 2021 · 5 comments
Labels
component: gp cli meta: stale This issue/PR is stale and will be closed soon team: IDE type: feature request New feature or request

Comments

@DaveAuld
Copy link

I recently used gp to create the template .gitpod.yml file.
After editing I was looking at how I could validate or test the file, and found the process of stop and starting the workspace or creating a new workspace after pushing the file to the repo pretty tedious, especially after a few attempts of trying to achieve what I wanted.

It would be great if the gp command had an --execute and/or --validate option that could be used to do just that on the .gitpod.yml file, without the need to actually stop/restart/or recreate the workspaces.

Associated posts on gitpod community at:
https://community.gitpod.io/t/feature-request-gitpod-yml-validate-or-execute-with-gp/5117
https://community.gitpod.io/t/how-to-manually-execute-gitpod-yml-file/4464

Thanks,
Dave

@akosyakov
Copy link
Member

Unfortunately after team discussions we realised that we don't have capacity for new features and have to focus more on bug fixes and robust deployments for now.

@loujaybee
Copy link
Member

loujaybee commented Oct 7, 2021

Seems also related to #4861 (faster feedback on changes to gitpod.yml)

@stale
Copy link

stale bot commented Jan 9, 2022

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.

@stale stale bot added the meta: stale This issue/PR is stale and will be closed soon label Jan 9, 2022
@stale stale bot closed this as completed Jan 20, 2022
@RyzeNGrind
Copy link

Is there any way to use the gp validate command as a pre-commit hook in my Github Actions workflow? It would be a very useful feature when testing or building your own workspaces.

@akosyakov
Copy link
Member

Is there any way to use the gp validate command as a pre-commit hook in my Github Actions workflow? It would be a very useful feature when testing or building your own workspaces.

As for now gp validate can work only within a Gitpod workspace. If you are interested only in validating the image then you should be able to use docker build though.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
component: gp cli meta: stale This issue/PR is stale and will be closed soon team: IDE type: feature request New feature or request
Projects
None yet
Development

No branches or pull requests

4 participants