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

fix: add event markers and update go version #73

Merged
merged 10 commits into from
May 22, 2024

Conversation

scottd018
Copy link
Contributor

This PR includes the following updates:

  • Generate controller-manager event markers that was missed in previous PR
  • Update to latest version of go that was missed in previous PR
  • Update to nukleros/gener8s repo as opposed to old object-code-generator-for-k8s repo

This was missed when we recently added changes to add events to deployed resources.

Signed-off-by: Dustin Scott <dustin.scott18@gmail.com>
Signed-off-by: Dustin Scott <dustin.scott18@gmail.com>
Because a future version of go (e.g. go 1.23) is not out yet, we are on the
latest version.  For the operator-builder binary, we are not dependent on
layered go versions (e.g. generated code go versions) so we have more flexibility
in version selection.  Removed the multiple array selection, but left it as an
array in case we want to test future versions when they release, or multiple
versions for whatever the case may be.

Signed-off-by: Dustin Scott <dustin.scott18@gmail.com>
…rsion

This is because the go binary can be built on different versions than
the codebase itself.

Signed-off-by: Dustin Scott <dustin.scott18@gmail.com>
go.mod Outdated
@@ -1,15 +1,15 @@
module github.com/nukleros/operator-builder

go 1.18
go 1.21
Copy link
Contributor

Choose a reason for hiding this comment

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

This should be version 1.22 right?

Signed-off-by: Dustin Scott <dustin.scott18@gmail.com>
Signed-off-by: Dustin Scott <dustin.scott18@gmail.com>
This is because we were duplicating the operator-builder build in the pipeline.

Signed-off-by: Dustin Scott <dustin.scott18@gmail.com>
Signed-off-by: Dustin Scott <dustin.scott18@gmail.com>
Signed-off-by: Dustin Scott <dustin.scott18@gmail.com>
Signed-off-by: Dustin Scott <dustin.scott18@gmail.com>
@lander2k2 lander2k2 merged commit 5b843c8 into nukleros:main May 22, 2024
15 of 16 checks passed
scottd018 added a commit to scottd018/operator-builder that referenced this pull request Jul 3, 2024
* fix: added missing events marker

This was missed when we recently added changes to add events to deployed resources.

Signed-off-by: Dustin Scott <dustin.scott18@gmail.com>

* feat: switch to gener8s over legacy ocgk package

Signed-off-by: Dustin Scott <dustin.scott18@gmail.com>

* fix: enforce go 1.22

Because a future version of go (e.g. go 1.23) is not out yet, we are on the
latest version.  For the operator-builder binary, we are not dependent on
layered go versions (e.g. generated code go versions) so we have more flexibility
in version selection.  Removed the multiple array selection, but left it as an
array in case we want to test future versions when they release, or multiple
versions for whatever the case may be.

Signed-off-by: Dustin Scott <dustin.scott18@gmail.com>

* test: add ability to use different binary versions versus codebase version

This is because the go binary can be built on different versions than
the codebase itself.

Signed-off-by: Dustin Scott <dustin.scott18@gmail.com>

* feat: use 1.22 in go mod

Signed-off-by: Dustin Scott <dustin.scott18@gmail.com>

* feat: add toolchain for dealing with lower go versions

Signed-off-by: Dustin Scott <dustin.scott18@gmail.com>

* test: add flag to prevent binary builds when requested

This is because we were duplicating the operator-builder build in the pipeline.

Signed-off-by: Dustin Scott <dustin.scott18@gmail.com>

* docs: update go version in docs

Signed-off-by: Dustin Scott <dustin.scott18@gmail.com>

* ci: update kind and kubectl versions in pipeline

Signed-off-by: Dustin Scott <dustin.scott18@gmail.com>

* ci: update goreleaser and remove deprecated fields

Signed-off-by: Dustin Scott <dustin.scott18@gmail.com>

---------

Signed-off-by: Dustin Scott <dustin.scott18@gmail.com>
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