ec2-github-runner icon indicating copy to clipboard operation
ec2-github-runner copied to clipboard

Add support for multiple runners

Open hajapy opened this issue 4 years ago • 2 comments

Here's a proposal for adding support for launching multiple runners. The docs are not updated and the input/output name changes may be undesired, but the gist of the feature is covered. If this approach looks good I can work to clean it up. It could definitely use some more testing (I tried it with 2 runners so far).

Closes https://github.com/machulav/ec2-github-runner/issues/8

hajapy avatar Nov 25 '21 21:11 hajapy

@hajapy Out of curiosity: have you investigated if it'd be possible to use GitHub's job matrix strategy (which'd just invoke this action several times) to spawn multiple runners?

jpalomaki avatar Nov 30 '21 20:11 jpalomaki

@hajapy Out of curiosity: have you investigated if it'd be possible to use GitHub's job matrix strategy (which'd just invoke this action several times) to spawn multiple runners?

@jpalomaki I am not sure how getting outputs works in the context of a matrix. Regardless, it seems inefficient to run the action multiple times when the underlying aws api call supports the desired functionality directly.

hajapy avatar Dec 01 '21 02:12 hajapy