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

Adding power (ppc64le) architecture image mappings #3630

Merged
merged 1 commit into from
Feb 18, 2021

Conversation

bahetiamit
Copy link
Contributor

@bahetiamit bahetiamit commented Dec 11, 2020

Changes

  • Adds ppc64le architecture image mappings
  • Excludes some of the test cases for ppc64le

/kind misc

Submitter Checklist

These are the criteria that every PR should meet, please check them off as you
review them:

  • Includes tests (if functionality changed/added)
  • Includes docs (if user facing)
  • Commit messages follow commit message best practices
  • Release notes block has been filled in or deleted (only if no user facing changes)

See the contribution guide for more details.

Double check this list of stuff that's easy to miss:

Reviewer Notes

If API changes are included, additive changes must be approved by at least two OWNERS and backwards incompatible changes must be approved by more than 50% of the OWNERS, and they must first be added in a backwards compatible way.

Release Notes

NONE

@tekton-robot tekton-robot added the do-not-merge/release-note-label-needed Indicates that a PR should not merge because it's missing one of the release note labels. label Dec 11, 2020
@tekton-robot tekton-robot added the size/M Denotes a PR that changes 30-99 lines, ignoring generated files. label Dec 11, 2020
@tekton-robot
Copy link
Collaborator

Hi @bahetiamit. Thanks for your PR.

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

@tekton-robot tekton-robot added needs-ok-to-test Indicates a PR that requires an org member to verify it is safe to test. release-note-none Denotes a PR that doesnt merit a release note. kind/misc Categorizes issue or PR as a miscellaneuous one. and removed do-not-merge/release-note-label-needed Indicates that a PR should not merge because it's missing one of the release note labels. labels Dec 11, 2020
test/multiarch_utils.go Outdated Show resolved Hide resolved
@ghost
Copy link

ghost commented Dec 11, 2020

/ok-to-test

@tekton-robot tekton-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 Dec 11, 2020
@tekton-robot
Copy link
Collaborator

The following is the coverage report on the affected files.
Say /test pull-tekton-pipeline-go-coverage to re-run this coverage report

File Old Coverage New Coverage Delta
test/multiarch_utils.go 63.6% 56.0% -7.6

@tekton-robot
Copy link
Collaborator

The following is the coverage report on the affected files.
Say /test pull-tekton-pipeline-go-coverage to re-run this coverage report

File Old Coverage New Coverage Delta
test/multiarch_utils.go 63.6% 56.0% -7.6

@vdemeester
Copy link
Member

@sbwsg anyway to look at #3550 too 🐼 (might affect this)

