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

Install kn tasks only on architectures with knative client #812

Merged
merged 1 commit into from
May 30, 2022

Conversation

yselkowitz
Copy link
Contributor

Changes

Which, currently, does not include ARM. If/when that changes, it is suggested to simply add "arm64" instead of making these unconditional again (as was done in commit 4c80f34).

Submitter Checklist

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

See the contribution guide for more details.

Release Notes

NONE

@tekton-robot tekton-robot added the release-note-none Denotes a PR that doesnt merit a release note. label May 26, 2022
@linux-foundation-easycla
Copy link

linux-foundation-easycla bot commented May 26, 2022

CLA Signed

The committers listed above are authorized under a signed CLA.

  • ✅ login: yselkowitz / name: Yaakov Selkowitz (ca03536)

@tekton-robot
Copy link
Contributor

Hi @yselkowitz. 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. size/M Denotes a PR that changes 30-99 lines, ignoring generated files. labels May 26, 2022
@yselkowitz
Copy link
Contributor Author

/cc @concaf

@tekton-robot tekton-robot requested a review from concaf May 26, 2022 16:22
@concaf
Copy link
Contributor

concaf commented May 26, 2022

/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 May 26, 2022
@tekton-robot
Copy link
Contributor

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

File Old Coverage New Coverage Delta
pkg/reconciler/openshift/tektonaddon/pipelinetemplates/pipelinetemplates.go 86.2% 86.5% 0.3

Which, currently, does not include ARM.  If/when that changes, it is
suggested to simply add "arm64" instead of making these unconditional
again (as was done in commit 4c80f34).
@tekton-robot
Copy link
Contributor

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

File Old Coverage New Coverage Delta
pkg/reconciler/openshift/tektonaddon/pipelinetemplates/pipelinetemplates.go 86.2% 86.5% 0.3

@yselkowitz
Copy link
Contributor Author

tests have passed
/assign @concaf

@concaf
Copy link
Contributor

concaf commented May 27, 2022

/assign @nikhil-thomas @vdemeester

@nikhil-thomas
Copy link
Member

@yselkowitz i see that this patch does two things:

  1. disable installation of all kn, kn-apply ClusterTasks
  2. skip the creation of +Add-flow Pipelines (default Pipelines) which use knative serving deployment as the deployment type

@pradeepitm12 what do you think about the change in the pipeline generation part.

@yselkowitz

  1. could you confirm '2' is also an expected change.
  2. could you add a release not mentioning both these changes.

&pipeline{environment: "knative", nameSuffix: "-knative", generateDeployTask: knativeDeployTask},
}

// install knative tasks only where knative is available
Copy link
Contributor

Choose a reason for hiding this comment

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

👍

@pradeepitm12
Copy link
Contributor

/lgtm

@tekton-robot tekton-robot added the lgtm Indicates that a PR is ready to be merged. label May 27, 2022
@yselkowitz
Copy link
Contributor Author

1. could you confirm '2' is also an expected change.

Specifically, only on architectures which do not have OpenShift Serverless, namely arm64. This matches what was done for ppc64le and s390x when they were in a similar state, and was then dropped by 4c80f34 once Serverless was available thereon. Whenever Serverless does become available on ARM, instead of removing these conditionals again, I suggest that "arm64" simply be added to the list of knative architectures.

2. could you add a release not mentioning both these changes.

There should be no effect for existing users (which are on X/P/Z), this is only a prerequisite of the general ARM enablement.

@nikhil-thomas
Copy link
Member

390x when they were in a similar state, and was then dropped by 4c80f34 once Serverless was available thereon. Whenever Serverless does become available on ARM, instead of removing these conditionals again, I suggest that "arm64" simply be added to the list of knative architectures

Thanks 👍
/lgtm
/approve

@tekton-robot
Copy link
Contributor

[APPROVALNOTIFIER] This PR is APPROVED

This pull-request has been approved by: nikhil-thomas

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 May 30, 2022
@tekton-robot tekton-robot merged commit 279cad0 into tektoncd:main May 30, 2022
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. 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.

6 participants