operator
operator copied to clipboard
Remove creation of cluster task installersets
Changes
This patch will remove the creation of cluster task installersets but keep the existing cluster task installersets
Submitter Checklist
These are the criteria that every PR should meet, please check them off as you review them:
- [ ] Run
make test lintbefore submitting a PR - [ ] Includes tests (if functionality changed/added)
- [ ] Includes docs (if user facing)
- [ ] Commit messages follow commit message best practices
See the contribution guide for more details.
Release Notes
Skipping CI for Draft Pull Request.
If you want CI signal for your change, please convert it to an actual PR.
You can still manually trigger a test run with /test all
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/apis/operator/v1alpha1/tektonaddon_validation.go | 87.5% | 89.5% | 2.0 |
| pkg/reconciler/openshift/tektonaddon/cluster_task.go | 39.1% | 100.0% | 60.9 |
| pkg/reconciler/openshift/tektonaddon/transformer.go | 42.6% | 47.9% | 5.3 |
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/apis/operator/v1alpha1/tektonaddon_validation.go | 87.5% | 89.5% | 2.0 |
| pkg/reconciler/openshift/tektonaddon/cluster_task.go | 39.1% | 100.0% | 60.9 |
| pkg/reconciler/openshift/tektonaddon/transformer.go | 42.6% | 47.9% | 5.3 |
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/apis/operator/v1alpha1/tektonaddon_validation.go | 87.5% | 89.5% | 2.0 |
| pkg/reconciler/openshift/tektonaddon/cluster_task.go | 39.1% | 100.0% | 60.9 |
| pkg/reconciler/openshift/tektonaddon/transformer.go | 42.6% | 47.9% | 5.3 |
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/apis/operator/v1alpha1/tektonaddon_validation.go | 87.5% | 89.5% | 2.0 |
| pkg/reconciler/openshift/tektonaddon/cluster_task.go | 39.1% | 100.0% | 60.9 |
| pkg/reconciler/openshift/tektonaddon/transformer.go | 42.6% | 47.9% | 5.3 |
cc @jkandasa
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/apis/operator/v1alpha1/tektonaddon_validation.go | 87.5% | 89.5% | 2.0 |
| pkg/reconciler/openshift/tektonaddon/cluster_task.go | 39.1% | 100.0% | 60.9 |
| pkg/reconciler/openshift/tektonaddon/transformer.go | 42.6% | 47.9% | 5.3 |
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/apis/operator/v1alpha1/tektonaddon_validation.go | 87.5% | 89.5% | 2.0 |
| pkg/reconciler/openshift/tektonaddon/cluster_task.go | 39.1% | 100.0% | 60.9 |
| pkg/reconciler/openshift/tektonaddon/transformer.go | 42.6% | 47.9% | 5.3 |
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/apis/operator/v1alpha1/tektonaddon_validation.go | 87.5% | 89.5% | 2.0 |
| pkg/reconciler/openshift/tektonaddon/cluster_task.go | 39.1% | 100.0% | 60.9 |
| pkg/reconciler/openshift/tektonaddon/transformer.go | 42.6% | 47.9% | 5.3 |
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/apis/operator/v1alpha1/tektonaddon_validation.go | 87.5% | 89.5% | 2.0 |
| pkg/reconciler/openshift/tektonaddon/transformer.go | 42.6% | 56.1% | 13.5 |
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/apis/operator/v1alpha1/tektonaddon_validation.go | 87.5% | 89.5% | 2.0 |
| pkg/reconciler/openshift/tektonaddon/transformer.go | 42.6% | 56.1% | 13.5 |
/retest
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/apis/operator/v1alpha1/tektonaddon_validation.go | 87.5% | 89.5% | 2.0 |
| pkg/reconciler/openshift/tektonaddon/transformer.go | 42.6% | 56.1% | 13.5 |
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/apis/operator/v1alpha1/tektonaddon_validation.go | 87.5% | 89.5% | 2.0 |
| pkg/reconciler/openshift/tektonaddon/transformer.go | 42.6% | 56.1% | 13.5 |
@pratap0007 You need to change these templates https://github.com/tektoncd/operator/blob/main/cmd/openshift/operator/kodata/tekton-addon/tekton-pipeline-template/pipeline_using_workspace.yaml#L25-L26 to use the resolverTasks now instead of ClusterTask
Use below sample format instead of clusterTask
tasks:
- name: kn-run
taskRef:
resolver: cluster
params:
- name: kind
value: task
- name: name
value: kn
- name: namespace
value: openshift-pipelines
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/apis/operator/v1alpha1/tektonaddon_validation.go | 87.5% | 89.5% | 2.0 |
| pkg/reconciler/openshift/tektonaddon/transformer.go | 42.6% | 56.1% | 13.5 |
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/apis/operator/v1alpha1/tektonaddon_validation.go | 87.5% | 90.9% | 3.4 |
| pkg/reconciler/openshift/tektonaddon/transformer.go | 42.6% | 56.1% | 13.5 |
Thanks @savitaashture @PuneetPunamiya @ppitonak @jkhelil for review and I have updated, please take a final review
/retest
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/apis/operator/v1alpha1/tektonaddon_validation.go | 87.5% | 90.9% | 3.4 |
| pkg/reconciler/openshift/tektonaddon/transformer.go | 42.6% | 56.1% | 13.5 |
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/apis/operator/v1alpha1/tektonaddon_validation.go | 87.5% | 90.9% | 3.4 |
| pkg/reconciler/openshift/tektonaddon/transformer.go | 42.6% | 56.1% | 13.5 |
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/apis/operator/v1alpha1/tektonaddon_validation.go | 87.5% | 90.9% | 3.4 |
| pkg/reconciler/openshift/tektonaddon/transformer.go | 42.6% | 56.1% | 13.5 |
[APPROVALNOTIFIER] This PR is APPROVED
This pull-request has been approved by: jkandasa
The full list of commands accepted by this bot can be found here.
The pull request process is described here
- ~~OWNERS~~ [jkandasa]
Approvers can indicate their approval by writing /approve in a comment
Approvers can cancel approval by writing /approve cancel in a comment
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/apis/operator/v1alpha1/tektonaddon_validation.go | 87.5% | 90.9% | 3.4 |
| pkg/reconciler/openshift/tektonaddon/transformer.go | 42.6% | 56.1% | 13.5 |
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/apis/operator/v1alpha1/tektonaddon_validation.go | 87.5% | 90.9% | 3.4 |
| pkg/reconciler/openshift/tektonaddon/transformer.go | 42.6% | 56.1% | 13.5 |
lgtm
/lgtm
LGTM
tested manually
- Fresh install
- ClusterTasks and related InstallerSets removed
- Upgraded
- ClusterTasks and related InstallerSets removed
Fresh install ClusterTasks and related InstallerSets removed
@savitaashture on a fresh install, the ClusterTasks and related installerSets should not be installed, so nothing to remove. Can you please confirm?