Merge pull request #170 from gabriel-samfira/fix-runner-group-on-create-pool

Properly set runner group when creating a pool
This commit is contained in:
Gabriel 2023-08-25 16:39:26 +03:00 committed by GitHub
commit 4f8ca6082c
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
3 changed files with 3 additions and 0 deletions

View file

@ -151,6 +151,7 @@ func (s *sqlDatabase) CreateEnterprisePool(ctx context.Context, enterpriseID str
EnterpriseID: &enterprise.ID,
Enabled: param.Enabled,
RunnerBootstrapTimeout: param.RunnerBootstrapTimeout,
GitHubRunnerGroup: param.GitHubRunnerGroup,
}
if len(param.ExtraSpecs) > 0 {

View file

@ -168,6 +168,7 @@ func (s *sqlDatabase) CreateOrganizationPool(ctx context.Context, orgId string,
OrgID: &org.ID,
Enabled: param.Enabled,
RunnerBootstrapTimeout: param.RunnerBootstrapTimeout,
GitHubRunnerGroup: param.GitHubRunnerGroup,
}
if len(param.ExtraSpecs) > 0 {

View file

@ -168,6 +168,7 @@ func (s *sqlDatabase) CreateRepositoryPool(ctx context.Context, repoId string, p
RepoID: &repo.ID,
Enabled: param.Enabled,
RunnerBootstrapTimeout: param.RunnerBootstrapTimeout,
GitHubRunnerGroup: param.GitHubRunnerGroup,
}
if len(param.ExtraSpecs) > 0 {