Skip to content

Commit

Permalink
feat: Release/v2.1.16 (#297)
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-by…
  • Loading branch information
12 people authored Sep 9, 2024
1 parent 64f6c97 commit a7fb874
Show file tree
Hide file tree
Showing 4 changed files with 186 additions and 0 deletions.
9 changes: 9 additions & 0 deletions .github/sandbox-comment-template.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
Sandbox environment for `{{ .branch_ref }}` has been created.

## URLs

- **Dashboard**: https://dashboard.{{ .branch_ref }}.testkube.dev
- **API**: https://api.{{ .branch_ref }}.testkube.dev
- **Agent**: https://agent.{{ .branch_ref }}.testkube.dev
- **Storage**: https://storage.{{ .branch_ref }}.testkube.dev
- **Websockets**: https://websockets.{{ .branch_ref }}.testkube.dev
31 changes: 31 additions & 0 deletions .github/workflows/sandbox-deletion.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,31 @@
name: Remove sandbox environment

permissions:
contents: read
actions: write

on:
pull_request:
types: [closed]

jobs:
delete:
if: startsWith(github.event.pull_request.head.ref, 'sandbox/')
name: Pass payload data
runs-on: ubuntu-22.04
steps:
- uses: actions/create-github-app-token@v1
id: app-token
with:
app-id: ${{ secrets.APP_ID }}
private-key: ${{ secrets.PRIVATE_KEY }}
owner: ${{ github.repository_owner }}

- name: Repository dispatch
uses: peter-evans/repository-dispatch@v2
with:
token: ${{ steps.app-token.outputs.token }}
repository: kubeshop/testkube-deployment
event-type: sandbox_env_delete
client-payload: '{"ref_name": "${{ github.event.pull_request.head.ref }}"}'

141 changes: 141 additions & 0 deletions .github/workflows/sandbox.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,141 @@
name: Sanbox image to build on push to sandbox/<sandbox identifier> branch

on:
push:
branches:
- sandbox/**
pull_request:
types:
- opened

permissions:
contents: write
id-token: write
pull-requests: write
issues: write


env:
ALPINE_IMAGE: alpine:3.18.3

jobs:
docker:
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v4
with:
fetch-depth: 0

- name: Set up Docker Buildx
if: startsWith(github.ref, 'refs/heads/sandbox/')
id: buildx
uses: docker/setup-buildx-action@v3

- name: Set up QEMU
if: startsWith(github.ref, 'refs/heads/sandbox/')
uses: docker/setup-qemu-action@v3

- name: Set up Go
if: startsWith(github.ref, 'refs/heads/sandbox/')
uses: actions/setup-go@v4

- name: Login to DockerHub
if: startsWith(github.ref, 'refs/heads/sandbox/')
uses: docker/login-action@v2
with:
username: ${{ secrets.DOCKERHUB_USERNAME }}
password: ${{ secrets.DOCKERHUB_TOKEN }}

- name: Set version
if: startsWith(github.ref, 'refs/heads/sandbox/')
run: |
#get short commit sha that triggered the flow
echo git_hash="$(git rev-parse --short "$GITHUB_SHA")" >> $GITHUB_ENV
# Extract everything before the first slash
branch_identifier=$(echo "$GITHUB_REF_NAME" | cut -d'/' -f2-)
# Replace slashes with dashes using sed
echo branch_identifier=$(echo "$branch_identifier" | sed 's/\//-/g') >> $GITHUB_ENV
- name: Set image tag
if: startsWith(github.ref, 'refs/heads/sandbox/')
run: |
# set image tag that includes service name, sandbox identifier and commit sha
image_tag="${{ env.branch_identifier }}-${{ env.git_hash }}"
echo image_tag_sha=$image_tag >> $GITHUB_ENV
- name: Build images with GoReleaser
if: startsWith(github.ref, 'refs/heads/sandbox/')
uses: goreleaser/goreleaser-action@v4
with:
distribution: goreleaser
version: latest
args: release -f goreleaser/.goreleaser-snapshot.yaml --snapshot
env:
GITHUB_TOKEN: ${{ secrets.CI_BOT_TOKEN }}
DOCKER_BUILDX_BUILDER: "${{ steps.buildx.outputs.name }}"
DOCKER_BUILDX_CACHE_FROM: "type=gha"
DOCKER_BUILDX_CACHE_TO: "type=gha,mode=max"
ALPINE_IMAGE: ${{ env.ALPINE_IMAGE }}
SANDBOX_IMAGE: true

- name: Push Docker images
if: startsWith(github.ref, 'refs/heads/sandbox/')
run: |
docker tag kubeshop/testkube-operator:${{ env.git_hash }} kubeshop/testkube-sandbox:operator-${{ env.image_tag_sha }}
docker push kubeshop/testkube-sandbox:operator-${{ env.image_tag_sha }}
- name: Repository dispatch
if: startsWith(github.ref, 'refs/heads/sandbox/')
uses: peter-evans/repository-dispatch@v2
with:
token: ${{ secrets.CI_BOT_TOKEN }}
repository: kubeshop/testkube-deployment
event-type: sandbox_image_update
client-payload: '{"ref_name": "${{ github.ref_name }}", "sandbox_repo": "kubeshop/testkube-sandbox"}'

- name: Output summary
if: startsWith(github.ref, 'refs/heads/sandbox/')
run: |
echo -e "### Sandbox Environment" >> $GITHUB_STEP_SUMMARY
echo -e '```' >> $GITHUB_STEP_SUMMARY
echo -e "## URLs" >> $GITHUB_STEP_SUMMARY
echo "- Dashboard: https://dashboard.${{ github.ref_name }}.testkube.dev" >> $GITHUB_STEP_SUMMARY
echo "- API: https://api.${{ github.ref_name }}.testkube.dev" >> $GITHUB_STEP_SUMMARY
echo "- Agent: https://agent.${{ github.ref_name }}.testkube.dev" >> $GITHUB_STEP_SUMMARY
echo "- Storage: https://storage.${{ github.ref_name }}.testkube.dev" >> $GITHUB_STEP_SUMMARY
echo "- Websockets: https://websockets.${{ github.ref_name }}.testkube.dev" >> $GITHUB_STEP_SUMMARY
echo -e '```' >> $GITHUB_STEP_SUMMARY
- name: Get a branch name if PR is created
if: startsWith(github.event.pull_request.head.ref, 'sandbox/')
run: |
# get a branch name
branch_ref="${{ github.event.pull_request.head.ref }}"
#remove slash
branch_ref="${branch_ref#*/}"
#create env var
echo "branch_ref=$branch_ref" >> $GITHUB_ENV
- name: Render template
if: startsWith(github.event.pull_request.head.ref, 'sandbox/')
id: template
uses: chuhlomin/[email protected]
with:
template: .github/comment-template.md
vars: |
branch_ref: ${{ env.branch_ref }}
- name: Create comment on a PR with the endpoints
if: startsWith(github.event.pull_request.head.ref, 'sandbox/')
uses: peter-evans/create-or-update-comment@v4
with:
token: ${{ secrets.CI_BOT_TOKEN }}
issue-number: ${{ github.event.pull_request.number }}
body: ${{ steps.template.outputs.result }}


