-
Notifications
You must be signed in to change notification settings - Fork 1.1k
Support refresh runner configs with pipelines service. #3706
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
Conversation
7cac6dc
to
5af59de
Compare
c0faabe
to
88e9d8e
Compare
88e9d8e
to
e7426f4
Compare
@@ -130,13 +133,15 @@ public sealed class ConfigurationStore : RunnerService, IConfigurationStore | |||
{ | |||
private string _binPath; | |||
private string _configFilePath; | |||
private string _migratedconfigFilePath; |
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.
migratedConfigFilePath
await ReportTelemetryAsync("Runner settings updated successfully."); | ||
} | ||
|
||
private async Task UpdateRunnerCredentialsAsync(string serviceType, string configRefreshUrl, CancellationToken token) |
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.
Note, this doesn't include the private key. This is just the URL/etc, not the private key - i.e. .credentials
not .credentials_rsaparams
The runner would need to exchange its
.runner
and.credentials
with service to finish migration to new backend.We will based on message from service to make request to either pipelines or admin to get a new config file.
The new config will get stored in either
.runner_migrated
or.credentials_migrated
, which are side by side with existing.runner
and.credentials
.We will report telemetry back to service on any failure.
https://github.com/github/actions-runtime/issues/4944