Skip to content

fix(runners): fix listing for /runners/all #2167

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

Merged
merged 1 commit into from
Jul 23, 2022
Merged

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
3 participants