Skip to content

feat: update release pipeline to clone from oci bucket#2948

Merged
tekton-robot merged 1 commit intotektoncd:mainfrom
anithapriyanatarajan:fix-release-pipelines
Dec 1, 2025
Merged

feat: update release pipeline to clone from oci bucket#2948
tekton-robot merged 1 commit intotektoncd:mainfrom
anithapriyanatarajan:fix-release-pipelines

Conversation

@anithapriyanatarajan
Copy link
Contributor

@anithapriyanatarajan anithapriyanatarajan commented Nov 17, 2025

Changes

This pull request introduces support for drafting Tekton releases using artifacts stored in Oracle Cloud Storage (OCI), in addition to the existing GitHub-based workflow. The changes include:

  • Documentation update for using the new release-draft-oci pipeline to draft releases from Oracle Cloud Storage buckets, including instructions for configuring credentials and bucket paths in tekton/resources/release/README.md.
  • Added a new Tekton pipeline (release-draft-oci) and supporting task (create-draft-release-oci) in tekton/resources/release/base/github_release_oci.yaml to automate the process of downloading release manifests from OCI, generating release notes, and creating GitHub draft releases.
  • Added new Task (prerelease-checks-oci.yaml) that checks for presence of manifets version in oci bucket. The main consideration for pipelines consuming this task is users MUST pass the workspace reference to secret that includes the oci credentials for the cli to connect to the cluster.
    - name: precheck
      runAfter: [git-clone]
      taskRef:
        name:prerelease-checks-oci
      params:
        - name: package
          value: $(params.package)
        - name: versionTag
          value: $(params.versionTag)
        - name: releaseBucket
          value: $(params.releaseBucket)/$(params.repoName)
      workspaces:
        - name: source-to-release
          workspace: workarea
          subPath: git
        - name: oci-credentials
          workspace: release-secret
  • Updated tekton/resources/release/base/kustomization.yaml to include the new github_release_oci.yaml resource, ensuring the new pipeline and task are deployed.

/kind misc

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.

@tekton-robot tekton-robot added the kind/misc Categorizes issue or PR as a miscellaneuous one. label Nov 17, 2025
@tekton-robot tekton-robot added the size/L Denotes a PR that changes 100-499 lines, ignoring generated files. label Nov 17, 2025
@anithapriyanatarajan
Copy link
Contributor Author

@afrittoli @AlanGreene @vdemeester - This PR introduces a new pipeline release-draft-oci and task create-draft-release-oci that download release artifacts from Oracle Cloud Storage buckets instead of Google Cloud Storage.
To support a gradual migration:

  • Both GCS (release-draft) and OCI (release-draft-oci) versions could be maintained in parallel
  • Once all tektoncd repositories and their release cheat sheets are updated with OCI bucket configurations, we can deprecate and remove the GCS version
    This allows teams to migrate at their own pace without disrupting existing release processes.

@anithapriyanatarajan
Copy link
Contributor Author

/hold

@tekton-robot tekton-robot added the do-not-merge/hold Indicates that a PR should not merge because someone has issued a /hold command. label Nov 17, 2025
@anithapriyanatarajan
Copy link
Contributor Author

anithapriyanatarajan commented Nov 17, 2025

Marking it hold since the workspace has write permission issues while using the oci-cli conatiner image . This necessitated the need for adding
taskRunTemplate: podTemplate: securityContext: fsGroup: 1000
This is beacuse the download task definition has this added. Evaluating the implication of removing this. Once this is clarified would remove the hold on this PR

@anithapriyanatarajan anithapriyanatarajan force-pushed the fix-release-pipelines branch 2 times, most recently from ef8ff26 to 460750b Compare December 1, 2025 13:55
@anithapriyanatarajan
Copy link
Contributor Author

/hold cancel

@tekton-robot tekton-robot removed the do-not-merge/hold Indicates that a PR should not merge because someone has issued a /hold command. label Dec 1, 2025
@tekton-robot
Copy link
Contributor

[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

Details 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 approved Indicates a PR has been approved by an approver from all required OWNERS files. size/XL Denotes a PR that changes 500-999 lines, ignoring generated files. and removed size/L Denotes a PR that changes 100-499 lines, ignoring generated files. labels Dec 1, 2025
@anithapriyanatarajan anithapriyanatarajan force-pushed the fix-release-pipelines branch 2 times, most recently from e339891 to 155d3f5 Compare December 1, 2025 20:03
Copy link
Member

@afrittoli afrittoli left a comment

Choose a reason for hiding this comment

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

/lgtm

@tekton-robot tekton-robot added the lgtm Indicates that a PR is ready to be merged. label Dec 1, 2025
@tekton-robot tekton-robot merged commit 3f4165a into tektoncd:main Dec 1, 2025
27 checks passed
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. size/XL Denotes a PR that changes 500-999 lines, ignoring generated files.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants