mend / renovate-ce-ee

Mend Renovate Documentation & Examples
https://www.mend.io/renovate/
Other
154 stars 53 forks source link

Archived GitLab projects are added to the job queue #461

Open TobiX opened 4 months ago

TobiX commented 4 months ago

I know that renovate bails early for archived projects, but it would be even nicer if those projects aren't discovered at all. We have quit a lot of archived projects and this creates a lot of "useless" runs (and shows a "wrong" number in the repositoryCount of the admin API).

2024-02-20T14:33:21.233 renovate[6491] DEBUG    Repository is archived - throwing error to abort renovation

If you are using the GitLab projects REST API (https://docs.gitlab.com/ee/api/projects.html#list-all-projects), it's probably enough to add archived=false to the URL.

justo-mend commented 4 months ago

Good suggestion. Thanks for raising it. We will action this.

tomkuipers commented 2 weeks ago

Any update on a release date for this functionality? We see a lot of resources wasted by processing archived projects in our gitlab instance. Renovate had this implemented in 2022, see https://github.com/renovatebot/renovate/pull/17358 and https://github.com/renovatebot/renovate/issues/17334.