Skip to content

add runner --reuse-idle - #1070

Merged
DavidGOrtega merged 13 commits into
masterfrom
reuse-runners
Jun 30, 2022
Merged

DavidGOrtega merged 13 commits into
masterfrom
reuse-runners

Conversation

@dacbd

@dacbd dacbd commented Jun 20, 2022 •

Copy link
Copy Markdown
Contributor

Closes: #575
Test
Usage

@dacbd
dacbd temporarily deployed to internal June 20, 2022 17:00 Inactive
@dacbd
dacbd temporarily deployed to internal June 20, 2022 17:01 Inactive
@dacbd
dacbd temporarily deployed to internal June 20, 2022 17:08 Inactive
@dacbd

dacbd commented Jun 20, 2022 •

Copy link
Copy Markdown
Contributor Author
  • test GitLab

but since the current --reuse mechanics are essentially the same I think that it is ready for review

@dacbd
dacbd marked this pull request as ready for review June 20, 2022 17:12
@dacbd dacbd added the cml-runner Subcommand label Jun 20, 2022
@dacbd dacbd self-assigned this Jun 20, 2022
@dacbd dacbd mentioned this pull request Jun 20, 2022
1 task done
@dacbd
dacbd requested a review from a team June 20, 2022 17:47
Comment thread bin/cml/runner.js Resolved
@dacbd
dacbd temporarily deployed to internal June 21, 2022 01:50 Inactive

@DavidGOrtega DavidGOrtega left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

To accept this PR we have to simulate the busy state of the runner in BB and GL.
The only way to to it is to get all the active jobs and check if they belong to the runner.
It can be done at least in Gitlab

@dacbd
dacbd temporarily deployed to internal June 21, 2022 15:38 Inactive
@dacbd
dacbd temporarily deployed to internal June 21, 2022 16:00 Inactive
@dacbd
dacbd requested a review from DavidGOrtega June 21, 2022 16:25
@casperdcl

Copy link
Copy Markdown
Contributor

can always add BitBucket to https://github.com/iterative/cml/wiki/Backend-Supported-Features for now :)

@0x2b3bfa0
0x2b3bfa0 temporarily deployed to internal June 24, 2022 10:39 Inactive

@DavidGOrtega DavidGOrtega left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

👍

Nitpick: throw

Comment thread bin/cml/runner.js Resolved
@0x2b3bfa0
0x2b3bfa0 temporarily deployed to internal June 29, 2022 15:19 Inactive
@DavidGOrtega
DavidGOrtega temporarily deployed to internal June 29, 2022 18:25 Inactive
@DavidGOrtega
DavidGOrtega temporarily deployed to internal June 30, 2022 16:18 Inactive
@DavidGOrtega
DavidGOrtega merged commit b4c7898 into master Jun 30, 2022
@DavidGOrtega
DavidGOrtega deleted the reuse-runners branch June 30, 2022 16:40

This branch was previously deployed

1 inactive deployment
internal — ebc678b8 Deployed Jun 30, 2022 by DavidGOrtega
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

cml-runner Subcommand

Projects

None yet

Development

Successfully merging this pull request may close these issues.

cml-runner: Add an option to reuse only idle runners

4 participants