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

Cross-compile the kn binary for linux/s390x #1083

Merged
merged 1 commit into from
Nov 24, 2020
Merged

Cross-compile the kn binary for linux/s390x #1083

merged 1 commit into from
Nov 24, 2020

Conversation

BbolroC
Copy link
Contributor

@BbolroC BbolroC commented Oct 30, 2020

Description

As part of the work to support the knative for the IBM Z system (s390x architecture), this PR is to make the kn-linux-s390x binary available in the release.

Changes

  • Add an additional go build command with GOOS=linux GOARCH=s390x in hack/build.sh and hack/release.sh, respectively.

Reference

None

@google-cla google-cla bot added the cla: yes Indicates the PR's author has signed the CLA. label Oct 30, 2020
@knative-prow-robot
Copy link
Contributor

Welcome @BbolroC! It looks like this is your first PR to knative/client 🎉

@knative-prow-robot knative-prow-robot added the needs-ok-to-test Indicates a PR that requires an org member to verify it is safe to test. label Oct 30, 2020
@knative-prow-robot
Copy link
Contributor

Hi @BbolroC. Thanks for your PR.

I'm waiting for a knative member to verify that this patch is reasonable to test. If it is, they should reply with /ok-to-test on its own line. Until that is done, I will not automatically test new commits in this PR, but the usual testing commands by org members will still work. Regular contributors should join the org to skip this step.

Once the patch is verified, the new status will be reflected by the ok-to-test label.

I understand the commands that are listed here.

Instructions for interacting with me using PR comments are available here. If you have questions or suggestions related to my behavior, please file an issue against the kubernetes/test-infra repository.

@knative-prow-robot knative-prow-robot added the size/XS Denotes a PR that changes 0-9 lines, ignoring generated files. label Oct 30, 2020
@rhuss
Copy link
Contributor

rhuss commented Oct 30, 2020

/ok-to-test

@knative-prow-robot knative-prow-robot added ok-to-test Indicates a non-member PR verified by an org member that is safe to test. and removed needs-ok-to-test Indicates a PR that requires an org member to verify it is safe to test. labels Oct 30, 2020
Copy link
Contributor

@rhuss rhuss left a comment

Choose a reason for hiding this comment

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

Looks good to me, thanks for the PR ! (a minor suggestion added).

Technically that's ok (and affair that's the second request for adding s390), so I tend to add this platform, too. I wonder whether we then should go all in and also add other popular platforms like armv7 or arm64.

Also, we then should push multiarch OCI image for our binary.

Wdyt, @maximilien @navidshaikh and others ? Let's discuss this on the next WG call how wide we want to extend our arch support.

Copy link
Contributor

@maximilien maximilien left a comment

Choose a reason for hiding this comment

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

/ok-to-test

@knative-prow-robot knative-prow-robot added the approved Indicates a PR has been approved by an approver from all required OWNERS files. label Oct 30, 2020
@BbolroC BbolroC changed the title Cross-compile the kn binary for linux/s390x WIP: Cross-compile the kn binary for linux/s390x Oct 30, 2020
@knative-prow-robot knative-prow-robot added the do-not-merge/work-in-progress Indicates that a PR should not merge because it is a work in progress. label Oct 30, 2020
@BbolroC BbolroC changed the title WIP: Cross-compile the kn binary for linux/s390x Cross-compile the kn binary for linux/s390x Nov 11, 2020
@knative-prow-robot knative-prow-robot removed the do-not-merge/work-in-progress Indicates that a PR should not merge because it is a work in progress. label Nov 11, 2020
Copy link
Contributor

@maximilien maximilien left a comment

Choose a reason for hiding this comment

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

LGTM

@knative-prow-robot knative-prow-robot added the needs-rebase Indicates a PR cannot be merged because it has merge conflicts with HEAD. label Nov 11, 2020
@maximilien
Copy link
Contributor

Looks like you need to rebase @BbolroC file: hack/release.sh

