Skip to content

Conversation

@sergelogvinov
Copy link
Contributor

Is simple patch allows us to customize the working directory during gh-worker registration.

Sometimes I need to change the work directory to pull/store large files on build process.

Thanks.

@sergelogvinov
Copy link
Contributor Author

Hello @nikola-jokic can you take a look please...

Thanks.

@sergelogvinov sergelogvinov force-pushed the workdir branch 2 times, most recently from d12f7c4 to 920cf6b Compare May 10, 2024 11:28
@nikola-jokic nikola-jokic added the gha-runner-scale-set Related to the gha-runner-scale-set mode label Jun 4, 2024
Name: ephemeralRunner.Name,
}

for c := range ephemeralRunner.Spec.Spec.Containers {
Copy link
Collaborator

Choose a reason for hiding this comment

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

Can you please rename c to i? c sounds like a container, while i is usually variable associated with iterations.

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Yep, thanks, fixed.

It allows us to customize the working directory during worker registration.
Copy link
Collaborator

@nikola-jokic nikola-jokic left a comment

Choose a reason for hiding this comment

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

LGTM, thank you for your contribution, and sorry for waiting!

@nikola-jokic nikola-jokic merged commit e45ac19 into actions:master Jun 4, 2024
@sergelogvinov sergelogvinov deleted the workdir branch June 4, 2024 13:17
unpollito pushed a commit to DistruApp/actions-runner-controller that referenced this pull request Jan 21, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

gha-runner-scale-set Related to the gha-runner-scale-set mode

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants