Skip to content

Conversation

@nejch
Copy link
Member

@nejch nejch commented Jul 23, 2022

Makes listing all runners (admin endpoint) possible via the CLI and fixes arguments that were being ignored in runners.all() by reusing our standard list() from the mixin instead. I haven't deprecated yet to give people time to change before warnings start to emit.

Closes #593
Replaces #2115

@codecov-commenter
Copy link

Codecov Report

Merging #2167 (c8daa1f) into main (1ef7018) will increase coverage by 0.00%.
The diff coverage is 100.00%.

@@           Coverage Diff           @@
##             main    #2167   +/-   ##
=======================================
  Coverage   95.40%   95.41%           
=======================================
  Files          79       79           
  Lines        5181     5191   +10     
=======================================
+ Hits         4943     4953   +10     
  Misses        238      238           
Flag Coverage Δ
api_func_v4 81.29% <100.00%> (+0.03%) ⬆️
cli_func_v4 82.87% <100.00%> (+0.03%) ⬆️
unit 87.09% <100.00%> (+0.02%) ⬆️

Flags with carried forward coverage won't be shown. Click here to find out more.

Impacted Files Coverage Δ
gitlab/client.py 98.70% <100.00%> (+<0.01%) ⬆️
gitlab/v4/objects/runners.py 98.50% <100.00%> (+0.20%) ⬆️

@JohnVillalovos JohnVillalovos merged commit c6dd57c into main Jul 23, 2022
@JohnVillalovos JohnVillalovos deleted the fix/runners-all branch July 23, 2022 14:50
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

Successfully merging this pull request may close these issues.

[CLI] runner-all command is bugged

4 participants