Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Release/v1.16.21 #210

Merged
merged 58 commits into from
Jan 5, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
58 commits
Select commit Hold shift + click to select a range
71e7f7f
feat: cron job template field (#132) (#133)
vsukhin May 3, 2023
b1213c7
feat: deprecate args (#130)
vsukhin May 3, 2023
4224945
fix: upload variables file (#135)
vLia May 4, 2023
3306a20
add tests for develop branch (#136)
ypoplavs May 5, 2023
861c0ac
add check fir release branch (#137)
ypoplavs May 8, 2023
ffa9d74
comment out the automatic merge of release branch for now
ypoplavs May 10, 2023
8f9bb9d
fix release branch naming
ypoplavs May 10, 2023
bbb6fc0
fix typo
ypoplavs May 10, 2023
0222b15
fix path for goreleaser file
ypoplavs May 16, 2023
2f1e170
rename release branch (#142)
ypoplavs May 16, 2023
355e4bf
ci: parametrize alpine (#144)
ypoplavs May 25, 2023
b8c8300
fix: ttl for trigger condition (#143)
vsukhin May 25, 2023
4168152
ci: rename gh token var (#145)
ypoplavs May 25, 2023
5087440
fix: add missing var for alpine image for arm64 arch
ypoplavs May 26, 2023
1e9a3cf
fix: remove empty username and token (#147)
vsukhin May 26, 2023
e3870b0
ci: add docker registry description (#146)
ypoplavs May 26, 2023
86b5aba
ci: add workflow dispatch (#149)
ypoplavs May 31, 2023
eed35fe
fix: support external secrets for tests (#148)
vsukhin Jun 2, 2023
afea426
feat: webhook templlate and headers (#152)
vsukhin Jun 7, 2023
033b048
fix: secret check (#153)
vsukhin Jun 9, 2023
48fd2fa
feat: provide known condition types (#155)
vsukhin Jun 13, 2023
95faaa7
feat: parallel testsuite (#109)
vsukhin Jun 15, 2023
a2224e7
fix: remove run secrets as well (#139)
nicufk Jun 21, 2023
30d80e4
feat: postrun script (#156)
vsukhin Jun 22, 2023
89ba17b
ci: remove release branch creation in helm-charts repo (#157)
ypoplavs Jun 27, 2023
e416a8c
feat: probe conditions (#158)
vsukhin Jul 3, 2023
8815bd8
fix: don't remove non Testkube secrets (#160)
vsukhin Jul 6, 2023
bc8cd9f
feat: remove outdated description (#164)
vsukhin Jul 17, 2023
edf3c1d
fix: image registry (#166)
vsukhin Aug 7, 2023
071c677
feat: basic test execution crd (#165)
vsukhin Aug 11, 2023
9570ed2
fix: use go 1.21 (#169)
vsukhin Aug 16, 2023
870da6e
fix: context typo (#171)
vsukhin Aug 24, 2023
199e57e
feat: artifact bucket (#170)
vsukhin Aug 24, 2023
8fda604
feat: test field (#172)
vsukhin Aug 24, 2023
5c2e383
feat: template crd (#173)
vsukhin Sep 5, 2023
e93d866
feat: adjust uri descrription (#174)
vsukhin Sep 7, 2023
4d087b2
feat: trigger concurrency policy (#175)
vsukhin Sep 18, 2023
fe2d1f9
Added slaves field in executor CRD to add slaves configuration (#177)
hiteshwani Sep 26, 2023
785d106
feat: update operator to use latest kubebuilder layout (#178)
dejanzele Sep 27, 2023
688b0e1
fix invalid reference (#179)
dejanzele Sep 27, 2023
5fc2021
fix mocks (#180)
dejanzele Sep 27, 2023
457bf71
fix: make test fields optional (#181)
dejanzele Sep 27, 2023
aa5afde
feat: execute post run script before scraping field (#183)
vsukhin Oct 5, 2023
3ec1179
feat: regex field (#186)
vsukhin Oct 20, 2023
62a7951
fix: visibility for secrets (#187)
vsukhin Oct 20, 2023
11468a1
fix: back merge (#191)
vsukhin Oct 25, 2023
f61e073
feat: data dir as working dir (#192)
vsukhin Nov 2, 2023
c66d03d
feat: pass artifacts testsuite (#193)
vsukhin Nov 8, 2023
1f48caf
fix: correct downloading tools with Go 1.16+ (#195)
rangoo94 Nov 10, 2023
0a5b5ef
chore: rename default secret label (#196)
fivenp Nov 14, 2023
803ccbc
feat: support argo cd sync (#197)
vsukhin Nov 15, 2023
ab055e3
feat: slave pod spec (#199)
vsukhin Nov 27, 2023
0b0eb5b
feat: install controller-gen 0.8.0 (#202)
rangoo94 Nov 27, 2023
2fc74ce
chore: update dependencies to latest (#203)
dejanzele Nov 30, 2023
83394de
feat: add executor and webhook listers and informers [TKC-631] (#205)
vLia Dec 6, 2023
9c1a0e0
feat: step start and end time (#206)
vsukhin Dec 10, 2023
483fef2
feat: artifact enhancement (#207)
vsukhin Dec 14, 2023
6ed1233
Merge branch 'main' into Release/v1.16.21
vsukhin Jan 4, 2024
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
![Known Vulnerabilities](https://snyk.io/test/github/kubeshop/testkube-operator/badge.svg)

# testkube operator
# Testkube operator

This is the k8s operator for [testkube](https://github.com/kubeshop/testkube/) - your friendly Kubernetes testing framework!

Expand Down
20 changes: 19 additions & 1 deletion api/executor/v1/groupversion_info.go
Original file line number Diff line number Diff line change
Expand Up @@ -25,8 +25,26 @@ import (
)

var (
// Group represents the API Group
Group = "executor.testkube.io"

// Version represents the Resource version
Version = "v1"

// ExecutorResource corresponds to the CRD Kind
ExecutorResource = "Executor"

// WebhookResource corresponds to the CRD Kind
WebhookResource = "Webhook"

// GroupVersion is group version used to register these objects
GroupVersion = schema.GroupVersion{Group: "executor.testkube.io", Version: "v1"}
GroupVersion = schema.GroupVersion{Group: Group, Version: Version}

// ExecutorGroupVersionResource is group, version and resource used to register these objects
ExecutorGroupVersionResource = schema.GroupVersionResource{Group: Group, Version: Version, Resource: ExecutorResource}

// WebhookGroupVersionResource is group, version and resource used to register these objects
WebhookGroupVersionResource = schema.GroupVersionResource{Group: Group, Version: Version, Resource: WebhookResource}

// SchemeBuilder is used to add go types to the GroupVersionKind scheme
SchemeBuilder = &scheme.Builder{GroupVersion: GroupVersion}
Expand Down
4 changes: 4 additions & 0 deletions api/testexecution/v1/testexecution_types.go
Original file line number Diff line number Diff line change
Expand Up @@ -36,10 +36,14 @@ type ArtifactRequest struct {
VolumeMountPath string `json:"volumeMountPath"`
// artifact directories for scraping
Dirs []string `json:"dirs,omitempty"`
// regexp to filter scraped artifacts, single or comma separated
Masks []string `json:"masks,omitempty"`
// artifact bucket storage
StorageBucket string `json:"storageBucket,omitempty"`
// don't use a separate folder for execution artifacts
OmitFolderPerExecution bool `json:"omitFolderPerExecution,omitempty"`
// whether to share volume between pods
SharedBetweenPods bool `json:"sharedBetweenPods,omitempty"`
}

// running context for test or test suite execution
Expand Down
5 changes: 5 additions & 0 deletions api/testexecution/v1/zz_generated.deepcopy.go

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion api/tests/v1/groupversion_info.go
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ See the License for the specific language governing permissions and
limitations under the License.
*/

// Package v1 contains API Schema definitions for the test sources v1 API group
// Package v1 contains API Schema definitions for the tests v1 API group
// +kubebuilder:object:generate=true
// +groupName=tests.testkube.io
package v1
Expand Down
4 changes: 4 additions & 0 deletions api/tests/v3/test_types.go
Original file line number Diff line number Diff line change
Expand Up @@ -126,10 +126,14 @@ type ArtifactRequest struct {
VolumeMountPath string `json:"volumeMountPath,omitempty"`
// artifact directories for scraping
Dirs []string `json:"dirs,omitempty"`
// regexp to filter scraped artifacts, single or comma separated
Masks []string `json:"masks,omitempty"`
// artifact bucket storage
StorageBucket string `json:"storageBucket,omitempty"`
// don't use a separate folder for execution artifacts
OmitFolderPerExecution bool `json:"omitFolderPerExecution,omitempty"`
// whether to share volume between pods
SharedBetweenPods bool `json:"sharedBetweenPods,omitempty"`
}

// RunningContext for test or test suite execution
Expand Down
5 changes: 5 additions & 0 deletions api/tests/v3/zz_generated.deepcopy.go

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

14 changes: 13 additions & 1 deletion api/testsource/v1/groupversion_info.go
Original file line number Diff line number Diff line change
Expand Up @@ -25,8 +25,20 @@ import (
)

var (
// Group represents the API Group
Group = "tests.testkube.io"

// Version represents the Resource version
Version = "v1"

// Resource corresponds to the CRD Kind
Resource = "TestSource"

// GroupVersion is group version used to register these objects
GroupVersion = schema.GroupVersion{Group: "tests.testkube.io", Version: "v1"}
GroupVersion = schema.GroupVersion{Group: Group, Version: Version}

// GroupVersionResource is group, version and resource used to register these objects
GroupVersionResource = schema.GroupVersionResource{Group: Group, Version: Version, Resource: Resource}

// SchemeBuilder is used to add go types to the GroupVersionKind scheme
SchemeBuilder = &scheme.Builder{GroupVersion: GroupVersion}
Expand Down
2 changes: 2 additions & 0 deletions api/testsuite/v3/testsuite_types.go
Original file line number Diff line number Diff line change
Expand Up @@ -60,6 +60,8 @@ type DownloadArtifactOptions struct {
AllPreviousSteps bool `json:"allPreviousSteps,omitempty"`
// previous step numbers starting from 1
PreviousStepNumbers []int32 `json:"previousStepNumbers,omitempty"`
// previous test names
PreviousTestNames []string `json:"previousTestNames,omitempty"`
}

// TestSuiteBatchStep is set of steps run in parallel
Expand Down
5 changes: 5 additions & 0 deletions api/testsuite/v3/zz_generated.deepcopy.go

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

10 changes: 10 additions & 0 deletions api/testsuiteexecution/v1/testsuiteexecution_types.go
Original file line number Diff line number Diff line change
Expand Up @@ -290,10 +290,14 @@ type ArtifactRequest struct {
VolumeMountPath string `json:"volumeMountPath"`
// artifact directories for scraping
Dirs []string `json:"dirs,omitempty"`
// regexp to filter scraped artifacts, single or comma separated
Masks []string `json:"masks,omitempty"`
// artifact bucket storage
StorageBucket string `json:"storageBucket,omitempty"`
// don't use a separate folder for execution artifacts
OmitFolderPerExecution bool `json:"omitFolderPerExecution,omitempty"`
// whether to share volume between pods
SharedBetweenPods bool `json:"sharedBetweenPods,omitempty"`
}

// TestContent defines test content
Expand Down Expand Up @@ -412,6 +416,12 @@ const (
type TestSuiteBatchStepExecutionResult struct {
Step *TestSuiteBatchStep `json:"step,omitempty"`
Execute []TestSuiteStepExecutionResult `json:"execute,omitempty"`
// step start time
StartTime metav1.Time `json:"startTime,omitempty"`
// step end time
EndTime metav1.Time `json:"endTime,omitempty"`
// step duration
Duration string `json:"duration,omitempty"`
}

// set of steps run in parallel
Expand Down
7 changes: 7 additions & 0 deletions api/testsuiteexecution/v1/zz_generated.deepcopy.go

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

18 changes: 18 additions & 0 deletions config/crd/bases/tests.testkube.io_testexecutions.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -64,9 +64,18 @@ spec:
items:
type: string
type: array
masks:
description: regexp to filter scraped artifacts, single or
comma separated
items:
type: string
type: array
omitFolderPerExecution:
description: don't use a separate folder for execution artifacts
type: boolean
sharedBetweenPods:
description: whether to share volume between pods
type: boolean
storageBucket:
description: artifact bucket storage
type: string
Expand Down Expand Up @@ -431,9 +440,18 @@ spec:
items:
type: string
type: array
masks:
description: regexp to filter scraped artifacts, single or
comma separated
items:
type: string
type: array
omitFolderPerExecution:
description: don't use a separate folder for execution artifacts
type: boolean
sharedBetweenPods:
description: whether to share volume between pods
type: boolean
storageBucket:
description: artifact bucket storage
type: string
Expand Down
9 changes: 9 additions & 0 deletions config/crd/bases/tests.testkube.io_tests.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -462,9 +462,18 @@ spec:
items:
type: string
type: array
masks:
description: regexp to filter scraped artifacts, single or
comma separated
items:
type: string
type: array
omitFolderPerExecution:
description: don't use a separate folder for execution artifacts
type: boolean
sharedBetweenPods:
description: whether to share volume between pods
type: boolean
storageBucket:
description: artifact bucket storage
type: string
Expand Down
30 changes: 30 additions & 0 deletions config/crd/bases/tests.testkube.io_testsuiteexecutions.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -277,6 +277,13 @@ spec:
items:
description: execution result returned from executor
properties:
duration:
description: step duration
type: string
endTime:
description: step end time
format: date-time
type: string
execute:
items:
description: execution result returned from executor
Expand Down Expand Up @@ -304,10 +311,20 @@ spec:
items:
type: string
type: array
masks:
description: regexp to filter scraped artifacts,
single or comma separated
items:
type: string
type: array
omitFolderPerExecution:
description: don't use a separate folder for
execution artifacts
type: boolean
sharedBetweenPods:
description: whether to share volume between
pods
type: boolean
storageBucket:
description: artifact bucket storage
type: string
Expand Down Expand Up @@ -752,6 +769,10 @@ spec:
type: object
type: object
type: array
startTime:
description: step start time
format: date-time
type: string
step:
description: set of steps run in parallel
properties:
Expand Down Expand Up @@ -849,10 +870,19 @@ spec:
items:
type: string
type: array
masks:
description: regexp to filter scraped artifacts,
single or comma separated
items:
type: string
type: array
omitFolderPerExecution:
description: don't use a separate folder for execution
artifacts
type: boolean
sharedBetweenPods:
description: whether to share volume between pods
type: boolean
storageBucket:
description: artifact bucket storage
type: string
Expand Down
15 changes: 15 additions & 0 deletions config/crd/bases/tests.testkube.io_testsuites.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -576,6 +576,11 @@ spec:
format: int32
type: integer
type: array
previousTestNames:
description: previous test names
items:
type: string
type: array
type: object
execute:
items:
Expand Down Expand Up @@ -614,6 +619,11 @@ spec:
format: int32
type: integer
type: array
previousTestNames:
description: previous test names
items:
type: string
type: array
type: object
execute:
items:
Expand Down Expand Up @@ -818,6 +828,11 @@ spec:
format: int32
type: integer
type: array
previousTestNames:
description: previous test names
items:
type: string
type: array
type: object
execute:
items:
Expand Down
Loading
Loading