Skip to content

Conversation

RadaBDimitrova
Copy link
Contributor

@RadaBDimitrova RadaBDimitrova commented Dec 20, 2024

How to categorize this PR?

/area quality
/kind enhancement

What this PR does / why we need it:
Following the pattern of defaults_<resource>.go and types_<resource>.go this PR separates logic in apis/<api>/[ver]/helper/helper.go in order to have easier access to helper functions of the same logical group.

Which issue(s) this PR fixes:
Part of #10426

Special notes for your reviewer:
N/A

Release note:

NONE

@gardener-prow gardener-prow bot added area/quality Output qualification (tests, checks, scans, automation in general, etc.) related kind/enhancement Enhancement, improvement, extension cla: yes Indicates the PR's author has signed the cla-assistant.io CLA. labels Dec 20, 2024
@gardener-prow gardener-prow bot requested review from ary1992 and timuthy December 20, 2024 15:19
@gardener-prow gardener-prow bot added the size/XXL Denotes a PR that changes 1000+ lines, ignoring generated files. label Dec 20, 2024
@RadaBDimitrova RadaBDimitrova marked this pull request as draft December 20, 2024 15:41
@gardener-prow gardener-prow bot added the do-not-merge/work-in-progress Indicates that a PR should not merge because it is a work in progress. label Dec 20, 2024
@RadaBDimitrova
Copy link
Contributor Author

/retest

@RadaBDimitrova RadaBDimitrova marked this pull request as ready for review December 30, 2024 07:01
@gardener-prow gardener-prow bot removed the do-not-merge/work-in-progress Indicates that a PR should not merge because it is a work in progress. label Dec 30, 2024
@gardener-prow gardener-prow bot requested review from acumino and marc1404 December 30, 2024 07:01
@Kostov6
Copy link
Contributor

Kostov6 commented Dec 30, 2024

/retest

3 similar comments
@RadaBDimitrova
Copy link
Contributor Author

/retest

@RadaBDimitrova
Copy link
Contributor Author

/retest

@RadaBDimitrova
Copy link
Contributor Author

/retest

@plkokanov
Copy link
Contributor

/assign

@ialidzhikov
Copy link
Member

/assign

Copy link
Contributor

@Kostov6 Kostov6 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Surface level old comments. Will do more later

@ialidzhikov
Copy link
Member

/test pull-gardener-apidiff

@gardener-prow gardener-prow bot added the needs-rebase Indicates a PR cannot be merged because it has merge conflicts with HEAD. label Jan 15, 2025
@RadaBDimitrova RadaBDimitrova force-pushed the enhancement/separate-helper branch from 3d02267 to 7df3245 Compare January 15, 2025 13:19
@gardener-prow gardener-prow bot removed the needs-rebase Indicates a PR cannot be merged because it has merge conflicts with HEAD. label Jan 15, 2025
@RadaBDimitrova
Copy link
Contributor Author

Error: bad file 'hack/../example/gardener-local/gardenlet/operator/patch-imagevector-overwrite.yaml': yaml: line 13: could not find expected ':'

Error: UPGRADE FAILED: update: failed to update: Internal error occurred: failed calling webhook "validate-kubeconfig-secrets.gardener.cloud": failed to call webhook: Post "[https://gardener-admission-controller.garden.svc:443/webhooks/validate-kubeconfig-secrets?timeout=10s](https://gardener-admission-controller.garden.svc/webhooks/validate-kubeconfig-secrets?timeout=10s)": dial tcp 10.2.2.10:443: connect: connection refused

[FAILED] Timed out after 5.001s. The function passed to Eventually failed at /home/prow/go/src/github.com/gardener/gardener/test/integration/scheduler/shoot/shoot_test.go:88 with: Expected <*v1beta1.LastOperation | 0xc006245950>: { Description: "Failed to schedule Shoot: none of the 1 seeds is valid for scheduling (not deleting, visible and ready)", LastUpdateTime: { Time: 2025-01-15T13:55:49Z, }, Progress: 0, State: "Pending", Type: "Create", } to be nil In [It] at: /home/prow/go/src/github.com/gardener/gardener/test/integration/scheduler/shoot/shoot_test.go:89 @ 01/15/25 13:55:54.393
/retest

@RadaBDimitrova
Copy link
Contributor Author

/retest

Copy link
Member

@ialidzhikov ialidzhikov left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Final cosmetic suggestions from my side, otherwise lgtm

Copy link
Member

@ialidzhikov ialidzhikov left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

/lgtm

@gardener-prow gardener-prow bot added the lgtm Indicates that a PR is ready to be merged. label Jan 21, 2025
Copy link
Contributor

gardener-prow bot commented Jan 21, 2025

LGTM label has been added.

Git tree hash: bf2c94e3991a3248ab4ddefa9e6cb50c4f01508b

Copy link
Contributor

gardener-prow bot commented Jan 21, 2025

@RadaBDimitrova: The following test failed, say /retest to rerun all failed tests or /retest-required to rerun all mandatory failed tests:

Test name Commit Details Required Rerun command
pull-gardener-check-renovate-config 3d02267 link true /test pull-gardener-check-renovate-config

Full PR test history. Your PR dashboard. Command help for this repository.
Please help us cut down on flakes by linking this test failure to an open flake report or filing a new flake report if you can't find an existing one. Also see our testing guideline for how to avoid and hunt flakes.

Instructions for interacting with me using PR comments are available here. If you have questions or suggestions related to my behavior, please file an issue against the kubernetes-sigs/prow repository. I understand the commands that are listed here.

@RadaBDimitrova
Copy link
Contributor Author

/retest

Copy link
Contributor

@plkokanov plkokanov left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

/lgtm

Copy link
Contributor

gardener-prow bot commented Jan 21, 2025

[APPROVALNOTIFIER] This PR is APPROVED

This pull-request has been approved by: ialidzhikov

The full list of commands accepted by this bot can be found here.

The pull request process is described here

Needs approval from an approver in each of these files:

Approvers can indicate their approval by writing /approve in a comment
Approvers can cancel approval by writing /approve cancel in a comment

@gardener-prow gardener-prow bot added the approved Indicates a PR has been approved by an approver from all required OWNERS files. label Jan 21, 2025
@gardener-prow gardener-prow bot merged commit c2ce545 into gardener:master Jan 21, 2025
19 checks passed
Roncossek pushed a commit to Roncossek/gardener that referenced this pull request Jan 27, 2025
…resource>.go` files (gardener#11083)

* /core/v1beta1

* /extensions/v1alpha1

* /operator/v1alpha1

* /resources/v1alpha1

* /seedmanagement/v1alpha1

* run make generate

* run make add-license-headers

* remove helper_ from names

* run make format

* separate core/v1beta1/helper tests and rename  managedresource

* separate extensions/v1alpha1/helper tests

* separate operator/v1alpha1/helper tests

* separate seedmanagement/v1alpha1/helper tests

* minor reordering of functions in tests

* fix typo

* run make format

* Address PR review feedback

---------

Co-authored-by: Ismail Alidzhikov <9372594+ialidzhikov@users.noreply.github.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
approved Indicates a PR has been approved by an approver from all required OWNERS files. area/quality Output qualification (tests, checks, scans, automation in general, etc.) related cla: yes Indicates the PR's author has signed the cla-assistant.io CLA. kind/enhancement Enhancement, improvement, extension lgtm Indicates that a PR is ready to be merged. size/XXL Denotes a PR that changes 1000+ lines, ignoring generated files.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants