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

Update chainsaw in makefile #3347

Merged
merged 1 commit into from
Oct 18, 2024

Conversation

pavolloffay
Copy link
Member

Description:

Link to tracking Issue(s):

  • Resolves: #issue-number

Testing:

Documentation:

@pavolloffay pavolloffay requested a review from a team as a code owner October 11, 2024 08:13
Makefile Outdated Show resolved Hide resolved
@pavolloffay pavolloffay added the Skip Changelog PRs that do not require a CHANGELOG.md entry label Oct 11, 2024
Copy link
Contributor

@swiatekm swiatekm left a comment

Choose a reason for hiding this comment

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

Ideally, we should get renovate to bump versions in the Makefile for us. We're pretty bad at keeping it up ourselves.

@jaronoff97
Copy link
Contributor

@pavolloffay these two tests keep failing, but i do not know why... any ideas?

@pavolloffay
Copy link
Member Author

2024-10-15T19:33:14.0506287Z go: downloading github.com/kyverno/chainsaw v0.2.11
2024-10-15T19:33:14.3746915Z go: github.com/kyverno/chainsaw@v0.2.11 requires go >= 1.23.0; switching to go1.23.2
2024-10-15T19:33:14.3782275Z go: -d flag is deprecated. -d=true is a no-op

I will use a lower version

@@ -62,8 +62,6 @@ jobs:
with:
path: bin
key: ${{ runner.os }}-${{ runner.arch }}-${{ hashFiles('Makefile') }}-${{ steps.setup-go.outputs.go-version }}
- name: Install chainsaw
Copy link
Member Author

Choose a reason for hiding this comment

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

the way our makefile is written this is not needed, actually it confuses which version is used.

@@ -473,7 +473,7 @@ KUSTOMIZE_VERSION ?= v5.0.3
CONTROLLER_TOOLS_VERSION ?= v0.16.1
GOLANGCI_LINT_VERSION ?= v1.57.2
KIND_VERSION ?= v0.20.0
CHAINSAW_VERSION ?= v0.2.5
CHAINSAW_VERSION ?= v0.2.8
Copy link
Member Author

Choose a reason for hiding this comment

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

It seems like 0.2.9 requires go 1.23 https://github.com/kyverno/chainsaw/releases/tag/v0.2.9 so we can updated only to 0.2.8

Signed-off-by: Pavol Loffay <p.loffay@gmail.com>
@pavolloffay pavolloffay merged commit 01b0755 into open-telemetry:main Oct 18, 2024
36 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Skip Changelog PRs that do not require a CHANGELOG.md entry
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants