Skip to content

Commit

Permalink
fix(testworkflows): allow to pass service description (#268)
Browse files Browse the repository at this point in the history
  • Loading branch information
rangoo94 authored May 28, 2024
1 parent 7d3ddc7 commit 5e235fc
Show file tree
Hide file tree
Showing 3 changed files with 27 additions and 0 deletions.
3 changes: 3 additions & 0 deletions api/testworkflows/v1/service_types.go
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,9 @@ const (
type IndependentServiceSpec struct {
StepExecuteStrategy `json:",inline" expr:"include"`

// service description to display
Description string `json:"description,omitempty" expr:"template"`

// should save logs for the service (false if not specified)
Logs *string `json:"logs,omitempty" expr:"expression"`

Expand Down
12 changes: 12 additions & 0 deletions config/crd/bases/testworkflows.testkube.io_testworkflows.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -2158,6 +2158,9 @@ spec:
- type: string
description: static number of sharded instances to spawn
x-kubernetes-int-or-string: true
description:
description: service description to display
type: string
env:
description: environment variables to append to the container
items:
Expand Down Expand Up @@ -3892,6 +3895,9 @@ spec:
- type: string
description: static number of sharded instances to spawn
x-kubernetes-int-or-string: true
description:
description: service description to display
type: string
env:
description: environment variables to append to the container
items:
Expand Down Expand Up @@ -6642,6 +6648,9 @@ spec:
- type: string
description: static number of sharded instances to spawn
x-kubernetes-int-or-string: true
description:
description: service description to display
type: string
env:
description: environment variables to append to the container
items:
Expand Down Expand Up @@ -9447,6 +9456,9 @@ spec:
- type: string
description: static number of sharded instances to spawn
x-kubernetes-int-or-string: true
description:
description: service description to display
type: string
env:
description: environment variables to append to the container
items:
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -2141,6 +2141,9 @@ spec:
- type: string
description: static number of sharded instances to spawn
x-kubernetes-int-or-string: true
description:
description: service description to display
type: string
env:
description: environment variables to append to the container
items:
Expand Down Expand Up @@ -3818,6 +3821,9 @@ spec:
- type: string
description: static number of sharded instances to spawn
x-kubernetes-int-or-string: true
description:
description: service description to display
type: string
env:
description: environment variables to append to the container
items:
Expand Down Expand Up @@ -6531,6 +6537,9 @@ spec:
- type: string
description: static number of sharded instances to spawn
x-kubernetes-int-or-string: true
description:
description: service description to display
type: string
env:
description: environment variables to append to the container
items:
Expand Down Expand Up @@ -9262,6 +9271,9 @@ spec:
- type: string
description: static number of sharded instances to spawn
x-kubernetes-int-or-string: true
description:
description: service description to display
type: string
env:
description: environment variables to append to the container
items:
Expand Down

0 comments on commit 5e235fc

Please sign in to comment.