Skip to content
Discussion options

You must be logged in to vote

TL;DR: I believe this is a Gitlab API issue and not something that python-gitlab can fix.

It seems like group runners can only be enabled or disabled as a group. Meaning either the project can use the group's runners or not.

It does not appear that a single group runner can be enabled. Only all group runners are enabled or all group runners are disabled.

An individual project runner can be enabled or disabled, but that is not what you have there.

I don't see any support in the API to enable/disable group runners per project 😟 But maybe I don't see it.

This is what generates that error you see:
https://gitlab.com/gitlab-org/gitlab/-/blob/c9a19a219fb7fd84fc2c321a0de5adb54049365d/lib/api/ci/…

Replies: 2 comments

Comment options

You must be logged in to vote
0 replies
Answer selected by nejch
Comment options

You must be logged in to vote
0 replies
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants