-
Notifications
You must be signed in to change notification settings - Fork 1.3k
show user friendly error if git is not found #15574
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
Conversation
started the job as gitpod-build-pavel-git.1 because the annotations in the pull request description changed |
started the job as gitpod-build-pavel-git.3 because the annotations in the pull request description changed |
@gitpod-io/engineering-ide hey there, could we trouble you for a review on this PR? It'll help users be more successful earlier with their custom image builds, when they forget to include |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thank you, @filiptronicek ! 🙏 |
Description
Show user friendly error and reason for failure if user uses base image that does not include

git
.Otherwise workspace will be stuck in
content initialization
phase forever, which is a bad user experience.(We do require base image to have git and gitpod user, but end user may forget about those requirements).
This is how the error will be presented to the user:
Related Issue(s)
Fixes #
How to test
Open a repo that uses this gitpod dockerfile:
Notice it will fail with user friendly error explaining why.
Release Notes
Documentation
Werft options:
If enabled this will build
install/preview
Valid options are
all
,workspace
,webapp
,ide
,jetbrains
,vscode
,ssh