Skip to content
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

Gitlab, Add renovate-bot to group doesn't trigger enqueue of repositories #114

Open
baurmatt opened this issue Jul 9, 2020 · 2 comments

Comments

@baurmatt
Copy link
Contributor

baurmatt commented Jul 9, 2020

We have groups with a lot of repositories which should all use Renovate.

Adding the renovate-bot user to the group doesn't trigger enqueue for all (sub)group repositories.

This probably needs a lookup for all projects a group has which can easily be done through this Gitlab API -> https://docs.gitlab.com/ee/api/groups.html#list-a-groups-projects

@rarkins
Copy link
Member

rarkins commented Jul 9, 2020

It's possible we don't correctly interpret the system hook we receive when we're added to the group, therefore so an onboarding PR is not generated immediately. However you should see the scheduler pick them up on its next run. The scheduler (defaults to running every hour) calls the endpoint projects?membership=true&per_page=100&min_access_level=30 which I believe should also retrieve all those groups.

@baurmatt
Copy link
Contributor Author

baurmatt commented Jul 9, 2020

Hey @rarkins, that's correct. The scheduler works fine, but this might take up to an hour. It would be great if the webhook could already gather all newly added repositories to make the onboarding more instant.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants