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

always build kubernetes for linux #413

Merged
merged 1 commit into from
Mar 27, 2019

Conversation

BenTheElder
Copy link
Member

fixes https://github.com/kubernetes-sigs/kind/pull/358/files#r269746243

kind only supports linux "nodes" currently, we can just use the host arch, but we need to build for linux even on mac 🙃

@k8s-ci-robot k8s-ci-robot added the cncf-cla: yes Indicates the PR's author has signed the CNCF CLA. label Mar 27, 2019
@k8s-ci-robot
Copy link
Contributor

[APPROVALNOTIFIER] This PR is APPROVED

This pull-request has been approved by: BenTheElder

The full list of commands accepted by this bot can be found here.

The pull request process is described here

Needs approval from an approver in each of these files:

Approvers can indicate their approval by writing /approve in a comment
Approvers can cancel approval by writing /approve cancel in a comment

@k8s-ci-robot k8s-ci-robot added approved Indicates a PR has been approved by an approver from all required OWNERS files. size/S Denotes a PR that changes 10-29 lines, ignoring generated files. labels Mar 27, 2019
@BenTheElder
Copy link
Member Author

also likely fixes #409

@BenTheElder BenTheElder requested review from neolit123 and amwat and removed request for krzyzacy March 27, 2019 20:40
@BenTheElder BenTheElder added priority/critical-urgent Highest priority. Must be actively worked on as someone's top priority right now. kind/bug Categorizes issue or PR as related to a bug. labels Mar 27, 2019
@@ -86,6 +87,10 @@ func (b *DockerBuildBits) Build() error {
return buildVersionFile(b.kubeRoot)
}

func dockerBuildOsAndArch() string {
Copy link
Member

Choose a reason for hiding this comment

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

wonder if Os will pass golint.
other than that LGTM.

Copy link
Member

@neolit123 neolit123 left a comment

Choose a reason for hiding this comment

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

/lgtm

@k8s-ci-robot k8s-ci-robot added the lgtm "Looks good to me", indicates that a PR is ready to be merged. label Mar 27, 2019
@k8s-ci-robot k8s-ci-robot merged commit e9ca601 into kubernetes-sigs:master Mar 27, 2019
@BenTheElder BenTheElder deleted the linux-please branch March 27, 2019 21:05
@BenTheElder
Copy link
Member Author

can confirm this fixes mac with kind build node-image

This was referenced Mar 27, 2019
stg-0 pushed a commit to stg-0/kind that referenced this pull request Feb 6, 2024
* version v0.18.0-alpha

* update docs for v0.17.0

* fix kind version in readme

* comments-update-buildcontext

* Added helm s3 plugin

* added helm s3 support

* chart version rollback

---------

Co-authored-by: Benjamin Elder <[email protected]>
Co-authored-by: Daman <[email protected]>
Co-authored-by: Kubernetes Prow Robot <[email protected]>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
approved Indicates a PR has been approved by an approver from all required OWNERS files. cncf-cla: yes Indicates the PR's author has signed the CNCF CLA. kind/bug Categorizes issue or PR as related to a bug. lgtm "Looks good to me", indicates that a PR is ready to be merged. priority/critical-urgent Highest priority. Must be actively worked on as someone's top priority right now. size/S Denotes a PR that changes 10-29 lines, ignoring generated files.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants