-
Notifications
You must be signed in to change notification settings - Fork 1.2k
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
Epic: Remove need to commit to git (Gitpod "Inner Loop") #7671
Comments
@mickmister this has been discussed more on a solution side in #4861 and #6818. I like that you framed it from the problem/user perspective, so would like to use this as the driving epic. That means we are updating the initial description as we discover this. |
@svenefftinge It would be interesting if the workflow could match the style of docker image development, how you can iterate on a dockerfile as it caches the execution of each step. It's more difficult in the I haven't tried the approach of using a dockerfile to setup the Gitpod image. In what's currently available, that may provide a faster workflow of building the workspace, as you can iterate on the Dockerfile and test with the resulting Docker image, without needing to recreate the workspace on each iteration. We may be able to access the build context from the Docker build process using build arguments: docker build --build-arg repository=https://github.com/gitpod-io --build-arg commit=8c3e9a08d96f61d74fad72d67029eefe61a53dba Then the project maintainer can develop the Dockerfile with access to the repo name etc. Then the Dockerfile would clone the repo and install dependencies etc. It looks like we have access to |
Moving to Q3 as the currently proposed solution for this would be dependent upon #7185, which in turn is dependent on API changes introduced in #7900 and #8512. However, if required, some simpler (non-dependent) solutions could be found for immediate pain relief here rather than doing this via a Gitpod CLI / using the Gitpod API's. |
Note: There is also the related use-case of iterating/feedback loop on updating dotfiles configuration (in addition to |
Just adding some feedback from another perspective. We have a custom Docker image for our workspaces where we pre-install various CLIs that we use on a bunch of projects. If I update the Docker image, to get the latest CLIs, but don't want to get rid of the files in my current workspace (which might include docker volumes with data that I still need), don't have a good path forward. To get the latest image, I need to create a new workspace. It would be really useful (in my use case) to be able to rebuild the current workspace, preserving all the files in We've only just started testing GitPod in the last few weeks, so I might be missing a few things about how it works, but I think this ties in well with this issue. |
Loving the product overall, but as a newbie to gitpod customising my workspace image - it has been painfully slow to iterate and get it right. I look forward to this feature. |
yeah, needing this asap ;) |
Built a prototype using |
We have begun technical investigations here and created some draft plans around this. However, I'm going to move this from Q3 currently as it's unlikely to complete in this quarter, with most of our efforts going towards the JetBrains integration. However, we will continue to gather more information, and you comments, ideas and feedback on this issue are still much appreciated and will get incorporated into any final solution(s). |
Documentation raised w/ announcement: https://github.com/gitpod-io/website/pull/3290 |
Hey folks, a beta version of the https://www.gitpod.io/changelog/validate-gitpod-yaml-without-commit You can find some more information of how to use the feature... Here, in the context of configuring a workspace: https://www.gitpod.io/docs/configure/workspaces Feedback is tagged up against the
I say we consider this issue closed 🙏 |
This comment was marked as outdated.
This comment was marked as outdated.
@GitMensch It sounds like a regression. Could you create a new issue and share with which repo you can reproduce it please? I'm trying to reproduce with https://github.com/akosyakov/parcel-demo but I cannot reproduce with VS Code Browser. I tried with both |
Improve the speed that users can iterate on their configuration, particularly their
.gitpod.yml
in a way that doesn't require them to leave gitpod and/or start other workspaces. Doc or research progress.There are some main configuration areas to improve on:
gitpod.yml
- inclusive of the task commandsAlso useful to think on different dimensions:
In scope
gp env
#12208gp rebuild
after updating their.gitpod.yml
or Docker configuration. #16299workspace-full
takes a long time todocker pull
in a first run ofgp rebuild
#16298gp rebuild
on workspace caching, backup performance, etc. #16480.gitpod.yml
#6894gp init -i
is returning{}
#16335Nice to have
gp rebuild
#16180gp rebuild
again. #16178Out of scope - Improve outer loop
.gitpod.yml
configurations ("continue with default" options) #16236Closes
gp
command line #12893gp prebuild-logs
Gitpod cli command #13505Related issues:
Original issue description
Context
When I'm building a workspace, I oftentimes want to iterate on the .gitpod.yml file and test its behavior. My workflow is:
Problem with this approach
Two things that are inconvenient about my current workflow:
Possible Solution
Add a command to the gp CLI, which takes the current .gitpod.yml (and dockerfile) and starts a fresh workspace with an explicit prebuild stage (so it runs through the automation). The CLI would output the build logs (docker build, prebuild, tasks) to standard out and at the end (ready state) print a link so one can optionally go and open the IDE.
The workspace stops when I terminate the process.
We can then have IDE commands to run this. I think a code lens in the .gitpod.yml would be even better. Also, a notification when the config has changed could be useful for users to discover this.
The text was updated successfully, but these errors were encountered: