Skip to content
New issue

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

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

Already on GitHub? Sign in to your account

test: CLI E2E tests with template operator #1792

Merged
merged 138 commits into from
Oct 6, 2023

Conversation

nesmabadr
Copy link
Contributor

Description

Changes proposed in this pull request:

  • Github action for kyma CLI commands (deploy, enable, disable) E2E tests

Related issue(s)
Resolves #1567

@nesmabadr nesmabadr added the do-not-merge/work-in-progress Indicates that a PR should not merge because it is a work in progress. label Sep 27, 2023
@nesmabadr nesmabadr requested a review from a team as a code owner September 27, 2023 15:26
@kyma-bot kyma-bot added size/L Denotes a PR that changes 100-499 lines, ignoring generated files. and removed do-not-merge/work-in-progress Indicates that a PR should not merge because it is a work in progress. labels Sep 27, 2023
@nesmabadr nesmabadr changed the title CLI E2E tests with template operator [WIP]test: CLI E2E tests with template operator Sep 27, 2023
@kyma-bot kyma-bot added the do-not-merge/work-in-progress Indicates that a PR should not merge because it is a work in progress. label Sep 27, 2023
@nesmabadr nesmabadr changed the title [WIP]test: CLI E2E tests with template operator test: CLI E2E tests with template operator Sep 27, 2023
@kyma-bot kyma-bot removed the do-not-merge/work-in-progress Indicates that a PR should not merge because it is a work in progress. label Sep 27, 2023
@nesmabadr nesmabadr added the do-not-merge/work-in-progress Indicates that a PR should not merge because it is a work in progress. label Sep 27, 2023
@nesmabadr nesmabadr changed the title test: CLI E2E tests with template operator [WIP]test: CLI E2E tests with template operator Sep 27, 2023
ameteiko
ameteiko previously approved these changes Oct 6, 2023
@kyma-bot kyma-bot added the lgtm Looks good to me! label Oct 6, 2023
tests/e2e/Makefile Outdated Show resolved Hide resolved
tests/e2e/util.go Outdated Show resolved Hide resolved
tests/e2e/util.go Outdated Show resolved Hide resolved
tests/e2e/util.go Outdated Show resolved Hide resolved
@nesmabadr nesmabadr requested a review from ruanxin October 6, 2023 13:38
tests/e2e/util.go Outdated Show resolved Hide resolved
@nesmabadr nesmabadr requested a review from ruanxin October 6, 2023 13:53
@kyma-bot kyma-bot added the lgtm Looks good to me! label Oct 6, 2023
@kyma-bot kyma-bot merged commit bfde536 into kyma-project:main Oct 6, 2023
12 checks passed
kyma-bot pushed a commit that referenced this pull request Oct 26, 2023
* cleanup serverless chart config (#1798)

* test: CLI E2E tests with template operator (#1792)

* Setup e2e tests action

* Forcing an empty commit.

* Add go file + make target

* add Run E2E tests step

* add e2e test

* refactor existing E2E tests

* remove redundant step in e2e yaml

* trigger the pipeline

* editing go file to trigger pipeline

* fix yaml file

* remove unneeded expect statement

* some fixes

* some fixes

* add suite_test.go

* ginkgo bootstrap

* add e2e_suite_test

* remove unnecessary log

* fixes

* fixes

* start test implementation

* disable running e2e from

* create module test changes

* exclude e2e from test target

* kyma alpha deploy

* fix

* Forcing an empty commit.

* fix

* fix

* fix

* fix

* fix

* fix

* fix

* Increase timeout

* fix

* fix

* fix

* fixes

* fixes

* fix

* Reduce timeout

* fixes

* fixes

* fixes

* debug error

* debug error

* debug error

* debug error

* debug error

* debug error

* debug error

* debug error

* debug error

* debug error

* debug error

* debug error

* debug error

* enable module

* enable module

* stop running create module command for the rest of the e2e

* stop running create module command for the rest of the e2e

* debug

* validate resources after enablement

* fix linting

* debugging

* debugging

* debugging

* debugging

* fixes

* fixes

* uncomment and add module name

* print kyma.status.modules

* add v1extensions scheme

* increase timeout

* debugging

* debugging

* revert module creation test

* fix linting

* fix test

* fix test

* fix test

* fix test

* fix test

* fix test

* fix test

* fix test

* fix test

* fix test

* fix test

* fix test

* fix test

* disable module

* add new template-operator

* fix test

* fix test

* fix test

* fix test

* fix test

* fix test

* fix test

* fix linting

* remove unneeded env variables

* remove unneeded env variables

* debug error

* debug error

* debug error

* fixes

* Oleksandr's comments

* fix test

* remove

* fix test

* fix test

* comment 1

* Oleksandr's PR comments

* fix

* fix

* fix

* fix

* Rephrase the Describe

* Oleksandr's comments

* Xin's comments

* Oleksandr's comments

* flatten

* fix linting

* fixes

* fixes

* fixes

* fix create module

* remove duplicate targets

* Forcing an empty commit.

* Xin's comment

* Xin's comment

* fix status

* fix status

* fix status

* fix status

* comment

* remove unneeded consts

* fix: Error out if create module is executed with an existing version without the overwrite flag (#1797)

* Setup e2e tests action

* Forcing an empty commit.

* Add go file + make target

* add Run E2E tests step

* add e2e test

* refactor existing E2E tests

* remove redundant step in e2e yaml

* trigger the pipeline

* editing go file to trigger pipeline

* fix yaml file

* remove unneeded expect statement

* some fixes

* some fixes

* add suite_test.go

* ginkgo bootstrap

* add e2e_suite_test

* remove unnecessary log

* fixes

* fixes

* start test implementation

* disable running e2e from

* create module test changes

* exclude e2e from test target

* kyma alpha deploy

* fix

* Forcing an empty commit.

* fix

* fix

* fix

* fix

* fix

* fix

* fix

* Increase timeout

* fix

* fix

* fix

* fixes

* fixes

* fix

* Reduce timeout

* fixes

* fixes

* fixes

* debug error

* debug error

* debug error

* debug error

* debug error

* debug error

* debug error

* debug error

* debug error

* debug error

* debug error

* debug error

* debug error

* enable module

* enable module

* stop running create module command for the rest of the e2e

* stop running create module command for the rest of the e2e

* debug

* validate resources after enablement

* fix linting

* debugging

* debugging

* debugging

* debugging

* fixes

* fixes

* uncomment and add module name

* print kyma.status.modules

* add v1extensions scheme

* increase timeout

* debugging

* debugging

* revert module creation test

* fix linting

* fix test

* fix test

* fix test

* fix test

* fix test

* fix test

* fix test

* fix test

* fix test

* fix test

* fix test

* fix test

* fix test

* disable module

* add new template-operator

* fix test

* fix test

* fix test

* fix test

* fix test

* fix test

* fix test

* fix linting

* remove unneeded env variables

* remove unneeded env variables

* debug error

* debug error

* debug error

* fixes

* Oleksandr's comments

* fix test

* remove

* fix test

* fix test

* comment 1

* Oleksandr's PR comments

* fix

* fix

* fix

* fix

* fix implementation

* Add e2e test

* fix test

* fix

* fix

* debug test

* fix linting

* debuggging

* Rephrase the Describe

* Oleksandr's comments

* debug test

* debug test

* debug test

* fix target

* fix error message

* fix: Add module version annotation to the ModuleTemplate (#1799)

* add test

* Addressing test comment

* PR comments

* enhance message (#1801)

* feat: Add refactor title type (#1803)

* remove custom multierror. use join on one fix occurence (#1802)

* chore: Fix some CLI checkmarx issues (#1807)

* Add some error handling

* More error handling for regex

* Condest reconciler call

* Add default status

* bump golang.org/x/net (#1815)

* fix(checkmarx): Fix unhandled errors (#1813)

* Fix unhandled errors

* APlly review comments

* fix misspelling

* update kyma to 2.19.2

---------

Co-authored-by: Damian Badura <[email protected]>
Co-authored-by: Nesma Badr <[email protected]>
Co-authored-by: Benjamin Lindner <[email protected]>
Co-authored-by: Jeremy Harisch <[email protected]>
kyma-bot pushed a commit that referenced this pull request Oct 30, 2023
* cleanup serverless chart config (#1798)

* test: CLI E2E tests with template operator (#1792)

* Setup e2e tests action

* Forcing an empty commit.

* Add go file + make target

* add Run E2E tests step

* add e2e test

* refactor existing E2E tests

* remove redundant step in e2e yaml

* trigger the pipeline

* editing go file to trigger pipeline

* fix yaml file

* remove unneeded expect statement

* some fixes

* some fixes

* add suite_test.go

* ginkgo bootstrap

* add e2e_suite_test

* remove unnecessary log

* fixes

* fixes

* start test implementation

* disable running e2e from

* create module test changes

* exclude e2e from test target

* kyma alpha deploy

* fix

* Forcing an empty commit.

* fix

* fix

* fix

* fix

* fix

* fix

* fix

* Increase timeout

* fix

* fix

* fix

* fixes

* fixes

* fix

* Reduce timeout

* fixes

* fixes

* fixes

* debug error

* debug error

* debug error

* debug error

* debug error

* debug error

* debug error

* debug error

* debug error

* debug error

* debug error

* debug error

* debug error

* enable module

* enable module

* stop running create module command for the rest of the e2e

* stop running create module command for the rest of the e2e

* debug

* validate resources after enablement

* fix linting

* debugging

* debugging

* debugging

* debugging

* fixes

* fixes

* uncomment and add module name

* print kyma.status.modules

* add v1extensions scheme

* increase timeout

* debugging

* debugging

* revert module creation test

* fix linting

* fix test

* fix test

* fix test

* fix test

* fix test

* fix test

* fix test

* fix test

* fix test

* fix test

* fix test

* fix test

* fix test

* disable module

* add new template-operator

* fix test

* fix test

* fix test

* fix test

* fix test

* fix test

* fix test

* fix linting

* remove unneeded env variables

* remove unneeded env variables

* debug error

* debug error

* debug error

* fixes

* Oleksandr's comments

* fix test

* remove

* fix test

* fix test

* comment 1

* Oleksandr's PR comments

* fix

* fix

* fix

* fix

* Rephrase the Describe

* Oleksandr's comments

* Xin's comments

* Oleksandr's comments

* flatten

* fix linting

* fixes

* fixes

* fixes

* fix create module

* remove duplicate targets

* Forcing an empty commit.

* Xin's comment

* Xin's comment

* fix status

* fix status

* fix status

* fix status

* comment

* remove unneeded consts

* fix: Error out if create module is executed with an existing version without the overwrite flag (#1797)

* Setup e2e tests action

* Forcing an empty commit.

* Add go file + make target

* add Run E2E tests step

* add e2e test

* refactor existing E2E tests

* remove redundant step in e2e yaml

* trigger the pipeline

* editing go file to trigger pipeline

* fix yaml file

* remove unneeded expect statement

* some fixes

* some fixes

* add suite_test.go

* ginkgo bootstrap

* add e2e_suite_test

* remove unnecessary log

* fixes

* fixes

* start test implementation

* disable running e2e from

* create module test changes

* exclude e2e from test target

* kyma alpha deploy

* fix

* Forcing an empty commit.

* fix

* fix

* fix

* fix

* fix

* fix

* fix

* Increase timeout

* fix

* fix

* fix

* fixes

* fixes

* fix

* Reduce timeout

* fixes

* fixes

* fixes

* debug error

* debug error

* debug error

* debug error

* debug error

* debug error

* debug error

* debug error

* debug error

* debug error

* debug error

* debug error

* debug error

* enable module

* enable module

* stop running create module command for the rest of the e2e

* stop running create module command for the rest of the e2e

* debug

* validate resources after enablement

* fix linting

* debugging

* debugging

* debugging

* debugging

* fixes

* fixes

* uncomment and add module name

* print kyma.status.modules

* add v1extensions scheme

* increase timeout

* debugging

* debugging

* revert module creation test

* fix linting

* fix test

* fix test

* fix test

* fix test

* fix test

* fix test

* fix test

* fix test

* fix test

* fix test

* fix test

* fix test

* fix test

* disable module

* add new template-operator

* fix test

* fix test

* fix test

* fix test

* fix test

* fix test

* fix test

* fix linting

* remove unneeded env variables

* remove unneeded env variables

* debug error

* debug error

* debug error

* fixes

* Oleksandr's comments

* fix test

* remove

* fix test

* fix test

* comment 1

* Oleksandr's PR comments

* fix

* fix

* fix

* fix

* fix implementation

* Add e2e test

* fix test

* fix

* fix

* debug test

* fix linting

* debuggging

* Rephrase the Describe

* Oleksandr's comments

* debug test

* debug test

* debug test

* fix target

* fix error message

* fix: Add module version annotation to the ModuleTemplate (#1799)

* add test

* Addressing test comment

* PR comments

* enhance message (#1801)

* feat: Add refactor title type (#1803)

* remove custom multierror. use join on one fix occurence (#1802)

* chore: Fix some CLI checkmarx issues (#1807)

* Add some error handling

* More error handling for regex

* Condest reconciler call

* Add default status

* bump golang.org/x/net (#1815)

* fix(checkmarx): Fix unhandled errors (#1813)

* Fix unhandled errors

* APlly review comments

* fix misspelling

* update kyma to 2.19.3

---------

Co-authored-by: Damian Badura <[email protected]>
Co-authored-by: Nesma Badr <[email protected]>
Co-authored-by: Benjamin Lindner <[email protected]>
Co-authored-by: Jeremy Harisch <[email protected]>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
lgtm Looks good to me! size/XL Denotes a PR that changes 500-999 lines, ignoring generated files.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

CLI Alpha command E2E Testing with Template Operator
4 participants