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

add controller-gen and client-gen versions to 1.22 builds #35

Merged
merged 3 commits into from
May 9, 2024

Conversation

foolusion
Copy link
Contributor

This should add the proper controller-gen and client-gen versions to build with go 1.22. I'm not very familiar with github actions so let me know if there is a better way to include the defaults.

@ArangoGutierrez
Copy link
Collaborator

Hey @foolusion thanks for the contribution, could you follow https://docs.pi-hole.net/guides/github/how-to-signoff/ to signoff your commit so the DCO check passes?

@@ -91,4 +98,6 @@ jobs:
platforms: ${{ env.IMAGE_PLATFORMS }}
build-args: |
GOLANG_VERSION=${{ matrix.go-version }}
CONTROLLER_GEN_VERSION=${{ matrix.controller-gen-version || "v0.9.2" }}
Copy link
Collaborator

Choose a reason for hiding this comment

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

The workflow is not valid. .github/workflows/image.yaml (Line: 99, Col: 23): Unexpected symbol: '"v0'. Located at position 34 within expression: matrix.controller-gen-version || "v0.9.2"

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Thanks, looks like you have to use single quotes inside the expressions.

foolusion and others added 2 commits April 5, 2024 06:24
This should add the proper controller-gen and client-gen versions to build with go 1.22. I'm not very familiar with github actions so let me know if there is a better way to include the defaults.

Signed-off-by: Andrew O'Neill <[email protected]>
Signed-off-by: Carlos Eduardo Arango Gutierrez <[email protected]>
Signed-off-by: Andrew O'Neill <[email protected]>
@foolusion foolusion force-pushed the add-controller-gen-version branch from a176607 to 764f2a8 Compare April 5, 2024 13:25
@foolusion foolusion force-pushed the add-controller-gen-version branch from 53a88b6 to 0dce9a6 Compare April 5, 2024 13:31
@ArangoGutierrez ArangoGutierrez requested a review from elezar April 5, 2024 14:45
@ArangoGutierrez ArangoGutierrez merged commit 454f29d into NVIDIA:main May 9, 2024
5 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants