-
Notifications
You must be signed in to change notification settings - Fork 19
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
Git Clone and Checkout failing #36
Comments
Same problem here. What makes me wonder is the fact, that it seems to have never worked before?!? I randomly picked some other git tags and tried the master branch of strider itself and strider-docker-runner. Even with an updated docker image using Ubuntu 5.10 the problems stayed the same. Maybe its a problem with strider-docker-slave? (but there hasn't been any updates recently) @dc00p The ssh key is setup in the docker image right before the git command is run. When you start your own docker instance, then there is no ssh key. Thats expected behavior. |
The best person to give you a status would be @keyvanfatehi, or maybe @davemackintosh (I think he worked with the runner to an extent). |
Correct me if I'm wrong @knownasilya @keyvanfatehi. The runner should clone to repo on the Strider machine, not the container and then The error 128 means a permissions issue, while the key might be correct/added, the container either doesn't have the key OR the commands are being run as a different user to the one you expect. Can you add |
We're using the docker runner with great success, but with github rather than bitbucket. It does currently run the clone on the actual container. I think that's the correct behavior though, since it's part of the |
Agreed, that's the correct behaviour. Please let us know your findings :) I haven't had a lot of time to stay familiar with this plugin so all refreshers are welcome! |
The bitbucket and github plugins both use The git plugin runs the But even then, Gitane makes direct calls to Direct fs access is a huge issue, present in most of the plugins I've looked at. I basically got lucky with the github plugin. The whole host/container path problem is also real, but direct fs access is more prevalent. I've refactored the docker runner to fix the path/cwd/env related issues, but many plugins would need to be updated before they'd actually work. As an aside, I keep seeing a lot of gymnastics to support Windows... how serious are we about this? If we were to update plugins to be command-driven-only, things would get hairy pretty quickly. Also, the |
I don't think we are too serious about windows support, since most Strider instances need to be hosted and most nodejs based hosting platforms are Linux based.
Can you expound on this topic a little? |
@knownasilya Sure. Take the node plugin for example. It checks to see if a |
It seems to be happening only with private repos. This issue would need some refactoring on the strider-git module? something like creating a hand crafted compatible git node lib instead of using gitane. Whats could be the path to fix this issue? |
@sebas5384 The people that originally created gitane (and are more knowledgeable on the topic) are scarce around these parts @niallo @jaredly. So your guess is as good as mine 👍 Throw ideas out, and we can discuss. |
I wrote Gitane a while back, it's very simple. I didn't think much about Git has improved in the past 3 years. There is even a pure-JS I'm happy to accept PRs on the repo, but it might make sense to use one of
On Tue, Dec 8, 2015 at 6:38 AM, Ilya Radchenko [email protected]
Niall O'Higgins |
I am having trouble getting the Docker Runner plugin working.
I am logged in through BitBucket.
When I use the simple runner the project builds fine.
When I try and use the Docker Runner I get the following output:
When attempting to do a manual clone from the strider/strider-docker-slave container itself I get the following error:
I'm not sure if this is related, or a coincidence.
How are the credentials passed from the machine running Strider-CD to the Docker Runner anyway?
Any help would be appreciated.
The text was updated successfully, but these errors were encountered: