Issues: ROC-1394 -- make new worker pools available for projects

Signed-off-by: mystic knight <techguru@byiq.com>
This commit is contained in:
mystic knight 2023-02-17 11:31:50 -10:00
parent e55fba1763
commit f65bda59db
2 changed files with 10 additions and 8 deletions

4
.gitignore vendored
View File

@ -42,7 +42,9 @@ vendor/peridot.resf.org
.ijwb/.idea/**/usage.statistics.xml
.ijwb/.idea/**/dictionaries
.ijwb/.idea/**/shelf
.idea/**
# top-level IDE configuration - user specific contents
/.idea/**
# AWS User-specific
.ijwb/.idea/**/aws.xml

View File

@ -61,15 +61,15 @@ import (
)
type ProvisionWorkerRequest struct {
TaskId string `json:"taskId"`
ParentTaskId sql.NullString `json:"parentTaskId"`
Purpose string `json:"purpose"`
Arch string `json:"arch"`
TaskId string `json:"taskId"`
ParentTaskId sql.NullString `json:"parentTaskId"`
Purpose string `json:"purpose"`
Arch string `json:"arch"`
ImageArch string `json:"imageArch"`
BuildPoolType string `json:"buildPoolType"`
ProjectId string `json:"projectId"`
HighResource bool `json:"highResource"`
Privileged bool `json:"privileged"`
ProjectId string `json:"projectId"`
HighResource bool `json:"highResource"`
Privileged bool `json:"privileged"`
}
func archToGoArch(arch string) string {