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 docker-build target for controller build #101

Merged
merged 1 commit into from
May 8, 2024

Conversation

jaydeokar
Copy link
Contributor

What type of PR is this?
cleanup

Which issue does this PR fix:
N/A

What does this PR do / Why do we need it:
This adds a docker build target for internal build systems

If an issue # is not available please add steps to reproduce and the controller logs:
N/A

Testing done on this change:
Yes

Automation added to e2e:
N/A

Will this PR introduce any new dependencies?:
N/A

Will this break upgrades or downgrades. Has updating a running cluster been tested?:
N/A

Does this PR introduce any user-facing change?:
N/A

By submitting this pull request, I confirm that my contribution is made under the terms of the Apache 2.0 license.

@jaydeokar jaydeokar requested a review from a team as a code owner April 11, 2024 21:29
Makefile Outdated
.PHONY: docker-buildx
docker-buildx: test
.PHONY: docker-buildx-and-test
docker-buildx-and-test: test
Copy link
Contributor

Choose a reason for hiding this comment

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

I think there is no need to create another target just for different name. Adding test to docker-buildx is fine for me.

@jaydeokar jaydeokar force-pushed the add_docker_build branch from 10f5940 to 97fb32b Compare May 3, 2024 23:08
@@ -1 +1 @@
1.22.2
1.22
Copy link
Contributor Author

Choose a reason for hiding this comment

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

This pins the go-version to the latest golang language version i.e. v1.N instead of the patch version v1.N.P..
This makes sure we are always building image with the latest patch for the golang version and does not need regular updates to pick the right patch version.

@jaydeokar jaydeokar merged commit 0ed80c4 into aws:main May 8, 2024
4 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.

3 participants