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
Remote build context in compose file fails when using a git repo rather than a direct link to a Dockerfile #2684
Comments
When git is installed in the system it works. So git is mandatory for support of this feature. |
I think we leave this as a bug because the error message does not align with the reason for the error. |
The error message says it all - no git. We should install git on machine nodes to make it happen. |
Note - this will need to work with private git repos. |
This is critical to M6. |
@riuvshin this is in-progress, correct? |
@bmicklea not yet. |
@bmicklea - this issue is more challenging than to just install git. It also requires sys admins to upload their corporate keys to codenvy so that those keys can be installed on each node where git resides. Those keys will be needed to clone from a private repo. |
@bmicklea @TylerJewell right, on our side I will make sure with puppet that git is installed everywhere it is needed. But adding keys will be manual documented part. |
@bmicklea btw I don't see why it is for M6 I could add this even to M5 because it its easy to install git. Pr proposed |
Ok for M5. If we have to tell customers how to install the git keys manually, can we get a short document / howto on what we need to tell customers to do? Just add the instructions here into this issue and we'll get them into docs. |
@JamesDrummond can you please add the following to Che docs? To use private repositories in compose build context one needs to:
In Codenvy we install git on machine nodes (M5 milestone). And I suppose everyone using Che has git installed locally ) |
This recipe works locally while Che says:
Unable to start workspace agent. Error when trying to start the workspace agent: Start of environment wksp-aekgddsdffews failed. Error: Error response from docker API, status: 500, message: Error response from daemon: Error trying to use git: exec: "git": executable file not found in $PATH ()
The text was updated successfully, but these errors were encountered: