Skip to content
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

Add management functionality and job executor/targets #493

Open
halberom opened this issue May 20, 2020 · 0 comments
Open

Add management functionality and job executor/targets #493

halberom opened this issue May 20, 2020 · 0 comments
Assignees
Labels

Comments

@halberom
Copy link

Describe the enhancement
Ability to define a runner which can accept 1..N jobs and send them to a given target/executor. Where a target may be docker on the local instance, a docker engine in a cluster, or an instance in an autoscaling group.

At present a runner gets spun up in a container/instance and sits there polling for a job that it then runs locally. The only way I can see to guarantee a clean env is to flush the instance/container and start again following every single job. This causes a large number of unnecessary events to occur as the runner has to re-register on every startup. There is also no easy way of autoscaling. Similar to how gitlab have done it, I would like to see something where

  • I can spin up a runner and register it
  • the runner can be configured to accept, e.g. 10 concurrent jobs
  • each job will be sent to a different instance in an autoscaling group

In this way, we get the following

  • an always on instance (manager)
  • existing functionality (if using local target)
  • new functionality by specifying a different target (a docker engine or instances in an auto scaling group)

Additional information
For refs, see https://docs.gitlab.com/runner/configuration/runner_autoscale_aws/ and https://docs.gitlab.com/runner/executors/docker.html

I couldn't find anything like this mentioned in the community board nor issues. Apologies if this has already been addressed.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

3 participants