kubewarden / safe-labels-policy

Kubewarden policy that validates Kubernetes' resource labels
https://kubewarden.io
Apache License 2.0
5 stars 2 forks source link

fix(deps): update all non-major dependencies #16

Closed renovate[bot] closed 1 year ago

renovate[bot] commented 1 year ago

Mend Renovate

This PR contains the following updates:

Package Type Update Change
github.com/kubewarden/policy-sdk-go require minor v0.1.3 -> v0.3.0
github.com/wapc/wapc-guest-tinygo require patch v0.3.1 -> v0.3.3

Release Notes

kubewarden/policy-sdk-go ### [`v0.3.0`](https://togithub.com/kubewarden/policy-sdk-go/compare/v0.2.5...v0.3.0) [Compare Source](https://togithub.com/kubewarden/policy-sdk-go/compare/v0.2.5...v0.3.0) ### [`v0.2.5`](https://togithub.com/kubewarden/policy-sdk-go/compare/v0.2.4...v0.2.5) [Compare Source](https://togithub.com/kubewarden/policy-sdk-go/compare/v0.2.4...v0.2.5) ### [`v0.2.4`](https://togithub.com/kubewarden/policy-sdk-go/compare/v0.2.3...v0.2.4) [Compare Source](https://togithub.com/kubewarden/policy-sdk-go/compare/v0.2.3...v0.2.4) ### [`v0.2.3`](https://togithub.com/kubewarden/policy-sdk-go/compare/v0.2.2...v0.2.3) [Compare Source](https://togithub.com/kubewarden/policy-sdk-go/compare/v0.2.2...v0.2.3) ### [`v0.2.2`](https://togithub.com/kubewarden/policy-sdk-go/compare/v0.2.1...v0.2.2) [Compare Source](https://togithub.com/kubewarden/policy-sdk-go/compare/v0.2.1...v0.2.2) ### [`v0.2.1`](https://togithub.com/kubewarden/policy-sdk-go/compare/v0.2.0...v0.2.1) [Compare Source](https://togithub.com/kubewarden/policy-sdk-go/compare/v0.2.0...v0.2.1) ### [`v0.2.0`](https://togithub.com/kubewarden/policy-sdk-go/compare/v0.1.3...v0.2.0) [Compare Source](https://togithub.com/kubewarden/policy-sdk-go/compare/v0.1.3...v0.2.0)
wapc/wapc-guest-tinygo ### [`v0.3.3`](https://togithub.com/wapc/wapc-guest-tinygo/releases/tag/v0.3.3): wazero beta [Compare Source](https://togithub.com/wapc/wapc-guest-tinygo/compare/v0.3.2...v0.3.3) ### [`v0.3.2`](https://togithub.com/wapc/wapc-guest-tinygo/releases/tag/v0.3.2): Add ConsoleLog [Compare Source](https://togithub.com/wapc/wapc-guest-tinygo/compare/v0.3.1...v0.3.2)

Configuration

📅 Schedule: Branch creation - "before 3am on Monday" (UTC), Automerge - At any time (no schedule defined).

🚦 Automerge: Disabled by config. Please merge this manually once you are satisfied.

Rebasing: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox.

👻 Immortal: This PR will be recreated if closed unmerged. Get config help if that's undesired.



This PR has been generated by Mend Renovate. View repository job log here.

jvanz commented 1 year ago

@flavio and @kubewarden/kubewarden-developers , as far as I can see, this PR is failing now because go in its MVS algorithm is selecting the strfmt version from the k8s-objects lib. We can see this in the latest error report:

Command failed: docker run --rm --name=renovate_sidecar --label=renovate_child -v "/tmp/worker/4416cb/97ea64/repos/github/kubewarden/safe-labels-policy":"/tmp/worker/4416cb/97ea64/repos/github/kubewarden/safe-labels-policy" -v "/tmp/worker/4416cb/97ea64/cache":"/tmp/worker/4416cb/97ea64/cache" -e GOPATH -e GOPROXY -e GOSUMDB -e GOFLAGS -e CGO_ENABLED -e GIT_CONFIG_KEY_0 -e GIT_CONFIG_VALUE_0 -e GIT_CONFIG_KEY_1 -e GIT_CONFIG_VALUE_1 -e GIT_CONFIG_KEY_2 -e GIT_CONFIG_VALUE_2 -e GIT_CONFIG_COUNT -e BUILDPACK_CACHE_DIR -e CONTAINERBASE_CACHE_DIR -w "/tmp/worker/4416cb/97ea64/repos/github/kubewarden/safe-labels-policy" docker.io/renovate/sidecar bash -l -c "install-tool golang 1.20.2 && go get -d -t ./... && go mod vendor"
go: github.com/kubewarden/policy-sdk-go@v0.2.5 requires
    github.com/kubewarden/k8s-objects@v1.24.0-kw3 requires
    github.com/go-openapi/strfmt@v0.0.0-00010101000000-000000000000: invalid version: unknown revision 000000000000

By the way, all the policies will fail to update to the latest SDKs versions for the same reason.

I've opened a PR applying the same fix done in this PR by in the k8s-objects repository. For now, only in the branch release1.24. After that, I'll do the same for all the other branches.

flavio commented 1 year ago

Good catch, thanks!

renovate[bot] commented 1 year ago

⚠ Artifact update problem

Renovate failed to update an artifact related to this branch. You probably do not want to merge this PR as-is.

♻ Renovate will retry this branch, including artifacts, only when one of the following happens:

The artifact failure details are included below:

File name: go.sum
Command failed: docker pull docker.io/containerbase/sidecar
Error response from daemon: toomanyrequests: You have reached your pull rate limit. You may increase the limit by authenticating and upgrading: https://www.docker.com/increase-rate-limit
flavio commented 1 year ago

@jvanz I'm going to look into that

renovate[bot] commented 1 year ago

Edited/Blocked Notification

Renovate will not automatically rebase this PR, because it does not recognize the last commit author and assumes somebody else may have edited the PR.

You can manually request rebase by checking the rebase/retry box above.

Warning: custom changes will be lost.