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

Ephemeral runners based on windows-core-2022 start but never connect to github due to missing argument on run.cmd #3950

Open
ardole opened this issue Jun 26, 2024 · 1 comment
Labels
enhancement New feature or request

Comments

@ardole
Copy link

ardole commented Jun 26, 2024

Base image example windows core 2022 always install the runner as a service.

$action = New-ScheduledTaskAction -WorkingDirectory "$pwd" -Execute "run.cmd"

This fail when enable_jit_config or enable_ephemeral_runners is true, because of missing -Argument "--jitconfig $config"

Without this, runner will never be connected to github.

Context:

  • Github cloud
  • Organization runner
  • Github runner v2.317.0
@npalm
Copy link
Member

npalm commented Jul 1, 2024

Tested the PR, was not able to got it working yet.

ardole added a commit to ardole/terraform-aws-github-runner that referenced this issue Jul 9, 2024
@stuartp44 stuartp44 added the enhancement New feature or request label Aug 6, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

3 participants