-
Notifications
You must be signed in to change notification settings - Fork 341
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
Require runners to be online when honoring --reuse #626
Conversation
a0ac3af
to
679eccd
Compare
679eccd
to
44eefbd
Compare
Apply eslint locally Restyled by prettier
88ecdcf
to
4eed1a7
Compare
be7ee9b
to
57b4bdf
Compare
src/drivers/gitlab.js
Outdated
return await Promise.all( | ||
runners.map(async ({ id, name, description, active, online }) => ({ | ||
id, | ||
name: name || description, |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
name: name || description, | |
name: description, |
The name
property is always null
because POST /runners
doesn't accept it. We're using description
instead of name to store a custom string.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I would say this is true in the meantime GL fixes this bug on their side. The name should be changed and not the description so I would say is ok for now
It was breaking the tests 🤷🏼♂️
The
--reuse
option should not consider offline runners as reusable.