-
Notifications
You must be signed in to change notification settings - Fork 1.2k
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
Customize work directory #3477
Customize work directory #3477
Conversation
Hello @nikola-jokic can you take a look please... Thanks. |
d12f7c4
to
920cf6b
Compare
@@ -521,6 +521,14 @@ func (r *EphemeralRunnerReconciler) updateStatusWithRunnerConfig(ctx context.Con | |||
jitSettings := &actions.RunnerScaleSetJitRunnerSetting{ | |||
Name: ephemeralRunner.Name, | |||
} | |||
|
|||
for c := range ephemeralRunner.Spec.Spec.Containers { |
There was a problem hiding this comment.
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.
There was a problem hiding this comment.
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.
There was a problem hiding this 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!
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.