@knative-prow-robot knative-prow-robot removed the needs-rebase Indicates a PR cannot be merged because it has merge conflicts with HEAD. label Nov 11, 2020
@BbolroC
Copy link
Contributor Author

BbolroC commented Nov 11, 2020

Looks like you need to rebase @BbolroC file: hack/release.sh

Thanks for the notice. The rebase is done.

Copy link
Collaborator

@navidshaikh navidshaikh left a comment

Choose a reason for hiding this comment

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

/lgtm
/approve
could've made to v0.19 release , but we can consider this for patch release as well?
/hold for @rhuss

@knative-prow-robot knative-prow-robot added the do-not-merge/hold Indicates that a PR should not merge because someone has issued a /hold command. label Nov 12, 2020
@knative-prow-robot knative-prow-robot added the lgtm Indicates that a PR is ready to be merged. label Nov 12, 2020
@knative-prow-robot
Copy link
Contributor

[APPROVALNOTIFIER] This PR is APPROVED

This pull-request has been approved by: BbolroC, maximilien, navidshaikh

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:
  • OWNERS [maximilien,navidshaikh]

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

@rhuss
Copy link
Contributor

rhuss commented Nov 24, 2020

could've made to v0.19 release , but we can consider this for patch release as well?

+1 one for backporting this to 0.18 and 0.19

/unhold

@knative-prow-robot knative-prow-robot removed the do-not-merge/hold Indicates that a PR should not merge because someone has issued a /hold command. label Nov 24, 2020
@navidshaikh navidshaikh added this to the v0.20.0 milestone Nov 24, 2020
@navidshaikh navidshaikh added the backport/candidate Consider this PR to be backported to the release branch label Nov 24, 2020
@BbolroC
Copy link
Contributor Author

BbolroC commented Nov 24, 2020

/retest

@navidshaikh
Copy link
Collaborator

/test pull-knative-client-integration-tests

@knative-prow-robot knative-prow-robot merged commit 724b0bd into knative:master Nov 24, 2020
navidshaikh pushed a commit to navidshaikh/client that referenced this pull request Nov 25, 2020
navidshaikh pushed a commit to navidshaikh/client that referenced this pull request Nov 25, 2020
navidshaikh added a commit to navidshaikh/client that referenced this pull request Nov 25, 2020
navidshaikh added a commit to navidshaikh/client that referenced this pull request Nov 25, 2020
knative-prow-robot pushed a commit that referenced this pull request Nov 25, 2020
* Embed the namespace in request body while creating channels (#1117)

* Embed the namespace in request body while creating channels

 since on the eventing side, defaulting for channel isnt picking
 the namespace from the context (see knative/eventing#4514)

 workaround for #1100
 this changeset should be reverted when eventing#4514 is resolved

* Add CHANGELOG

* Update CHANGELOG for v0.19.1

* Cross-compile the kn binary for linux/s390x (#1083)

* Update CHANGELOG for v0.19.1

* Fix date in changelog

* Fix race conditions when creating watches (#1113)

* Fix a race condition between creating a watch and initiating the action that emits the event it is watching for

* update changelog

* add PR ID to changelog entry

* Fix merge in Changelog

* Fix table format in Changelog
knative-prow-robot pushed a commit that referenced this pull request Nov 25, 2020
* Cross-compile the kn binary for linux/s390x (#1083)

* Update CHANGELOG for kn v0.18.4

* Fix race conditions when creating watches (#1113)

* Fix a race condition between creating a watch and initiating the action that emits the event it is watching for

* update changelog

* add PR ID to changelog entry

* Fix merge in Changelog

* Fix table format in Changelog
@navidshaikh navidshaikh added backported-to/0.18 and removed backport/candidate Consider this PR to be backported to the release branch labels Nov 26, 2020
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. cla: yes Indicates the PR's author has signed the CLA. lgtm Indicates that a PR is ready to be merged. ok-to-test Indicates a non-member PR verified by an org member that is safe to test. size/XS Denotes a PR that changes 0-9 lines, ignoring generated files.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

5 participants