comment out
Some checks failed
E2E Tests / Run on Ubuntu (push) Failing after 46s
Build images / Run lint test (push) Failing after 6m18s
Lint / Run on Ubuntu (push) Failing after 11m13s
Build images / Run unit test (push) Successful in 16m0s
Tests / Run on Ubuntu (push) Successful in 16m1s
Build images / Run e2e tests (push) Failing after 17m43s
Build images / Build docker image (push) Has been skipped
Some checks failed
E2E Tests / Run on Ubuntu (push) Failing after 46s
Build images / Run lint test (push) Failing after 6m18s
Lint / Run on Ubuntu (push) Failing after 11m13s
Build images / Run unit test (push) Successful in 16m0s
Tests / Run on Ubuntu (push) Successful in 16m1s
Build images / Run e2e tests (push) Failing after 17m43s
Build images / Build docker image (push) Has been skipped
This commit is contained in:
@@ -37,167 +37,85 @@ spec:
|
||||
metadata:
|
||||
type: object
|
||||
spec:
|
||||
description: LocustClusterSpec defines the desired state of LocustCluster
|
||||
properties:
|
||||
infrastructure:
|
||||
items:
|
||||
properties:
|
||||
endpoint:
|
||||
type: string
|
||||
prometheusEndpoint:
|
||||
type: string
|
||||
prometheusJobName:
|
||||
type: string
|
||||
prometheusPort:
|
||||
type: integer
|
||||
required:
|
||||
- endpoint
|
||||
type: object
|
||||
type: array
|
||||
leader:
|
||||
properties:
|
||||
download:
|
||||
properties:
|
||||
bucket:
|
||||
type: string
|
||||
filename:
|
||||
type: string
|
||||
required:
|
||||
- bucket
|
||||
- filename
|
||||
type: object
|
||||
image:
|
||||
type: string
|
||||
leaderFile:
|
||||
type: string
|
||||
priorityClass:
|
||||
type: string
|
||||
resources:
|
||||
properties:
|
||||
maxCpu:
|
||||
type: string
|
||||
maxMem:
|
||||
type: string
|
||||
minCpu:
|
||||
type: string
|
||||
minMem:
|
||||
type: string
|
||||
type: object
|
||||
type: object
|
||||
metrics:
|
||||
properties:
|
||||
mosaic:
|
||||
properties:
|
||||
grafanaEndpoint:
|
||||
type: string
|
||||
groupEmail:
|
||||
type: string
|
||||
mtls:
|
||||
type: boolean
|
||||
nameSpace:
|
||||
type: string
|
||||
prometheusTag:
|
||||
type: string
|
||||
publishing_endpoint:
|
||||
type: string
|
||||
workSpace:
|
||||
type: string
|
||||
required:
|
||||
- groupEmail
|
||||
- nameSpace
|
||||
- prometheusTag
|
||||
- workSpace
|
||||
type: object
|
||||
type: object
|
||||
secrets:
|
||||
items:
|
||||
properties:
|
||||
secretKeys:
|
||||
items:
|
||||
properties:
|
||||
secretKey:
|
||||
type: string
|
||||
required:
|
||||
- secretKey
|
||||
type: object
|
||||
type: array
|
||||
secretName:
|
||||
type: string
|
||||
required:
|
||||
- secretKeys
|
||||
- secretName
|
||||
type: object
|
||||
type: array
|
||||
worker:
|
||||
properties:
|
||||
clients:
|
||||
type: integer
|
||||
hatchRate:
|
||||
type: integer
|
||||
nodes:
|
||||
type: integer
|
||||
priorityClass:
|
||||
type: string
|
||||
resources:
|
||||
properties:
|
||||
maxCpu:
|
||||
type: string
|
||||
maxMem:
|
||||
type: string
|
||||
minCpu:
|
||||
type: string
|
||||
minMem:
|
||||
type: string
|
||||
type: object
|
||||
scenarioName:
|
||||
type: string
|
||||
testContainer:
|
||||
type: string
|
||||
testLanguage:
|
||||
type: string
|
||||
testPath:
|
||||
type: string
|
||||
tests:
|
||||
items:
|
||||
properties:
|
||||
env:
|
||||
items:
|
||||
properties:
|
||||
name:
|
||||
type: string
|
||||
value:
|
||||
type: string
|
||||
required:
|
||||
- name
|
||||
- value
|
||||
type: object
|
||||
type: array
|
||||
runTime:
|
||||
type: string
|
||||
testCommand:
|
||||
items:
|
||||
type: string
|
||||
type: array
|
||||
testName:
|
||||
type: string
|
||||
required:
|
||||
- runTime
|
||||
- testName
|
||||
type: object
|
||||
type: array
|
||||
required:
|
||||
- clients
|
||||
- hatchRate
|
||||
- nodes
|
||||
- scenarioName
|
||||
- testContainer
|
||||
- testLanguage
|
||||
- testPath
|
||||
- tests
|
||||
type: object
|
||||
required:
|
||||
- metrics
|
||||
- worker
|
||||
description: |-
|
||||
LocustClusterSpec defines the desired state of LocustCluster.
|
||||
|
||||
type ResourcesSpec struct {
|
||||
MaxCpu string `json:"maxCpu,omitempty" protobuf:"bytes,1,name=maxCpu"`
|
||||
MinCpu string `json:"minCpu,omitempty" protobuf:"bytes,2,name=minCpu"`
|
||||
MaxMem string `json:"maxMem,omitempty" protobuf:"bytes,3,name=maxMem"`
|
||||
MinMem string `json:"minMem,omitempty" protobuf:"bytes,4,name=minMem"`
|
||||
}
|
||||
|
||||
type LeaderSpec struct {
|
||||
TestFile string `json:"leaderFile,omitempty" protobuf:"bytes,1,name=leaderFile"`
|
||||
PriorityClass string `json:"priorityClass,omitempty" protobuf:"bytes,2,name=priorityClass"`
|
||||
Download LeaderDownloadSpec `json:"download,omitempty" protobuf:"bytes,3,rep,name=download"`
|
||||
Resources ResourcesSpec `json:"resources,omitempty" protobuf:"bytes,4,rep,name=resources"`
|
||||
Image string `json:"image,omitempty" protobuf:"bytes,5,name=image"`
|
||||
}
|
||||
|
||||
type LeaderDownloadSpec struct {
|
||||
Bucket string `json:"bucket" protobuf:"bytes,1,name=bucket"`
|
||||
Filename string `json:"filename" protobuf:"bytes,2,name=filename"`
|
||||
}
|
||||
|
||||
type WorkerEnv struct {
|
||||
Name string `json:"name" protobuf:"bytes,1,name=name"`
|
||||
Value string `json:"value" protobuf:"bytes,2,name=value"`
|
||||
}
|
||||
|
||||
type TestsSpecs struct {
|
||||
TestName string `json:"testName" protobuf:"bytes,1,name=testName"`
|
||||
RunTime string `json:"runTime" protobuf:"bytes,2,name=runTime"`
|
||||
TestSettings []WorkerEnv `json:"env,omitempty" protobuf:"bytes,3,rep,name=env"`
|
||||
TestCommand []string `json:"testCommand,omitempty" protobuf:"bytes,4,name=testCommand"`
|
||||
}
|
||||
|
||||
type WorkerSpec struct {
|
||||
HatchRate int `json:"hatchRate" protobuf:"varint,1,name=hatchRate"`
|
||||
TestContainer string `json:"testContainer" protobuf:"bytes,2,name=testContainer"`
|
||||
ScenarioName string `json:"scenarioName" protobuf:"bytes,3,name=scenarioName"`
|
||||
TestLanguage string `json:"testLanguage" protobuf:"bytes,4,name=testLanguage"`
|
||||
TestPath string `json:"testPath" protobuf:"bytes,5,name=testPath"`
|
||||
Tests []TestsSpecs `json:"tests" protobuf:"bytes,6,rep,name=tests"`
|
||||
Clients int `json:"clients" protobuf:"varint,7,name=clients"`
|
||||
Nodes int `json:"nodes" protobuf:"varint,8,name=nodes"`
|
||||
PriorityClass string `json:"priorityClass,omitempty" protobuf:"bytes,9,name=priorityClass"`
|
||||
Resources ResourcesSpec `json:"resources,omitempty" protobuf:"bytes,10,rep,name=resources"`
|
||||
}
|
||||
|
||||
type MosaicSpec struct {
|
||||
WorkSpace string `json:"workSpace" protobuf:"bytes,1,name=workSpace"`
|
||||
NameSpace string `json:"nameSpace" protobuf:"bytes,2,name=nameSpace"`
|
||||
PublishingEndpoint string `json:"publishing_endpoint,omitempty" protobuf:"bytes,3,name=publishingEndpoint"`
|
||||
Mtls bool `json:"mtls,omitempty" protobuf:"bool,4,name=mtls"`
|
||||
PrometheusTag string `json:"prometheusTag" protobuf:"bytes,3,name=prometheusTag"`
|
||||
GroupEmail string `json:"groupEmail" protobuf:"bytes,4,name=groupEmail"`
|
||||
GrafanaEndpoint string `json:"grafanaEndpoint,omitempty" protobuf:"bytes,5,name=grafanaEndpoint"`
|
||||
}
|
||||
|
||||
type MetricsSpec struct {
|
||||
Mosaic MosaicSpec `json:"mosaic,omitempty" protobuf:"bytes,1,rep,name=mosaic"`
|
||||
}
|
||||
|
||||
type InfrastructureSpec struct {
|
||||
Endpoint string `json:"endpoint" protobuf:"bytes,1,name=endpoint"`
|
||||
PrometheusJobName string `json:"prometheusJobName,omitempty" protobuf:"bytes,2,name=prometheusJobName"`
|
||||
PrometheusPort int `json:"prometheusPort,omitempty" protobuf:"varint,3,name=prometheusPort"`
|
||||
PrometheusEndpoint string `json:"prometheusEndpoint,omitempty" protobuf:"bytes,4,name=prometheusEndpoint"`
|
||||
}
|
||||
|
||||
type SecretsKeys struct {
|
||||
SecretKey string `json:"secretKey" protobuf:"bytes,1,name=secretKey"`
|
||||
}
|
||||
|
||||
type SecretsSpec struct {
|
||||
SecretName string `json:"secretName" protobuf:"bytes,1,name=secretName"`
|
||||
SecretsKeys []SecretsKeys `json:"secretKeys" protobuf:"bytes,2,name=secretKeys"`
|
||||
}
|
||||
|
||||
LocustClusterSpec defines the desired state of LocustCluster
|
||||
type: object
|
||||
status:
|
||||
description: LocustClusterStatus defines the observed state of LocustCluster.
|
||||
|
||||
Reference in New Issue
Block a user