Skip to content

Commit

Permalink
feat: Release/v1.16.11 (#204)
Browse files Browse the repository at this point in the history
* feat: cron job template field (#132) (#133)

* feat: cron job template field

* fix: dep update

* feat: deprecate args (#130)

* feat: add args mode

* fix: add args mode type

* fix: change artifact support

* fix: upload variables file (#135)

* add tests for develop branch (#136)

* add check fir release branch (#137)

* comment out the automatic merge of release branch for now

* fix release branch naming

* fix typo

* fix path for goreleaser file

* rename release branch (#142)

* ci: parametrize alpine (#144)

* parametrize alpine image

* fix: ttl for trigger condition (#143)

* ci: rename gh token var (#145)

* rename gh token var

* fix: add missing var for alpine image for arm64 arch

* fix: remove empty username and token (#147)

* ci: add docker registry description (#146)

* ci: add GH action to update readme for Docker registry

* ci: add workflow dispatch (#149)

* fix: support external secrets for tests (#148)

* fix: support external secrets for tests

* fix: support external secrets for test suite

* fix: rename interface method

* fix: test mock

* feat: webhook templlate and headers (#152)

* feat: webhook templlate and headers

* fix: description typo

* fix: secret check (#153)

* fix: secret check

* fix: remove wrong condition

* feat: provide known condition types (#155)

* feat: provide known condition types

* fix: rename util method

* feat: parallel testsuite (#109)

* feat: test suite v3

* feat: test suite v3 client and watcher

* fix: dep update

* Update config/crd/bases/tests.testkube.io_tests.yaml

Co-authored-by: nicufk <[email protected]>

* fix: conversion typo

* fix: test suite v3 sample

* fix: use proper informer version

* fix: v3 informer

* fix: typo func name

* add a separate workflow to test parallel testsuite images

* add a separate workflow to test parallel testsuite images

* fix: typo test suite version

* fix: make steps optional

* fix: sync recent changes

* fix: solve merge errors

* fix: rename fields

* fix: tune crd fields

* fix: rename vars and methods

* fix: refresh mock

* fix: rename vars

* fix: duration format

* fix: change test suite step object

* fix: secret var check

* fix: modify test suite example v3

* fix: update delay type

---------

Co-authored-by: nicufk <[email protected]>
Co-authored-by: ypoplavs <[email protected]>

* fix: remove run secrets as well (#139)

debug

fix: on deletion do not quit if something related to test could not be deleted, put in a single error

fix: remove logging and improve errors

fix: delete dependency error and delete test first

* feat: postrun script (#156)

* fix: post run scipt model

* fix: add postrun script to crd

* ci: remove release branch creation in helm-charts repo (#157)

* feat: probe conditions (#158)

* feat: probe spec model

* feat: test trigger crd with probes

* fix: refactor probe definition

* fix: unit tests

* fix: don't remove non Testkube secrets (#160)

* feat: remove outdated description (#164)

* fix: image registry (#166)

* feat: basic test execution crd (#165)

* feat: basic test execution crd

* feat: test execution CRD spec

* fix: test execution client

* fix: remove output

* fix: update status method

* fix: update get method

* feat: test execution reconciler

* fix: url port

* fix: test name

* fix: ignore status update

* feat: test suite execution core

* feat: test suite execution crd

* feat: add unit tests

* fix: test status

* fix: remove not used structure

* fix: api url typo

* fix: running context

* fix: generation field

* fix: remove unused fields

* fix: examples

* fix: use go 1.21 (#169)

* fix: context typo (#171)

* feat: artifact bucket (#170)

* feat: artifact bucket

* fix: generate

* fix: rename field

* feat: test field (#172)

* feat: test field

* fix: tags

* feat: template crd (#173)

* featL template crd

* feat: add delete by labels

* feat: use cronjob reference

* fix: add warnings

* fix: error message

* feat: adjust uri descrription (#174)

* feat: adjust uri descrription

* fix: adjust header description

* feat: trigger concurrency policy (#175)

* feat: trigger concurrency policy

* fix: make policy optional

* fix: policy validation

* Added slaves field in executor CRD to add slaves configuration (#177)

* Added slaves field in executor CRD to add slaves configuration

Signed-off-by: hiteshwani <[email protected]>

* Discard changes

Signed-off-by: hiteshwani <[email protected]>

* Fixed trivial review comments

Signed-off-by: Aman Parauliya <[email protected]>

---------

Signed-off-by: hiteshwani <[email protected]>
Signed-off-by: Aman Parauliya <[email protected]>
Co-authored-by: Aman Parauliya <[email protected]>

* feat: update operator to use latest kubebuilder layout (#178)

* update operator to use latest kubebuilder layout

* update dependencies

* update dependencies

* remove some unused fields from CRDs

* fix failing test

* fix invalid reference (#179)

* fix mocks (#180)

* fix: make test fields optional (#181)

* feat: execute post run script before scraping field (#183)

* feat: execute post run script before scraping field

* fix: pragma

* feat: regex field (#186)

* feat: regex field

* fix: validate regex

* fix: visibility for secrets (#187)

* fix: back merge (#191)

* feat: cron job template field (#132)

* feat: cron job template field

* fix: dep update

* Revert "feat: cron job template field (#132)" (#134)

This reverts commit 48422d5.

* add check for release branch (#138)

* commented automatic merge of release branch for now

* fix release branch naming

* fix typo

* fix: upload variables file (#135) (#140)

* fix path in goreleaser

* ci: rename release branch (#141)

ci: rename release branch

* ci: parametrize alpine (#144)

* parametrize alpine image

* ci: rename gh token var (#145)

* rename gh token var

* fix: add missing var for alpine image for arm64 arch

* ci: add docker registry description (#146)

* ci: add GH action to update readme for Docker registry

* ci: add workflow dispatch (#149)

* Release/v1.12.0 (#150)

* feat: cron job template field (#132) (#133)

* feat: cron job template field

* fix: dep update

* feat: deprecate args (#130)

* feat: add args mode

* fix: add args mode type

* fix: change artifact support

* fix: upload variables file (#135)

* add tests for develop branch (#136)

* add check fir release branch (#137)

* comment out the automatic merge of release branch for now

* fix release branch naming

* fix typo

* fix path for goreleaser file

* rename release branch (#142)

* ci: parametrize alpine (#144)

* parametrize alpine image

* fix: ttl for trigger condition (#143)

* ci: rename gh token var (#145)

* rename gh token var

* fix: add missing var for alpine image for arm64 arch

* fix: remove empty username and token (#147)

* ci: add docker registry description (#146)

* ci: add GH action to update readme for Docker registry

* ci: add workflow dispatch (#149)

---------

Co-authored-by: Lilla Vass <[email protected]>
Co-authored-by: ypoplavs <[email protected]>
Co-authored-by: ypoplavs <[email protected]>

* fix: support external secrets (#151)

* fix: secret check (#153) (#154)

* fix: secret check

* fix: remove wrong condition

* ci: remove release branch creation in helm-charts repo (#157)

* Release/v1.13.0 (#161)

* feat: cron job template field (#132) (#133)

* feat: cron job template field

* fix: dep update

* feat: deprecate args (#130)

* feat: add args mode

* fix: add args mode type

* fix: change artifact support

* fix: upload variables file (#135)

* add tests for develop branch (#136)

* add check fir release branch (#137)

* comment out the automatic merge of release branch for now

* fix release branch naming

* fix typo

* fix path for goreleaser file

* rename release branch (#142)

* ci: parametrize alpine (#144)

* parametrize alpine image

* fix: ttl for trigger condition (#143)

* ci: rename gh token var (#145)

* rename gh token var

* fix: add missing var for alpine image for arm64 arch

* fix: remove empty username and token (#147)

* ci: add docker registry description (#146)

* ci: add GH action to update readme for Docker registry

* ci: add workflow dispatch (#149)

* fix: support external secrets for tests (#148)

* fix: support external secrets for tests

* fix: support external secrets for test suite

* fix: rename interface method

* fix: test mock

* feat: webhook templlate and headers (#152)

* feat: webhook templlate and headers

* fix: description typo

* fix: secret check (#153)

* fix: secret check

* fix: remove wrong condition

* feat: provide known condition types (#155)

* feat: provide known condition types

* fix: rename util method

* feat: parallel testsuite (#109)

* feat: test suite v3

* feat: test suite v3 client and watcher

* fix: dep update

* Update config/crd/bases/tests.testkube.io_tests.yaml

Co-authored-by: nicufk <[email protected]>

* fix: conversion typo

* fix: test suite v3 sample

* fix: use proper informer version

* fix: v3 informer

* fix: typo func name

* add a separate workflow to test parallel testsuite images

* add a separate workflow to test parallel testsuite images

* fix: typo test suite version

* fix: make steps optional

* fix: sync recent changes

* fix: solve merge errors

* fix: rename fields

* fix: tune crd fields

* fix: rename vars and methods

* fix: refresh mock

* fix: rename vars

* fix: duration format

* fix: change test suite step object

* fix: secret var check

* fix: modify test suite example v3

* fix: update delay type

---------

Co-authored-by: nicufk <[email protected]>
Co-authored-by: ypoplavs <[email protected]>

* fix: remove run secrets as well (#139)

debug

fix: on deletion do not quit if something related to test could not be deleted, put in a single error

fix: remove logging and improve errors

fix: delete dependency error and delete test first

* feat: postrun script (#156)

* fix: post run scipt model

* fix: add postrun script to crd

* ci: remove release branch creation in helm-charts repo (#157)

* fix: don't remove non Testkube secrets (#160)

---------

Co-authored-by: Lilla Vass <[email protected]>
Co-authored-by: ypoplavs <[email protected]>
Co-authored-by: ypoplavs <[email protected]>
Co-authored-by: nicufk <[email protected]>

* fix: image registry (#166) (#167)

* feat: Release/v1.14.0 (#168)

* feat: cron job template field (#132) (#133)

* feat: cron job template field

* fix: dep update

* feat: deprecate args (#130)

* feat: add args mode

* fix: add args mode type

* fix: change artifact support

* fix: upload variables file (#135)

* add tests for develop branch (#136)

* add check fir release branch (#137)

* comment out the automatic merge of release branch for now

* fix release branch naming

* fix typo

* fix path for goreleaser file

* rename release branch (#142)

* ci: parametrize alpine (#144)

* parametrize alpine image

* fix: ttl for trigger condition (#143)

* ci: rename gh token var (#145)

* rename gh token var

* fix: add missing var for alpine image for arm64 arch

* fix: remove empty username and token (#147)

* ci: add docker registry description (#146)

* ci: add GH action to update readme for Docker registry

* ci: add workflow dispatch (#149)

* fix: support external secrets for tests (#148)

* fix: support external secrets for tests

* fix: support external secrets for test suite

* fix: rename interface method

* fix: test mock

* feat: webhook templlate and headers (#152)

* feat: webhook templlate and headers

* fix: description typo

* fix: secret check (#153)

* fix: secret check

* fix: remove wrong condition

* feat: provide known condition types (#155)

* feat: provide known condition types

* fix: rename util method

* feat: parallel testsuite (#109)

* feat: test suite v3

* feat: test suite v3 client and watcher

* fix: dep update

* Update config/crd/bases/tests.testkube.io_tests.yaml

Co-authored-by: nicufk <[email protected]>

* fix: conversion typo

* fix: test suite v3 sample

* fix: use proper informer version

* fix: v3 informer

* fix: typo func name

* add a separate workflow to test parallel testsuite images

* add a separate workflow to test parallel testsuite images

* fix: typo test suite version

* fix: make steps optional

* fix: sync recent changes

* fix: solve merge errors

* fix: rename fields

* fix: tune crd fields

* fix: rename vars and methods

* fix: refresh mock

* fix: rename vars

* fix: duration format

* fix: change test suite step object

* fix: secret var check

* fix: modify test suite example v3

* fix: update delay type

---------

Co-authored-by: nicufk <[email protected]>
Co-authored-by: ypoplavs <[email protected]>

* fix: remove run secrets as well (#139)

debug

fix: on deletion do not quit if something related to test could not be deleted, put in a single error

fix: remove logging and improve errors

fix: delete dependency error and delete test first

* feat: postrun script (#156)

* fix: post run scipt model

* fix: add postrun script to crd

* ci: remove release branch creation in helm-charts repo (#157)

* feat: probe conditions (#158)

* feat: probe spec model

* feat: test trigger crd with probes

* fix: refactor probe definition

* fix: unit tests

* fix: don't remove non Testkube secrets (#160)

* feat: remove outdated description (#164)

* fix: image registry (#166)

* feat: basic test execution crd (#165)

* feat: basic test execution crd

* feat: test execution CRD spec

* fix: test execution client

* fix: remove output

* fix: update status method

* fix: update get method

* feat: test execution reconciler

* fix: url port

* fix: test name

* fix: ignore status update

* feat: test suite execution core

* feat: test suite execution crd

* feat: add unit tests

* fix: test status

* fix: remove not used structure

* fix: api url typo

* fix: running context

* fix: generation field

* fix: remove unused fields

* fix: examples

* fix: use go 1.21 (#169)

* fix: context typo (#171)

---------

Co-authored-by: Lilla Vass <[email protected]>
Co-authored-by: ypoplavs <[email protected]>
Co-authored-by: ypoplavs <[email protected]>
Co-authored-by: nicufk <[email protected]>

* feat: Release/v1.15.0 (#184)

* feat: cron job template field (#132) (#133)

* feat: cron job template field

* fix: dep update

* feat: deprecate args (#130)

* feat: add args mode

* fix: add args mode type

* fix: change artifact support

* fix: upload variables file (#135)

* add tests for develop branch (#136)

* add check fir release branch (#137)

* comment out the automatic merge of release branch for now

* fix release branch naming

* fix typo

* fix path for goreleaser file

* rename release branch (#142)

* ci: parametrize alpine (#144)

* parametrize alpine image

* fix: ttl for trigger condition (#143)

* ci: rename gh token var (#145)

* rename gh token var

* fix: add missing var for alpine image for arm64 arch

* fix: remove empty username and token (#147)

* ci: add docker registry description (#146)

* ci: add GH action to update readme for Docker registry

* ci: add workflow dispatch (#149)

* fix: support external secrets for tests (#148)

* fix: support external secrets for tests

* fix: support external secrets for test suite

* fix: rename interface method

* fix: test mock

* feat: webhook templlate and headers (#152)

* feat: webhook templlate and headers

* fix: description typo

* fix: secret check (#153)

* fix: secret check

* fix: remove wrong condition

* feat: provide known condition types (#155)

* feat: provide known condition types

* fix: rename util method

* feat: parallel testsuite (#109)

* feat: test suite v3

* feat: test suite v3 client and watcher

* fix: dep update

* Update config/crd/bases/tests.testkube.io_tests.yaml

Co-authored-by: nicufk <[email protected]>

* fix: conversion typo

* fix: test suite v3 sample

* fix: use proper informer version

* fix: v3 informer

* fix: typo func name

* add a separate workflow to test parallel testsuite images

* add a separate workflow to test parallel testsuite images

* fix: typo test suite version

* fix: make steps optional

* fix: sync recent changes

* fix: solve merge errors

* fix: rename fields

* fix: tune crd fields

* fix: rename vars and methods

* fix: refresh mock

* fix: rename vars

* fix: duration format

* fix: change test suite step object

* fix: secret var check

* fix: modify test suite example v3

* fix: update delay type

---------

Co-authored-by: nicufk <[email protected]>
Co-authored-by: ypoplavs <[email protected]>

* fix: remove run secrets as well (#139)

debug

fix: on deletion do not quit if something related to test could not be deleted, put in a single error

fix: remove logging and improve errors

fix: delete dependency error and delete test first

* feat: postrun script (#156)

* fix: post run scipt model

* fix: add postrun script to crd

* ci: remove release branch creation in helm-charts repo (#157)

* feat: probe conditions (#158)

* feat: probe spec model

* feat: test trigger crd with probes

* fix: refactor probe definition

* fix: unit tests

* fix: don't remove non Testkube secrets (#160)

* feat: remove outdated description (#164)

* fix: image registry (#166)

* feat: basic test execution crd (#165)

* feat: basic test execution crd

* feat: test execution CRD spec

* fix: test execution client

* fix: remove output

* fix: update status method

* fix: update get method

* feat: test execution reconciler

* fix: url port

* fix: test name

* fix: ignore status update

* feat: test suite execution core

* feat: test suite execution crd

* feat: add unit tests

* fix: test status

* fix: remove not used structure

* fix: api url typo

* fix: running context

* fix: generation field

* fix: remove unused fields

* fix: examples

* fix: use go 1.21 (#169)

* fix: context typo (#171)

* feat: artifact bucket (#170)

* feat: artifact bucket

* fix: generate

* fix: rename field

* feat: test field (#172)

* feat: test field

* fix: tags

* feat: template crd (#173)

* featL template crd

* feat: add delete by labels

* feat: use cronjob reference

* fix: add warnings

* fix: error message

* feat: adjust uri descrription (#174)

* feat: adjust uri descrription

* fix: adjust header description

* feat: trigger concurrency policy (#175)

* feat: trigger concurrency policy

* fix: make policy optional

* fix: policy validation

* Added slaves field in executor CRD to add slaves configuration (#177)

* Added slaves field in executor CRD to add slaves configuration

Signed-off-by: hiteshwani <[email protected]>

* Discard changes

Signed-off-by: hiteshwani <[email protected]>

* Fixed trivial review comments

Signed-off-by: Aman Parauliya <[email protected]>

---------

Signed-off-by: hiteshwani <[email protected]>
Signed-off-by: Aman Parauliya <[email protected]>
Co-authored-by: Aman Parauliya <[email protected]>

* feat: update operator to use latest kubebuilder layout (#178)

* update operator to use latest kubebuilder layout

* update dependencies

* update dependencies

* remove some unused fields from CRDs

* fix failing test

* fix invalid reference (#179)

* fix mocks (#180)

* fix: make test fields optional (#181)

* feat: execute post run script before scraping field (#183)

* feat: execute post run script before scraping field

* fix: pragma

* fix: resolve conflicts with main (#185)

* feat: cron job template field (#132)

* feat: cron job template field

* fix: dep update

* Revert "feat: cron job template field (#132)" (#134)

This reverts commit 48422d5.

* add check for release branch (#138)

* commented automatic merge of release branch for now

* fix release branch naming

* fix typo

* fix: upload variables file (#135) (#140)

* fix path in goreleaser

* ci: rename release branch (#141)

ci: rename release branch

* ci: parametrize alpine (#144)

* parametrize alpine image

* ci: rename gh token var (#145)

* rename gh token var

* fix: add missing var for alpine image for arm64 arch

* ci: add docker registry description (#146)

* ci: add GH action to update readme for Docker registry

* ci: add workflow dispatch (#149)

* Release/v1.12.0 (#150)

* feat: cron job template field (#132) (#133)

* feat: cron job template field

* fix: dep update

* feat: deprecate args (#130)

* feat: add args mode

* fix: add args mode type

* fix: change artifact support

* fix: upload variables file (#135)

* add tests for develop branch (#136)

* add check fir release branch (#137)

* comment out the automatic merge of release branch for now

* fix release branch naming

* fix typo

* fix path for goreleaser file

* rename release branch (#142)

* ci: parametrize alpine (#144)

* parametrize alpine image

* fix: ttl for trigger condition (#143)

* ci: rename gh token var (#145)

* rename gh token var

* fix: add missing var for alpine image for arm64 arch

* fix: remove empty username and token (#147)

* ci: add docker registry description (#146)

* ci: add GH action to update readme for Docker registry

* ci: add workflow dispatch (#149)

---------

Co-authored-by: Lilla Vass <[email protected]>
Co-authored-by: ypoplavs <[email protected]>
Co-authored-by: ypoplavs <[email protected]>

* fix: support external secrets (#151)

* fix: secret check (#153) (#154)

* fix: secret check

* fix: remove wrong condition

* ci: remove release branch creation in helm-charts repo (#157)

* Release/v1.13.0 (#161)

* feat: cron job template field (#132) (#133)

* feat: cron job template field

* fix: dep update

* feat: deprecate args (#130)

* feat: add args mode

* fix: add args mode type

* fix: change artifact support

* fix: upload variables file (#135)

* add tests for develop branch (#136)

* add check fir release branch (#137)

* comment out the automatic merge of release branch for now

* fix release branch naming

* fix typo

* fix path for goreleaser file

* rename release branch (#142)

* ci: parametrize alpine (#144)

* parametrize alpine image

* fix: ttl for trigger condition (#143)

* ci: rename gh token var (#145)

* rename gh token var

* fix: add missing var for alpine image for arm64 arch

* fix: remove empty username and token (#147)

* ci: add docker registry description (#146)

* ci: add GH action to update readme for Docker registry

* ci: add workflow dispatch (#149)

* fix: support external secrets for tests (#148)

* fix: support external secrets for tests

* fix: support external secrets for test suite

* fix: rename interface method

* fix: test mock

* feat: webhook templlate and headers (#152)

* feat: webhook templlate and headers

* fix: description typo

* fix: secret check (#153)

* fix: secret check

* fix: remove wrong condition

* feat: provide known condition types (#155)

* feat: provide known condition types

* fix: rename util method

* feat: parallel testsuite (#109)

* feat: test suite v3

* feat: test suite v3 client and watcher

* fix: dep update

* Update config/crd/bases/tests.testkube.io_tests.yaml

Co-authored-by: nicufk <[email protected]>

* fix: conversion typo

* fix: test suite v3 sample

* fix: use proper informer version

* fix: v3 informer

* fix: typo func name

* add a separate workflow to test parallel testsuite images

* add a separate workflow to test parallel testsuite images

* fix: typo test suite version

* fix: make steps optional

* fix: sync recent changes

* fix: solve merge errors

* fix: rename fields

* fix: tune crd fields

* fix: rename vars and methods

* fix: refresh mock

* fix: rename vars

* fix: duration format

* fix: change test suite step object

* fix: secret var check

* fix: modify test suite example v3

* fix: update delay type

---------

Co-authored-by: nicufk <[email protected]>
Co-authored-by: ypoplavs <[email protected]>

* fix: remove run secrets as well (#139)

debug

fix: on deletion do not quit if something related to test could not be deleted, put in a single error

fix: remove logging and improve errors

fix: delete dependency error and delete test first

* feat: postrun script (#156)

* fix: post run scipt model

* fix: add postrun script to crd

* ci: remove release branch creation in helm-charts repo (#157)

* fix: don't remove non Testkube secrets (#160)

---------

Co-authored-by: Lilla Vass <[email protected]>
Co-authored-by: ypoplavs <[email protected]>
Co-authored-by: ypoplavs <[email protected]>
Co-authored-by: nicufk <[email protected]>

* fix: image registry (#166) (#167)

* feat: Release/v1.14.0 (#168)

* feat: cron job template field (#132) (#133)

* feat: cron job template field

* fix: dep update

* feat: deprecate args (#130)

* feat: add args mode

* fix: add args mode type

* fix: change artifact support

* fix: upload variables file (#135)

* add tests for develop branch (#136)

* add check fir release branch (#137)

* comment out the automatic merge of release branch for now

* fix release branch naming

* fix typo

* fix path for goreleaser file

* rename release branch (#142)

* ci: parametrize alpine (#144)

* parametrize alpine image

* fix: ttl for trigger condition (#143)

* ci: rename gh token var (#145)

* rename gh token var

* fix: add missing var for alpine image for arm64 arch

* fix: remove empty username and token (#147)

* ci: add docker registry description (#146)

* ci: add GH action to update readme for Docker registry

* ci: add workflow dispatch (#149)

* fix: support external secrets for tests (#148)

* fix: support external secrets for tests

* fix: support external secrets for test suite

* fix: rename interface method

* fix: test mock

* feat: webhook templlate and headers (#152)

* feat: webhook templlate and headers

* fix: description typo

* fix: secret check (#153)

* fix: secret check

* fix: remove wrong condition

* feat: provide known condition types (#155)

* feat: provide known condition types

* fix: rename util method

* feat: parallel testsuite (#109)

* feat: test suite v3

* feat: test suite v3 client and watcher

* fix: dep update

* Update config/crd/bases/tests.testkube.io_tests.yaml

Co-authored-by: nicufk <[email protected]>

* fix: conversion typo

* fix: test suite v3 sample

* fix: use proper informer version

* fix: v3 informer

* fix: typo func name

* add a separate workflow to test parallel testsuite images

* add a separate workflow to test parallel testsuite images

* fix: typo test suite version

* fix: make steps optional

* fix: sync recent changes

* fix: solve merge errors

* fix: rename fields

* fix: tune crd fields

* fix: rename vars and methods

* fix: refresh mock

* fix: rename vars

* fix: duration format

* fix: change test suite step object

* fix: secret var check

* fix: modify test suite example v3

* fix: update delay type

---------

Co-authored-by: nicufk <[email protected]>
Co-authored-by: ypoplavs <[email protected]>

* fix: remove run secrets as well (#139)

debug

fix: on deletion do not quit if something related to test could not be deleted, put in a single error

fix: remove logging and improve errors

fix: delete dependency error and delete test first

* feat: postrun script (#156)

* fix: post run scipt model

* fix: add postrun script to crd

* ci: remove release branch creation in helm-charts repo (#157)

* feat: probe conditions (#158)

* feat: probe spec model

* feat: test trigger crd with probes

* fix: refactor probe definition

* fix: unit tests

* fix: don't remove non Testkube secrets (#160)

* feat: remove outdated description (#164)

* fix: image registry (#166)

* feat: basic test execution crd (#165)

* feat: basic test execution crd

* feat: test execution CRD spec

* fix: test execution client

* fix: remove output

* fix: update status method

* fix: update get method

* feat: test execution reconciler

* fix: url port

* fix: test name

* fix: ignore status update

* feat: test suite execution core

* feat: test suite execution crd

* feat: add unit tests

* fix: test status

* fix: remove not used structure

* fix: api url typo

* fix: running context

* fix: generation field

* fix: remove unused fields

* fix: examples

* fix: use go 1.21 (#169)

* fix: context typo (#171)

---------

Co-authored-by: Lilla Vass <[email protected]>
Co-authored-by: ypoplavs <[email protected]>
Co-authored-by: ypoplavs <[email protected]>
Co-authored-by: nicufk <[email protected]>

* resolve conflicts with main

---------

Co-authored-by: Vladislav Sukhin <[email protected]>
Co-authored-by: ypoplavs <[email protected]>
Co-authored-by: ypoplavs <[email protected]>
Co-authored-by: Lilla Vass <[email protected]>
Co-authored-by: nicufk <[email protected]>

---------

Signed-off-by: hiteshwani <[email protected]>
Signed-off-by: Aman Parauliya <[email protected]>
Co-authored-by: Lilla Vass <[email protected]>
Co-authored-by: ypoplavs <[email protected]>
Co-authored-by: ypoplavs <[email protected]>
Co-authored-by: nicufk <[email protected]>
Co-authored-by: hiteshwani <[email protected]>
Co-authored-by: Aman Parauliya <[email protected]>
Co-authored-by: Dejan Zele Pejchev <[email protected]>

* fix: 1.15.3 (#190)

* feat: cron job template field (#132) (#133)

* feat: cron job template field

* fix: dep update

* feat: deprecate args (#130)

* feat: add args mode

* fix: add args mode type

* fix: change artifact support

* fix: upload variables file (#135)

* add tests for develop branch (#136)

* add check fir release branch (#137)

* comment out the automatic merge of release branch for now

* fix release branch naming

* fix typo

* fix path for goreleaser file

* rename release branch (#142)

* ci: parametrize alpine (#144)

* parametrize alpine image

* fix: ttl for trigger condition (#143)

* ci: rename gh token var (#145)

* rename gh token var

* fix: add missing var for alpine image for arm64 arch

* fix: remove empty username and token (#147)

* ci: add docker registry description (#146)

* ci: add GH action to update readme for Docker registry

* ci: add workflow dispatch (#149)

* fix: support external secrets for tests (#148)

* fix: support external secrets for tests

* fix: support external secrets for test suite

* fix: rename interface method

* fix: test mock

* feat: webhook templlate and headers (#152)

* feat: webhook templlate and headers

* fix: description typo

* fix: secret check (#153)

* fix: secret check

* fix: remove wrong condition

* feat: provide known condition types (#155)

* feat: provide known condition types

* fix: rename util method

* feat: parallel testsuite (#109)

* feat: test suite v3

* feat: test suite v3 client and watcher

* fix: dep update

* Update config/crd/bases/tests.testkube.io_tests.yaml

Co-authored-by: nicufk <[email protected]>

* fix: conversion typo

* fix: test suite v3 sample

* fix: use proper informer version

* fix: v3 informer

* fix: typo func name

* add a separate workflow to test parallel testsuite images

* add a separate workflow to test parallel testsuite images

* fix: typo test suite version

* fix: make steps optional

* fix: sync recent changes

* fix: solve merge errors

* fix: rename fields

* fix: tune crd fields

* fix: rename vars and methods

* fix: refresh mock

* fix: rename vars

* fix: duration format

* fix: change test suite step object

* fix: secret var check

* fix: modify test suite example v3

* fix: update delay type

---------

Co-authored-by: nicufk <[email protected]>
Co-authored-by: ypoplavs <[email protected]>

* fix: remove run secrets as well (#139)

debug

fix: on deletion do not quit if something related to test could not be deleted, put in a single error

fix: remove logging and improve errors

fix: delete dependency error and delete test first

* feat: postrun script (#156)

* fix: post run scipt model

* fix: add postrun script to crd

* ci: remove release branch creation in helm-charts repo (#157)

* feat: probe conditions (#158)

* feat: probe spec model

* feat: test trigger crd with probes

* fix: refactor probe definition

* fix: unit tests

* fix: don't remove non Testkube secrets (#160)

* feat: remove outdated description (#164)

* fix: image registry (#166)

* feat: basic test execution crd (#165)

* feat: basic test execution crd

* feat: test execution CRD spec

* fix: test execution client

* fix: remove output

* fix: update status method

* fix: update get method

* feat: test execution reconciler

* fix: url port

* fix: test name

* fix: ignore status update

* feat: test suite execution core

* feat: test suite execution crd

* feat: add unit tests

* fix: test status

* fix: remove not used structure

* fix: api url typo

* fix: running context

* fix: generation field

* fix: remove unused fields

* fix: examples

* fix: use go 1.21 (#169)

* fix: context typo (#171)

* feat: artifact bucket (#170)

* feat: artifact bucket

* fix: generate

* fix: rename field

* feat: test field (#172)

* feat: test field

* fix: tags

* feat: template crd (#173)

* featL template crd

* feat: add delete by labels

* feat: use cronjob reference

* fix: add warnings

* fix: error message

* feat: adjust uri descrription (#174)

* feat: adjust uri descrription

* fix: adjust header description

* feat: trigger concurrency policy (#175)

* feat: trigger concurrency policy

* fix: make policy optional

* fix: policy validation

* Added slaves field in executor CRD to add slaves configuration (#177)

* Added slaves field in executor CRD to add slaves configuration

Signed-off-by: hiteshwani <[email protected]>

* Discard changes

Signed-off-by: hiteshwani <[email protected]>

* Fixed trivial review comments

Signed-off-by: Aman Parauliya <[email protected]>

---------

Signed-off-by: hiteshwani <[email protected]>
Signed-off-by: Aman Parauliya <[email protected]>
Co-authored-by: Aman Parauliya <[email protected]>

* feat: update operator to use latest kubebuilder layout (#178)

* update operator to use latest kubebuilder layout

* update dependencies

* update dependencies

* remove some unused fields from CRDs

* fix failing test

* fix invalid reference (#179)

* fix mocks (#180)

* fix: make test fields optional (#181)

* feat: execute post run script before scraping field (#183)

* feat: execute post run script before scraping field

* fix: pragma

* feat: regex field (#186)

* feat: regex field

* fix: validate regex

* fix: visibility for secrets (#187)

---------

Signed-off-by: hiteshwani <[email protected]>
Signed-off-by: Aman Parauliya <[email protected]>
Co-authored-by: Lilla Vass <[email protected]>
Co-authored-by: ypoplavs <[email protected]>
Co-authored-by: ypoplavs <[email protected]>
Co-authored-by: nicufk <[email protected]>
Co-authored-by: hiteshwani <[email protected]>
Co-authored-by: Aman Parauliya <[email protected]>
Co-authored-by: Dejan Zele Pejchev <[email protected]>

* fix: comment

* fix: pragma

---------

Signed-off-by: hiteshwani <[email protected]>
Signed-off-by: Aman Parauliya <[email protected]>
Co-authored-by: ypoplavs <[email protected]>
Co-authored-by: ypoplavs <[email protected]>
Co-authored-by: Lilla Vass <[email protected]>
Co-authored-by: nicufk <[email protected]>
Co-authored-by: hiteshwani <[email protected]>
Co-authored-by: Aman Parauliya <[email protected]>
Co-authored-by: Dejan Zele Pejchev <[email protected]>

* feat: data dir as working dir (#192)

* feat: pass artifacts testsuite (#193)

* feat: download artifacts model

* fix: add comments

* fix: correct downloading tools with Go 1.16+ (#195)

* chore: rename default secret label (#196)

* feat: support argo cd sync (#197)

* feat: support argo cd sync

* fix: rename config var

* fix: rename field

* fix: add vesion

* fix: rename field

* feat: slave pod spec (#199)

* feat: add pod slave model

* feat: pod config crds

* feat: template enum

* feat: install controller-gen 0.8.0 (#202)

* chore: update dependencies to latest (#203)

---------

Signed-off-by: hiteshwani <[email protected]>
Signed-off-by: Aman Parauliya <[email protected]>
Co-authored-by: Lilla Vass <[email protected]>
Co-authored-by: ypoplavs <[email protected]>
Co-authored-by: ypoplavs <[email protected]>
Co-authored-by: nicufk <[email protected]>
Co-authored-by: hiteshwani <[email protected]>
Co-authored-by: Aman Parauliya <[email protected]>
Co-authored-by: Dejan Zele Pejchev <[email protected]>
Co-authored-by: Dawid Rusnak <[email protected]>
Co-authored-by: fivenp <[email protected]>
  • Loading branch information
10 people authored Dec 4, 2023
1 parent 0f0222e commit 216d046
Show file tree
Hide file tree
Showing 18 changed files with 519 additions and 212 deletions.
17 changes: 10 additions & 7 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -72,18 +72,20 @@ docker-build-local: build-local-linux
kind-load-local: docker-build-local
kind load docker-image controller:latest --name testkube

run: manifests generate fmt vet ## Run a controller from your host.
go run ./cmd/main.go

run-no-webhook: manifests generate fmt vet ## Run a controller from your host.
ENABLE_WEBHOOKS=false go run ./cmd/main.go

docker-build: test ## Build docker image with the manager.
docker build -t ${IMG} .

docker-push: ## Push docker image with the manager.
docker push ${IMG}

##@ Build

run: manifests generate fmt vet ## Run a controller from your host.
go run ./cmd/main.go

run-no-webhook: manifests generate fmt vet ## Run a controller from your host.
ENABLE_WEBHOOKS=false go run ./cmd/main.go

##@ Deployment

install: manifests kustomize ## Install CRDs into the K8s cluster specified in ~/.kube/config.
Expand All @@ -99,10 +101,11 @@ deploy: manifests kustomize ## Deploy controller to the K8s cluster specified in
undeploy: ## Undeploy controller from the K8s cluster specified in ~/.kube/config.
$(KUSTOMIZE) build config/default | kubectl delete -f -

##@ Setup

CONTROLLER_GEN = $(shell pwd)/bin/controller-gen
controller-gen: ## Download controller-gen locally if necessary.
$(call go-get-tool,$(CONTROLLER_GEN),sigs.k8s.io/controller-tools/cmd/controller-gen@v0.4.1)
$(call go-get-tool,$(CONTROLLER_GEN),sigs.k8s.io/controller-tools/cmd/controller-gen@v0.8.0)

KUSTOMIZE = $(shell pwd)/bin/kustomize
kustomize: ## Download kustomize locally if necessary.
Expand Down
140 changes: 0 additions & 140 deletions PROJECT
Original file line number Diff line number Diff line change
Expand Up @@ -135,144 +135,4 @@ resources:
kind: Template
path: github.com/kubeshop/testkube-operator/api/template/v1
version: v1
- api:
crdVersion: v1
namespaced: true
domain: testkube.io
group: tests
kind: Test
path: github.com/kubeshop/testkube-operator/api/tests/v2
version: v2
- api:
crdVersion: v1
namespaced: true
controller: true
domain: testkube.io
group: tests
kind: TestSuite
path: github.com/kubeshop/testkube-operator/api/testsuite/v3
version: v3
- api:
crdVersion: v1
namespaced: true
controller: true
domain: testkube.io
group: tests
kind: TestExecution
path: github.com/kubeshop/testkube-operator/api/testexecution/v1
version: v1
- api:
crdVersion: v1
namespaced: true
controller: true
domain: testkube.io
group: tests
kind: TestSuiteExecution
path: github.com/kubeshop/testkube-operator/api/testsuiteexecution/v1
version: v1
- api:
crdVersion: v1
namespaced: true
controller: true
domain: testkube.io
group: tests
kind: Template
path: github.com/kubeshop/testkube-operator/api/template/v1
version: v1
- api:
crdVersion: v1
namespaced: true
domain: testkube.io
group: tests
kind: Test
path: github.com/kubeshop/testkube-operator/api/tests/v2
version: v2
- api:
crdVersion: v1
namespaced: true
controller: true
domain: testkube.io
group: tests
kind: TestSuite
path: github.com/kubeshop/testkube-operator/api/testsuite/v3
version: v3
- api:
crdVersion: v1
namespaced: true
controller: true
domain: testkube.io
group: tests
kind: TestExecution
path: github.com/kubeshop/testkube-operator/api/testexecution/v1
version: v1
- api:
crdVersion: v1
namespaced: true
controller: true
domain: testkube.io
group: tests
kind: TestSuiteExecution
path: github.com/kubeshop/testkube-operator/api/testsuiteexecution/v1
version: v1
- api:
crdVersion: v1
namespaced: true
controller: true
domain: testkube.io
group: tests
kind: Template
path: github.com/kubeshop/testkube-operator/api/template/v1
version: v1
- api:
crdVersion: v1
namespaced: true
domain: testkube.io
group: tests
kind: Test
path: github.com/kubeshop/testkube-operator/apis/tests/v2
version: v2
- api:
crdVersion: v1
namespaced: true
controller: true
domain: testkube.io
group: tests
kind: TestSuite
path: github.com/kubeshop/testkube-operator/apis/testsuite/v3
version: v3
- api:
crdVersion: v1
namespaced: true
controller: true
domain: testkube.io
group: tests
kind: TestExecution
path: github.com/kubeshop/testkube-operator/apis/testexecution/v1
version: v1
- api:
crdVersion: v1
namespaced: true
controller: true
domain: testkube.io
group: tests
kind: TestSuiteExecution
path: github.com/kubeshop/testkube-operator/apis/testsuiteexecution/v1
version: v1
- api:
crdVersion: v1
namespaced: true
domain: testkube.io
group: tests
kind: Test
path: github.com/kubeshop/testkube-operator/apis/tests/v2
version: v2
- api:
crdVersion: v1
namespaced: true
controller: true
domain: testkube.io
group: tests
kind: TestSuite
path: github.com/kubeshop/testkube-operator/apis/testsuite/v3
version: v3
version: "3"
1 change: 1 addition & 0 deletions api/executor/v1/zz_generated.deepcopy.go

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

3 changes: 2 additions & 1 deletion api/template/v1/template_types.go
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ import (
// NOTE: json tags are required. Any new fields you add must have json tags for the fields to be serialized.

// TemplateType defines template type by purpose
// +kubebuilder:validation:Enum=job;container;cronjob;scraper;pvc;webhook
// +kubebuilder:validation:Enum=job;container;cronjob;scraper;pvc;webhook;pod
type TemplateType string

const (
Expand All @@ -34,6 +34,7 @@ const (
SCRAPER_TemplateType TemplateType = "scraper"
PVC_TemplateType TemplateType = "pvc"
WEBHOOK_TemplateType TemplateType = "webhook"
POD_TemplateType TemplateType = "pod"
)

// TemplateSpec defines the desired state of Template
Expand Down
31 changes: 28 additions & 3 deletions api/testexecution/v1/testexecution_types.go
Original file line number Diff line number Diff line change
Expand Up @@ -129,8 +129,9 @@ type ExecutionRequest struct {
// config map references
EnvConfigMaps []EnvReference `json:"envConfigMaps,omitempty"`
// secret references
EnvSecrets []EnvReference `json:"envSecrets,omitempty"`
RunningContext *RunningContext `json:"runningContext,omitempty"`
EnvSecrets []EnvReference `json:"envSecrets,omitempty"`
RunningContext *RunningContext `json:"runningContext,omitempty"`
SlavePodRequest *PodRequest `json:"slavePodRequest,omitempty"`
}

// ArgsModeType defines args mode type
Expand Down Expand Up @@ -171,6 +172,29 @@ type TestExecutionSpec struct {
ExecutionRequest *ExecutionRequest `json:"executionRequest,omitempty"`
}

// pod request body
type PodRequest struct {
Resources *PodResourcesRequest `json:"resources,omitempty"`
// pod template extensions
PodTemplate string `json:"podTemplate,omitempty"`
// name of the template resource
PodTemplateReference string `json:"podTemplateReference,omitempty"`
}

// pod resources request specification
type PodResourcesRequest struct {
Requests *ResourceRequest `json:"requests,omitempty"`
Limits *ResourceRequest `json:"limits,omitempty"`
}

// resource request specification
type ResourceRequest struct {
// requested cpu units
Cpu string `json:"cpu,omitempty"`
// requested memory units
Memory string `json:"memory,omitempty"`
}

// test execution
type Execution struct {
// execution id
Expand Down Expand Up @@ -230,7 +254,8 @@ type Execution struct {
ExecutePostRunScriptBeforeScraping bool `json:"executePostRunScriptBeforeScraping,omitempty"`
RunningContext *RunningContext `json:"runningContext,omitempty"`
// shell used in container executor
ContainerShell string `json:"containerShell,omitempty"`
ContainerShell string `json:"containerShell,omitempty"`
SlavePodRequest *PodRequest `json:"slavePodRequest,omitempty"`
}

// TestContent defines test content
Expand Down
70 changes: 70 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.

28 changes: 26 additions & 2 deletions api/tests/v3/test_types.go
Original file line number Diff line number Diff line change
Expand Up @@ -151,6 +151,29 @@ const (
RunningContextTypeEmpty RunningContextType = ""
)

// pod request body
type PodRequest struct {
Resources *PodResourcesRequest `json:"resources,omitempty"`
// pod template extensions
PodTemplate string `json:"podTemplate,omitempty"`
// name of the template resource
PodTemplateReference string `json:"podTemplateReference,omitempty"`
}

// pod resources request specification
type PodResourcesRequest struct {
Requests *ResourceRequest `json:"requests,omitempty"`
Limits *ResourceRequest `json:"limits,omitempty"`
}

// resource request specification
type ResourceRequest struct {
// requested cpu units
Cpu string `json:"cpu,omitempty"`
// requested memory units
Memory string `json:"memory,omitempty"`
}

// test execution request body
type ExecutionRequest struct {
// test execution custom name
Expand Down Expand Up @@ -225,8 +248,9 @@ type ExecutionRequest struct {
// config map references
EnvConfigMaps []EnvReference `json:"envConfigMaps,omitempty"`
// secret references
EnvSecrets []EnvReference `json:"envSecrets,omitempty"`
RunningContext *RunningContext `json:"-"`
EnvSecrets []EnvReference `json:"envSecrets,omitempty"`
RunningContext *RunningContext `json:"-"`
SlavePodRequest *PodRequest `json:"slavePodRequest,omitempty"`
}

// ArgsModeType defines args mode type
Expand Down
Loading

0 comments on commit 216d046

Please sign in to comment.