-
Notifications
You must be signed in to change notification settings - Fork 130
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
Could not determine ref type of version: remote: Repository not found (private github repository during "setup_upstream_workspace" step) #786
Comments
How are you configuring UPSTREAM_WORKSPACE? It looks like you are not setting the version.. |
I have a string defined: packages.repos. The version is set in the .repos |
No, it just cannot connect.to the remote. Have you setup a PAT? |
I guess that this contains you PAT.. |
I just tried passing it like in the comment you mentioned and it does not make a difference. My current token is stored in ~/.netrc:
full path is /root/.netrc. |
Yes, the default user. Does is work locally with vcs and that .netrc? |
Since you already have a custom docker image, you could try ISOLATION: shell as well. isolated:
env:
ISOLATION: shell
ROS_DISTRO: <YOUR ROSDISTRO>
runs-on: <YOUR DOCKER IMAGE>
steps:
- uses: actions/checkout@v1
- uses: 'ros-industrial/industrial_ci@master' |
Yes |
With ISOLATION: shell, i"m getting the same error. It fails on the private repo |
Hmm, tricky. Please run a bash in your docker image and try |
I can't run ISOLATION=shell on my pc, i'm on arch... so there is no apt etc... |
A colleague tried on his Ubuntu 20. With ISOLATION=shell and CI=true and it worked. |
Ok, we solved it. The error was on my side... Sorry for the trouble and thanks for the support |
Hi,
I am basing my Github actions CI with a private container image which contains a .netrc file allowing me to git clone using https. I am using a github hosted runner.
So if i enter my container and execute
It will work. But when running from the CI, I get this:
I also tried to enable netrc from outside the container without success.
I'm not sure where to continue from that.
Thanks
The text was updated successfully, but these errors were encountered: