-
Notifications
You must be signed in to change notification settings - Fork 1.2k
Description
Describe the bug
I don't recall this being an issue until the past year. Whenever the runner instance auto updates it is not preserving lines added in runsvc.sh after # insert anything to setup env when running as a service. We have a line here to source the .zshrc file so the proxy is setup correctly. Anytime a runner updates it ends up showing as offline because this line needs to be readded to our runsvc.sh
To Reproduce
Steps to reproduce the behavior:
- Set runner up for autoupdate
- Add some line after
# insert anything to setup env when running as a service - When the instance auto updates
runsvc.shis reset, no changes for environment setup are preserved.
Expected behavior
An auto update should restore this environment setup that is added by the user after # insert anything to setup env when running as a service
Runner Version and Platform
Version of your runner?
2.330.0
OS of the machine running the runner?
macOS 15
What's not working?
Environment changes made to runsvc.sh are wiped away on a runner update. I am not sure this always happened. Never had an issue with autoupdates until this past year. Not sure what version this broke in.