X Tutup
Skip to content

How can I enable a runner for a project? #205

@jurgenhaas

Description

@jurgenhaas

When I receive a runner object I can see a list of all the enabled projects for this runner. I was trying to one and then save the runner, but that doesn't work:

runner = gl.runners.get(1) # type: gitlab.Runner
runner.projects.append({
    'id': 100
})
runner.save()

What's required to make that work? Or is there a different way of doing this?

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions

    X Tutup