Skip to content

Commit

Permalink
make agent version configurable
Browse files Browse the repository at this point in the history
  • Loading branch information
elasticroentgen committed Aug 15, 2024
1 parent e1e1669 commit b5532db
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
2 changes: 1 addition & 1 deletion CloudController.cs
Original file line number Diff line number Diff line change
Expand Up @@ -118,7 +118,7 @@ public async Task<Machine> CreateNewRunner(string arch, string size, string runn
List<long> srvKeys = sshKeys.Select(x => x.Id).ToList();

// Create new server
string runnerVersion = "2.317.0";
string runnerVersion = Program.Config.GithubAgentVersion;
string provisionVersion = $"v{profile.ScriptVersion}";
string customEnv = isCustom ? "1" : "0";

Expand Down
1 change: 1 addition & 0 deletions Models/AutoScalerConfiguration.cs
Original file line number Diff line number Diff line change
Expand Up @@ -18,4 +18,5 @@ public class AutoScalerConfiguration

public string DbConnectionString { get; set; }
public string ListenUrl { get; set; }
public string GithubAgentVersion { get; set; }
}

0 comments on commit b5532db

Please sign in to comment.