-
-
Notifications
You must be signed in to change notification settings - Fork 365
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
Failing to link repositories against Gitea with organisations set up #130
Comments
Looks like this is your first issue. Welcome to the community! 👋 |
We just gave the robot user administrator permissions in Gitea, and it was resolved Issue 2 for us, however - we don't really want robot users having this permission if possible. It seems oddd as I thought the only permission it requires is webhook creation access. |
Let me dig into this today. |
Issue 0 Here is my Drone config I used in my tests.
Issue 1 Issue 2 Workaround is to enable repos with the DRONE_ADMIN user. Issue 3 Made a new release, grab these images: Let me know if this helped, or if you see further problems. |
Thanks for the detailed reply Issue 1 Appreciate the help. I'll see if I can get round to creating a gitea set up page in the docs to consolidate this information when I next work on this |
I'm happy it got you past the issues. 👍 |
Tracking the remaining issue here: #134 |
Can't login in Woodpecker anymore with user/pass and Gitea when using Woodpecker after 0.11.0: 0.12.0, 0.13.0 and latest My configuration:
Thanks! |
Hi, first off, nice project! We are considering using woodpecker at our company as an alternative to drone.
I am having 2 issues, which I have not been able to find solutions for by following the documentation.
I believe both issues are solvable with config, of which the solution may be to update the documentation slightly (Would be nice to have a gitea specific env page). Happy to help in doing this.
Set up
Organisation A
Organisation A
robot
user, which has typical robot perms on all repos underOrganisation A
robot
userOur configuration
We just load the .env to both services in the
docker-compose.yml
Issue 1 (Logging in to woodpecker as a user other than
robot
)I am not sure if I have misunderstood, but I understand that you should be able to log in as any user from the VCS (in our case, gitea) via the woodpecker login page. When we try to do this, we get redirected to
https://<our.woodpecker.instance>/login/error?code=access_denied
. We tried usingDRONE_ORGS=<OurOrganisationNameInGitea>
which did not change anything, andDRONE_OPEN=true
but this broke login even for therobot
user for some reason.Issue 2 (Activating repositories which exist under Organisation A)
If I create a repository in gitea under
robot
I can activate it with no issue on woodpecker.However, if I have a repository which exists under
Organisation A
- We get a popupFailed to activate your repository
message: "403 Forbidden"Possibly related information
Every time I log into our woodpecker instance, a new
Access Token
gets added to therobot
user, so things start looking like this very quickly:Hopefully we've just missed something obvious. Thanks for your time!
The text was updated successfully, but these errors were encountered: