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

[main] ignore enable-tekton-oci-bundles feature flag #2344

Merged
merged 1 commit into from
Sep 26, 2024

Conversation

jkandasa
Copy link
Member

Changes

  • feature flag enable-tekton-oci-bundles support removed and added into main stream. Supplying enable-tekton-oci-bundles=true can lead issue with pipeline controller. Hence ignore enable-tekton-oci-bundles values from TektonConfig CR and/or TektonPipelines CR.
  • keeping enable-tekton-oci-bundles in operator to maintain the API compatibility
  • originally removed from pipeline controller on Remove taskref/pipelineref deprecated bundle field pipeline#7789

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

pipeline feature flag `enable-tekton-oci-bundles` will be ignored.

@tekton-robot tekton-robot added the release-note Denotes a PR that will be considered when it comes time to generate release notes. label Sep 24, 2024
@tekton-robot tekton-robot added the size/L Denotes a PR that changes 100-499 lines, ignoring generated files. label Sep 24, 2024
@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/apis/operator/v1alpha1/tektonpipeline_defaults.go 93.4% 93.3% -0.1
pkg/reconciler/kubernetes/tektonpipeline/transform.go 78.5% 89.8% 11.3

@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/apis/operator/v1alpha1/tektonpipeline_defaults.go 93.4% 93.3% -0.1
pkg/reconciler/kubernetes/tektonpipeline/transform.go 78.5% 89.8% 11.3

@jkandasa
Copy link
Member Author

/test pull-tekton-operator-integration-tests

// not in use, see: https://github.com/tektoncd/pipeline/pull/7789
// this field is removed from pipeline component
// keeping here to maintain the API compatibility
EnableTektonOciBundles *bool `json:"enable-tekton-oci-bundles,omitempty"`
Copy link
Member

Choose a reason for hiding this comment

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

So in the next or later release we can directly remove this field right from the API, since we are setting this to nil in defaulting ?

Copy link
Member Author

Choose a reason for hiding this comment

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

@PuneetPunamiya we never remove this from v1alpha1 API

Comment on lines +371 to +373
// not in use, see: https://github.com/tektoncd/pipeline/pull/7789
// this field is removed from pipeline component
// keeping in types to maintain the API compatibility
Copy link
Member

Choose a reason for hiding this comment

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

I think we don't need this comment here

@PuneetPunamiya
Copy link
Member

Thanks 🤙🏻
/approve

@tekton-robot tekton-robot added the approved Indicates a PR has been approved by an approver from all required OWNERS files. label Sep 25, 2024
@tekton-robot
Copy link
Contributor

[APPROVALNOTIFIER] This PR is APPROVED

This pull-request has been approved by: PuneetPunamiya, 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:
  • OWNERS [PuneetPunamiya,vdemeester]

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

@savitaashture
Copy link
Contributor

tested fresh and upgrade scenario works fine

Thank you
LGTM

@PuneetPunamiya lets merge when your comment #2344 (comment) resolve

@savitaashture
Copy link
Contributor

tested fresh and upgrade scenario works fine

Thank you LGTM

@PuneetPunamiya lets merge when your comment #2344 (comment) resolve

As per the discussion with Puneet merging this PR now
But @jkandasa whenever you are back from PTO take care of that comment thank you

/lgtm

@tekton-robot tekton-robot added the lgtm Indicates that a PR is ready to be merged. label Sep 26, 2024
@savitaashture
Copy link
Contributor

/cherry-pick release-v0.73.x

@tekton-robot
Copy link
Contributor

@savitaashture: once the present PR merges, I will cherry-pick it on top of release-v0.73.x in a new PR and assign it to you.

In response to this:

/cherry-pick release-v0.73.x

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 merged commit d603a74 into tektoncd:main Sep 26, 2024
8 checks passed
@tekton-robot
Copy link
Contributor

@savitaashture: new pull request created: #2351

In response to this:

/cherry-pick release-v0.73.x

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.

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. release-note Denotes a PR that will be considered when it comes time to generate release notes. size/L Denotes a PR that changes 100-499 lines, ignoring generated files.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

5 participants