5 changes: 5 additions & 0 deletions goreleaser/.goreleaser-snapshot.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,8 @@ env:
# https://github.com/moby/buildkit#export-cache
- DOCKER_BUILDX_CACHE_FROM={{ if index .Env "DOCKER_BUILDX_CACHE_FROM" }}{{ .Env.DOCKER_BUILDX_CACHE_FROM }}{{ else }}type=registry{{ end }}
- DOCKER_BUILDX_CACHE_TO={{ if index .Env "DOCKER_BUILDX_CACHE_TO" }}{{ .Env.DOCKER_BUILDX_CACHE_TO }}{{ else }}type=inline{{ end }}
- DOCKER_IMAGE_TITLE={{ if index .Env "SANDBOX_IMAGE" }}testkube-sandbox{{ else }}testkube-operator{{ end }}
- DOCKER_IMAGE_URL={{ if index .Env "SANDBOX_IMAGE" }}https://hub.docker.com/r/kubeshop/testkube-sandbox{{ else }}https://hub.docker.com/r/kubeshop/testkube-operator{{ end }}

project_name: testkube-operator
builds:
Expand All @@ -28,6 +30,9 @@ dockers:
image_templates:
- "kubeshop/testkube-operator:{{ .ShortCommit }}"
build_flag_templates:
- "--label=org.opencontainers.image.title={{ .Env.DOCKER_IMAGE_TITLE }}"
- "--label=org.opencontainers.image.description=Testkube Operator"
- "--label=org.opencontainers.image.url={{ .Env.DOCKER_IMAGE_URL }}"
- "--platform=linux/amd64"
- "--label=org.opencontainers.image.title={{ .ProjectName }}"
- "--label=org.opencontainers.image.created={{.Date}}"
Expand Down

0 comments on commit a7fb874

Please sign in to comment.