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 xc-prod-image for cross compiling vault-k8s in release pipeline #221

Merged
merged 1 commit into from
Feb 22, 2021

Conversation

alvin-huang
Copy link
Contributor

@alvin-huang alvin-huang commented Feb 9, 2021

This PR adds a new Make target, xc-prod-image which will use docker buildx to cross compile the vault-k8s image across 4 different architectures (and optionally publish with XC_PUBLISH=--push). This target is used in the release pipeline but could also be called locally if desired and the host machine has all the necessary packages for using docker buildx (normal Docker for Mac should just work as long as DOCKER_CLI_EXPERIMENTAL=enabled). The release pipeline changes are found in https://github.com/hashicorp/vault-k8s-release/pull/4.

This does require us to start cross compiling binaries for the 4 different versions though.

Copy link
Contributor

@jasonodonnell jasonodonnell left a comment

Choose a reason for hiding this comment

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

LGTM but want to get @sarahethompson to sign off as well.

Copy link
Contributor

@sarahethompson sarahethompson left a comment

Choose a reason for hiding this comment

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

LGTM - sorry for the delay.

@jasonodonnell jasonodonnell merged commit ef93e5a into master Feb 22, 2021
@jasonodonnell jasonodonnell deleted the ci/add-xc-make-target branch February 22, 2021 14:41
RemcoBuddelmeijer pushed a commit to RemcoBuddelmeijer/vault-k8s that referenced this pull request Feb 22, 2022
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