gardener / gardener-extension-registry-cache

Gardener extension controller which deploys pull-through caches for container registries.
Apache License 2.0
7 stars 20 forks source link

Upgrade the module version to 1.22.2 #179

Closed ialidzhikov closed 7 months ago

ialidzhikov commented 7 months ago

How to categorize this PR?

/kind enhancement

What this PR does / why we need it: Right now, dependabot fails to create a version bump for gardener/gardener with:

updater | 2024/04/09 19:08:47 INFO <job_812251957> Handled error whilst updating github.com/gardener/gardener: dependency_file_not_resolvable {:message=>"go: loading module retractions for github.com/gardener/gardener@v0.32.0: module github.com/gardener/gardener@v1.92.0 requires go >= 1.22.2 (running go 1.22.1; GOTOOLCHAIN=local+auto)"}

In https://github.com/gardener/gardener-extension-registry-cache/pull/177, I missed to update the go module version to go 1.22.2.

When you bump the gardener/gardener version to v1.92.0 locally and then run make tidy, the go tool is able to deal with it and to upgrade the module version to 1.22.2:

% make tidy
go: module github.com/gardener/gardener@v1.92.0 requires go >= 1.22.2; switching to go1.22.2
go: upgraded go 1.22.1 => 1.22.2
# ...

Which issue(s) this PR fixes: I hope that upgrading the go module version will resolve the dependabot failure.

Special notes for your reviewer: N/A

Release note:

NONE
gardener-prow[bot] commented 7 months ago

[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: - ~~[OWNERS](https://github.com/gardener/gardener-extension-registry-cache/blob/main/OWNERS)~~ [ialidzhikov] Approvers can indicate their approval by writing `/approve` in a comment Approvers can cancel approval by writing `/approve cancel` in a comment