@@ -106,14 +118,44 @@ func imageNamesMapping() map[string]string {
"stedolan/jq": "ibmcom/jq-s390x:latest",
"gcr.io/kaniko-project/executor:v1.3.0": getTestImage(kanikoImage),
}
case "ppc64le":
return map[string]string{
"gcr.io/tekton-releases/dogfooding/alpine-git-nonroot:mario": "gcr.io/tekton-releases/dogfooding/alpine-git-nonroot:latest",
Copy link
Member

Choose a reason for hiding this comment

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

This image is not used in tests any more

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Thanks for pointing out. Removed this unused mapping.

"mikefarah/yq": "danielxlee/yq:2.4.0",
"stedolan/jq": "ibmcom/jq-ppc64le:latest",
"gcr.io/kaniko-project/executor:v1.3.0": getTestImage(kanikoImage),
"quay.io/rhpipeline/skopeo:alpine": "ibmcom/skopeo-ppc64le",
Copy link
Member

Choose a reason for hiding this comment

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

This image is not used in tests any more

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Updated

@tekton-robot
Copy link
Collaborator

The following is the coverage report on the affected files.
Say /test pull-tekton-pipeline-go-coverage to re-run this coverage report

File Old Coverage New Coverage Delta
test/multiarch_utils.go 63.6% 56.0% -7.6

@bahetiamit
Copy link
Contributor Author

/test pull-tekton-pipeline-integration-tests

@tekton-robot
Copy link
Collaborator

The following is the coverage report on the affected files.
Say /test pull-tekton-pipeline-go-coverage to re-run this coverage report

File Old Coverage New Coverage Delta
test/multiarch_utils.go 63.6% 56.0% -7.6

@tekton-robot
Copy link
Collaborator

[APPROVALNOTIFIER] This PR is APPROVED

This pull-request has been approved by: vdemeester

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

@tekton-robot tekton-robot added the approved Indicates a PR has been approved by an approver from all required OWNERS files. label Dec 16, 2020
@tekton-robot
Copy link
Collaborator

The following is the coverage report on the affected files.
Say /test pull-tekton-pipeline-go-coverage to re-run this coverage report

File Old Coverage New Coverage Delta
test/multiarch_utils.go 63.6% 56.0% -7.6

@bahetiamit
Copy link
Contributor Author

/test pull-tekton-pipeline-integration-tests

@bahetiamit
Copy link
Contributor Author

Is there any issue with build infra? pull-tekton-pipeline-integration-tests seems to be failing.

@vdemeester
Copy link
Member

@bahetiamit hum, this is happening on all PRs it seems, something changed somewhere 😓

@bahetiamit
Copy link
Contributor Author

/test pull-tekton-pipeline-integration-tests

@bahetiamit
Copy link
Contributor Author

@afrittoli Please see if you can find time to review this

@tekton-robot tekton-robot added the needs-rebase Indicates a PR cannot be merged because it has merge conflicts with HEAD. label Jan 26, 2021
@tekton-robot tekton-robot removed the needs-rebase Indicates a PR cannot be merged because it has merge conflicts with HEAD. label Jan 28, 2021
@tekton-robot
Copy link
Collaborator

The following is the coverage report on the affected files.
Say /test pull-tekton-pipeline-go-coverage to re-run this coverage report

File Old Coverage New Coverage Delta
test/multiarch_utils.go 63.6% 56.0% -7.6

@bahetiamit
Copy link
Contributor Author

/test pull-tekton-pipeline-build-tests

@bahetiamit
Copy link
Contributor Author

/test pull-tekton-pipeline-build-tests
/test pull-tekton-pipeline-integration-tests

@tekton-robot
Copy link
Collaborator

The following is the coverage report on the affected files.
Say /test pull-tekton-pipeline-go-coverage to re-run this coverage report

File Old Coverage New Coverage Delta
test/multiarch_utils.go 63.6% 56.0% -7.6

@bahetiamit
Copy link
Contributor Author

@vdemeester I am not sure why pull-tekton-pipeline-build-tests is failing. Are you aware of any issue with build infra?

@vdemeester
Copy link
Member

@bahetiamit looking at the log

-------------------------------------------
---- Checking go code style with gofmt ----
-------------------------------------------
diff -u test/multiarch_utils.go.orig test/multiarch_utils.go
--- test/multiarch_utils.go.orig	2021-01-29 09:45:57.785742280 +0000
+++ test/multiarch_utils.go	2021-01-29 09:45:57.785742280 +0000
@@ -74,20 +74,20 @@
 		}
 	case "ppc64le":
 		return map[int]string{
-			busyboxImage:  "busybox@sha256:4f47c01fa91355af2865ac10fef5bf6ec9c7f42ad2321377c21e844427972977",
-			registryImage: "ppc64le/registry:2",
-			kubectlImage:  "ibmcom/kubectl:v1.13.9",
-			helmImage:     "ibmcom/helm-ppc64le:latest",
-			kanikoImage:   "ibmcom/kaniko-project-executor-ppc64le:v0.17.1",
+			busyboxImage:   "busybox@sha256:4f47c01fa91355af2865ac10fef5bf6ec9c7f42ad2321377c21e844427972977",
+			registryImage:  "ppc64le/registry:2",
+			kubectlImage:   "ibmcom/kubectl:v1.13.9",
+			helmImage:      "ibmcom/helm-ppc64le:latest",
+			kanikoImage:    "ibmcom/kaniko-project-executor-ppc64le:v0.17.1",
 			dockerizeImage: "ibmcom/dockerize-ppc64le",
 		}
 	default:
 		return map[int]string{
-			busyboxImage:  "busybox@sha256:895ab622e92e18d6b461d671081757af7dbaa3b00e3e28e12505af7817f73649",
-			registryImage: "registry",
-			kubectlImage:  "lachlanevenson/k8s-kubectl",
-			helmImage:     "alpine/helm:3.1.2",
-			kanikoImage:   "gcr.io/kaniko-project/executor:v1.3.0",
+			busyboxImage:   "busybox@sha256:895ab622e92e18d6b461d671081757af7dbaa3b00e3e28e12505af7817f73649",
+			registryImage:  "registry",
+			kubectlImage:   "lachlanevenson/k8s-kubectl",
+			helmImage:      "alpine/helm:3.1.2",
+			kanikoImage:    "gcr.io/kaniko-project/executor:v1.3.0",
 			dockerizeImage: "jwilder/dockerize",
 		}
 	}

I think you need to do a gofmt -s -w on that file.

@tekton-robot
Copy link
Collaborator

The following is the coverage report on the affected files.
Say /test pull-tekton-pipeline-go-coverage to re-run this coverage report

File Old Coverage New Coverage Delta
test/multiarch_utils.go 63.6% 56.0% -7.6

@bahetiamit
Copy link
Contributor Author

Thanks @vdemeester. All checks are green now.

Copy link
Member

@imjasonh imjasonh left a comment

Choose a reason for hiding this comment

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

/lgtm

registryImage: "ppc64le/registry:2",
kubectlImage: "ibmcom/kubectl:v1.13.9",
helmImage: "ibmcom/helm-ppc64le:latest",
kanikoImage: "ibmcom/kaniko-project-executor-ppc64le:v0.17.1",
Copy link
Member

Choose a reason for hiding this comment

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

Is there any possibility of having ppc64le support in the official kaniko images? They recently started publishing multiarch images, so it shouldn't be too difficult to add unless I'm missing something

@tekton-robot tekton-robot added the lgtm Indicates that a PR is ready to be merged. label Feb 18, 2021
@tekton-robot tekton-robot merged commit 669255f into tektoncd:master Feb 18, 2021
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. kind/misc Categorizes issue or PR as a miscellaneuous one. 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. release-note-none Denotes a PR that doesnt merit a release note. size/M Denotes a PR that changes 30-99 lines, ignoring generated files.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

5 participants