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

Enable builds/ testing on ppc64le architecture #613

Merged
merged 2 commits into from
Jun 1, 2021
Merged

Enable builds/ testing on ppc64le architecture #613

merged 2 commits into from
Jun 1, 2021

Conversation

krishvoor
Copy link
Contributor

This PR will allow to build container image
and allow e2e testing on ppc64le architecture

Signed-off-by: Krishna Harsha Voora krishvoor@in.ibm.com

This PR will allow to build container image
and allow e2e testing on ppc64le architecture

Signed-off-by: Krishna Harsha Voora <krishvoor@in.ibm.com>
@openshift-ci
Copy link

openshift-ci bot commented Jun 1, 2021

Hi @krishvoor. Thanks for your PR.

I'm waiting for a 3scale 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.

@@ -18,7 +18,8 @@ COPY pkg/ pkg/
COPY version/ version/

# Build
RUN CGO_ENABLED=0 GOOS=linux GOARCH=amd64 GO111MODULE=on go build -a -o manager main.go
Copy link
Member

Choose a reason for hiding this comment

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

Why not

RUN CGO_ENABLED=0 GOOS=linux GOARCH=`go env GOARCH` GO111MODULE=on go build -a -o manager main.go

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Makes sense, will update.

@@ -66,7 +66,7 @@ TEST_E2E_PKGS = $(shell $(GO) list ./... | grep 'github.com/3scale/3scale-operat
ENVTEST_ASSETS_DIR=$(PROJECT_PATH)/testbin
test-e2e: generate fmt vet manifests
mkdir -p ${ENVTEST_ASSETS_DIR}
test -f $(ENVTEST_ASSETS_DIR)/setup-envtest.sh || curl -sSLo $(ENVTEST_ASSETS_DIR)/setup-envtest.sh https://raw.githubusercontent.com/kubernetes-sigs/controller-runtime/v0.6.3/hack/setup-envtest.sh
Copy link
Member

Choose a reason for hiding this comment

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

controller-runtime v0.6.3 is being used when compiling the operator.

Why should we change the version?

Copy link
Contributor Author

Choose a reason for hiding this comment

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

controller-runtime v0.6.3 does not contain ppc64le compatible kubebuilder-tools.
Bumping up the controller-runtime v0.8.0 will allow test-e2e to be executed on ppc64le as well.

This PR will allow to build container image
and allow e2e testing on ppc64le architecture

Signed-off-by: Krishna Harsha Voora <krishvoor@in.ibm.com>
@codeclimate
Copy link

codeclimate bot commented Jun 1, 2021

Code Climate has analyzed commit 939de00 and detected 0 issues on this pull request.

View more on Code Climate.

@eguzki
Copy link
Member

eguzki commented Jun 1, 2021

/ok-to-test

@eguzki eguzki merged commit 8969a8e into 3scale:master Jun 1, 2021
@eguzki eguzki mentioned this pull request Aug 12, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants