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

refactor: Remove custom multierror #1802

Merged
merged 2 commits into from
Oct 10, 2023

Conversation

lindnerby
Copy link
Member

Description

Changes proposed in this pull request:

  • Remove the custom MultiError type
  • Replace its one usage occurence with errors.Join

Related issue(s)

@lindnerby lindnerby requested a review from a team as a code owner October 10, 2023 10:10
@kyma-bot kyma-bot added the size/M Denotes a PR that changes 30-99 lines, ignoring generated files. label Oct 10, 2023
@kyma-bot kyma-bot added the lgtm Looks good to me! label Oct 10, 2023
@kyma-bot kyma-bot removed the lgtm Looks good to me! label Oct 10, 2023
@lindnerby lindnerby requested a review from nesmabadr October 10, 2023 12:20
@kyma-bot kyma-bot added the lgtm Looks good to me! label Oct 10, 2023
@kyma-bot kyma-bot merged commit dea2690 into kyma-project:main Oct 10, 2023
@lindnerby lindnerby assigned lindnerby and unassigned nesmabadr Oct 11, 2023
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 <45110612+dbadura@users.noreply.github.com>
Co-authored-by: Nesma Badr <nesmabadr@aucegypt.edu>
Co-authored-by: Benjamin Lindner <50365642+lindnerby@users.noreply.github.com>
Co-authored-by: Jeremy Harisch <48282931+jeremyharisch@users.noreply.github.com>
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 <45110612+dbadura@users.noreply.github.com>
Co-authored-by: Nesma Badr <nesmabadr@aucegypt.edu>
Co-authored-by: Benjamin Lindner <50365642+lindnerby@users.noreply.github.com>
Co-authored-by: Jeremy Harisch <48282931+jeremyharisch@users.noreply.github.com>
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/M Denotes a PR that changes 30-99 lines, ignoring generated files.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants