Skip to content

Commit

Permalink
feat: Release/v1.17.33 (#256)
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 48422d59cb0873f16a7c0cfca3caa8332b783b17.

* 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 48422d59cb0873f16a7c0cfca3caa8332b783b17.

* 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)

* feat: add executor and webhook listers and informers [TKC-631] (#205)

* feat: add listeners and informers

* feat: lister and informer for test source

* fix: improve resources in groupversion for executor group

* fix: fix permission error while testing locally

* feat: step start and end time (#206)

* feat: artifact enhancement (#207)

* feat: artifact enhancement

* fix: previous testnames

* fix: back merge (#209)

* 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 48422d59cb0873f16a7c0cfca3caa8332b783b17.

* 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 48422d59cb0873f16a7c0cfca3caa8332b783b17.

* 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-b…
  • Loading branch information
12 people authored May 16, 2024
1 parent e8c2c8d commit 2c478ae
Show file tree
Hide file tree
Showing 15 changed files with 13,821 additions and 13,808 deletions.
25 changes: 24 additions & 1 deletion Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -37,9 +37,28 @@ help: ## Display this help.

##@ Development

manifests: controller-gen ## Generate WebhookConfiguration, ClusterRole and CustomResourceDefinition objects.
manifests: manifests-create manifests-clean ## Generate WebhookConfiguration, ClusterRole and CustomResourceDefinition objects. Delete unnecessary entries.

manifests-create: controller-gen ## Generate WebhookConfiguration, ClusterRole and CustomResourceDefinition objects.
$(CONTROLLER_GEN) $(CRD_OPTIONS) rbac:roleName=manager-role webhook paths="./..." output:crd:artifacts:config=config/crd/bases

manifests-clean: yq
@for file in testworkflows.testkube.io_testworkflows.yaml testworkflows.testkube.io_testworkflowtemplates.yaml; do \
for key in securityContext volumes dnsPolicy affinity tolerations hostAliases dnsConfig topologySpreadConstraints schedulingGates resourceClaims volumeMounts fieldRef resourceFieldRef configMapKeyRef secretKeyRef; do \
yq --no-colors -i "del(.. | select(has(\"$$key\")).$$key | .. | select(has(\"description\")).description)" "config/crd/bases/$$file"; \
done; \
yq --no-colors -i \
'with(..; . | select(has("additionalProperties")) | select(.additionalProperties | has("type")) | select(.additionalProperties.type == "dynamicList") | \
.["x-kubernetes-preserve-unknown-fields"] = true | \
del(.additionalProperties) \
) | \
with(..; . | select(has("properties")) | select(.properties | to_entries | filter(.value | has("type")) | filter(.value.type == "dynamicList") | length > 0) | \
.["x-kubernetes-preserve-unknown-fields"] = true | \
del(.properties) \
)' \
"config/crd/bases/$$file"; \
done

generate: controller-gen ## Generate code containing DeepCopy, DeepCopyInto, and DeepCopyObject method implementations.
$(CONTROLLER_GEN) object:headerFile="hack/boilerplate.go.txt" paths="./..."
$(CONTROLLER_GEN) object:headerFile="pkg/tcl/header.txt" paths="./pkg/tcl/..."
Expand Down Expand Up @@ -112,6 +131,10 @@ KUSTOMIZE = $(shell pwd)/bin/kustomize
kustomize: ## Download kustomize locally if necessary.
$(call go-get-tool,$(KUSTOMIZE),sigs.k8s.io/kustomize/kustomize/[email protected])

YQ = $(shell pwd)/bin/yq
yq: ## Download YQ locally if necessary.
$(call go-get-tool,$(YQ),github.com/mikefarah/yq/[email protected])

# go-get-tool will 'go get' any package $2 and install it to $1.
PROJECT_DIR := $(shell dirname $(abspath $(lastword $(MAKEFILE_LIST))))
define go-get-tool
Expand Down
27 changes: 16 additions & 11 deletions api/executor/v1/webhook_types.go
Original file line number Diff line number Diff line change
Expand Up @@ -44,21 +44,26 @@ type WebhookSpec struct {
Headers map[string]string `json:"headers,omitempty"`
}

// +kubebuilder:validation:Enum=start-test;end-test-success;end-test-failed;end-test-aborted;end-test-timeout;start-testsuite;end-testsuite-success;end-testsuite-failed;end-testsuite-aborted;end-testsuite-timeout
// +kubebuilder:validation:Enum=start-test;end-test-success;end-test-failed;end-test-aborted;end-test-timeout;start-testsuite;end-testsuite-success;end-testsuite-failed;end-testsuite-aborted;end-testsuite-timeout;start-testworkflow;queue-testworkflow;end-testworkflow-success;end-testworkflow-failed;end-testworkflow-aborted
type EventType string

// List of EventType
const (
START_TEST_EventType EventType = "start-test"
END_TEST_SUCCESS_EventType EventType = "end-test-success"
END_TEST_FAILED_EventType EventType = "end-test-failed"
END_TEST_ABORTED_EventType EventType = "end-test-aborted"
END_TEST_TIMEOUT_EventType EventType = "end-test-timeout"
START_TESTSUITE_EventType EventType = "start-testsuite"
END_TESTSUITE_SUCCESS_EventType EventType = "end-testsuite-success"
END_TESTSUITE_FAILED_EventType EventType = "end-testsuite-failed"
END_TESTSUITE_ABORTED_EventType EventType = "end-testsuite-aborted"
END_TESTSUITE_TIMEOUT_EventType EventType = "end-testsuite-timeout"
START_TEST_EventType EventType = "start-test"
END_TEST_SUCCESS_EventType EventType = "end-test-success"
END_TEST_FAILED_EventType EventType = "end-test-failed"
END_TEST_ABORTED_EventType EventType = "end-test-aborted"
END_TEST_TIMEOUT_EventType EventType = "end-test-timeout"
START_TESTSUITE_EventType EventType = "start-testsuite"
END_TESTSUITE_SUCCESS_EventType EventType = "end-testsuite-success"
END_TESTSUITE_FAILED_EventType EventType = "end-testsuite-failed"
END_TESTSUITE_ABORTED_EventType EventType = "end-testsuite-aborted"
END_TESTSUITE_TIMEOUT_EventType EventType = "end-testsuite-timeout"
START_TESTWORKFLOW_EventType EventType = "start-testworkflow"
QUEUE_TESTWORKFLOW_EventType EventType = "queue-testworkflow"
END_TESTWORKFLOW_SUCCESS_EventType EventType = "end-testworkflow-success"
END_TESTWORKFLOW_FAILED_EventType EventType = "end-testworkflow-failed"
END_TESTWORKFLOW_ABORTED_EventType EventType = "end-testworkflow-aborted"
)

// WebhookStatus defines the observed state of Webhook
Expand Down
27 changes: 23 additions & 4 deletions api/testtriggers/v1/testtrigger_types.go
Original file line number Diff line number Diff line change
Expand Up @@ -82,7 +82,7 @@ const (
)

// TestTriggerEvent defines event for test triggers
// +kubebuilder:validation:Enum=created;modified;deleted;deployment-scale-update;deployment-image-update;deployment-env-update;deployment-containers-modified
// +kubebuilder:validation:Enum=created;modified;deleted;deployment-scale-update;deployment-image-update;deployment-env-update;deployment-containers-modified;event-start-test;event-end-test-success;event-end-test-failed;event-end-test-aborted;event-end-test-timeout;event-start-testsuite;event-end-testsuite-success;event-end-testsuite-failed;event-end-testsuite-aborted;event-end-testsuite-timeout;event-queue-testworkflow;event-start-testworkflow;event-end-testworkflow-success;event-end-testworkflow-failed;event-end-testworkflow-aborted;event-created;event-updated;event-deleted
type TestTriggerEvent string

// List of TestTriggerEvents
Expand All @@ -94,6 +94,24 @@ const (
TestTriggerCauseDeploymentImageUpdate TestTriggerEvent = "deployment-image-update"
TestTriggerCauseDeploymentEnvUpdate TestTriggerEvent = "deployment-env-update"
TestTriggerCauseDeploymentContainersModified TestTriggerEvent = "deployment-containers-modified"
TestTriggerCauseEventStartTest TestTriggerEvent = "event-start-test"
TestTriggerCauseEventEndTestSuccess TestTriggerEvent = "event-end-test-success"
TestTriggerCauseEventEndTestFailed TestTriggerEvent = "event-end-test-failed"
TestTriggerCauseEventEndTestAborted TestTriggerEvent = "event-end-test-aborted"
TestTriggerCauseEventEndTestTimeout TestTriggerEvent = "event-end-test-timeout"
TestTriggerCauseEventStartTestSuite TestTriggerEvent = "event-start-testsuite"
TestTriggerCauseEventEndTestSuiteSuccess TestTriggerEvent = "event-end-testsuite-success"
TestTriggerCauseEventEndTestSuiteFailed TestTriggerEvent = "event-end-testsuite-failed"
TestTriggerCauseEventEndTestSuiteAborted TestTriggerEvent = "event-end-testsuite-aborted"
TestTriggerCauseEventEndTestSuiteTimeout TestTriggerEvent = "event-end-testsuite-timeout"
TestTriggerCauseEventQueueTestWorkflow TestTriggerEvent = "event-queue-testworkflow"
TestTriggerCauseEventStartTestWorkflow TestTriggerEvent = "event-start-testworkflow"
TestTriggerCauseEventEndTestWorkflowSuccess TestTriggerEvent = "event-end-testworkflow-success"
TestTriggerCauseEventEndTestWorkflowFailed TestTriggerEvent = "event-end-testworkflow-failed"
TestTriggerCauseEventEndTestWorkflowAborted TestTriggerEvent = "event-end-testworkflow-aborted"
TestTriggerCauseEventCreated TestTriggerEvent = "event-created"
TestTriggerCauseEventUpdated TestTriggerEvent = "event-updated"
TestTriggerCauseEventDeleted TestTriggerEvent = "event-deleted"
)

// TestTriggerAction defines action for test triggers
Expand All @@ -106,13 +124,14 @@ const (
)

// TestTriggerExecution defines execution for test triggers
// +kubebuilder:validation:Enum=test;testsuite
// +kubebuilder:validation:Enum=test;testsuite;testworkflow
type TestTriggerExecution string

// List of TestTriggerExecution
const (
TestTriggerExecutionTest TestTriggerExecution = "test"
TestTriggerExecutionTestsuite TestTriggerExecution = "testsuite"
TestTriggerExecutionTest TestTriggerExecution = "test"
TestTriggerExecutionTestsuite TestTriggerExecution = "testsuite"
TestTriggerExecutionTestWorkflow TestTriggerExecution = "testworkflow"
)

// TestTriggerConcurrencyPolicy defines concurrency policy for test triggers
Expand Down
6 changes: 3 additions & 3 deletions api/testworkflows/v1/base_types.go
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,9 @@ package v1
type TestWorkflowSpecBase struct {
// Important: Run "make" to regenerate code after modifying this file

// events triggering execution of the test workflow
Events []Event `json:"events,omitempty" expr:"include"`

// make the instance configurable with some input data for scheduling it
Config map[string]ParameterSchema `json:"config,omitempty" expr:"include"`

Expand All @@ -17,7 +20,4 @@ type TestWorkflowSpecBase struct {

// configuration for the scheduled pod
Pod *PodConfig `json:"pod,omitempty" expr:"include"`

// events triggering execution of the test workflow
Events []Event `json:"events,omitempty" expr:"include"`
}
11 changes: 11 additions & 0 deletions api/testworkflows/v1/content_types.go
Original file line number Diff line number Diff line change
Expand Up @@ -39,9 +39,20 @@ type ContentFile struct {
Mode *int32 `json:"mode,omitempty"`
}

type ContentTarball struct {
// url for the tarball to extract
Url string `json:"url" expr:"template"`
// path where the tarball should be extracted
Path string `json:"path" expr:"template"`
// should it mount a new volume there
Mount *bool `json:"mount,omitempty" expr:"ignore"`
}

type Content struct {
// git repository details
Git *ContentGit `json:"git,omitempty" expr:"include"`
// files to load
Files []ContentFile `json:"files,omitempty" expr:"include"`
// tarballs to unpack
Tarball []ContentTarball `json:"tarball,omitempty" expr:"include"`
}
4 changes: 2 additions & 2 deletions api/testworkflows/v1/parameter_types.go
Original file line number Diff line number Diff line change
Expand Up @@ -52,6 +52,6 @@ type ParameterSchema struct {
// +kubebuilder:validation:XIntOrString
Default *intstr.IntOrString `json:"default,omitempty" expr:"template"`

ParameterStringSchema `json:",inline"`
ParameterNumberSchema `json:",inline"`
ParameterStringSchema `json:",inline" expr:"include"`
ParameterNumberSchema `json:",inline" expr:"include"`
}
Loading

0 comments on commit 2c478ae

Please sign in to comment.