Skip to content

CHORE: harden OneBranch artifact handoff + TSA bug template - #567

Merged
Gaurav Sharma (bewithgaurav) merged 2 commits into
devfrom
bewithgaurav/chore-onebranch-pipeline-artifacts
Aug 7, 2026
Merged

CHORE: harden OneBranch artifact handoff + TSA bug template#567
Gaurav Sharma (bewithgaurav) merged 2 commits into
devfrom
bewithgaurav/chore-onebranch-pipeline-artifacts

Conversation

@bewithgaurav

Copy link
Copy Markdown
Collaborator

Follow-up chore on the OneBranch pipeline series. Removes the artifact-handoff fragility and aligns to the mssql-python conventions.

Changes

  • Build — stage sdist/wheel under $(ob_outputDirectory)/dist and publish them as an explicitly-named drop_build_build artifact (PublishPipelineArtifact@1). Removes reliance on OneBranch auto-publish naming. Also drops the redundant ManifestGeneratorTask — the OneBranch Official template already generates the SBOM via globalSdl.sbom.
  • Official + Dummy — point the artifact verify step and the ESRP FolderLocation at drop_build_build/dist, so the release pipelines consume the exact directory the build publishes (known name + path, no guessing).
  • tsaoptions.json — add "template": "MSDATA_RevolutionR", the mssql-django ADO project's existing TSA bug-template mapping, so the first Official build can onboard the TSA codebase cleanly.

No product code changes. Pipelines only.

Build now stages sdist/wheel under $(ob_outputDirectory)/dist and publishes
them as an explicitly-named 'drop_build_build' artifact, so the official and
dummy release pipelines consume a known artifact name + path
(drop_build_build/dist) instead of relying on OneBranch auto-publish naming.

- build: stage into out/dist, add PublishPipelineArtifact 'drop_build_build';
  drop redundant ManifestGeneratorTask (OneBranch Official template auto-SBOMs
  via globalSdl.sbom).
- official + dummy: point verify + ESRP FolderLocation at drop_build_build/dist.
- tsaoptions.json: add "template": "MSDATA_RevolutionR" (the mssql-django ADO
  project's existing TSA bug-template mapping) so the first Official build can
  onboard the codebase cleanly.

Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
Copilot AI lite review requested due to automatic review settings August 7, 2026 09:05

Copilot AI left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

Pull request overview

This PR hardens the OneBranch build→release artifact handoff by publishing the Python dist output as an explicitly named pipeline artifact and updating the official/dummy release pipelines to consume a stable artifact path; it also adds a TSA bug-template mapping for onboarding.

Changes:

  • Build pipeline now stages wheel/sdist under $(ob_outputDirectory)/dist and publishes an explicitly named pipeline artifact (drop_build_build).
  • Official + dummy release pipelines now verify and ESRP-release from drop_build_build/dist (stable name + path).
  • TSA options add a "template" value to align with the ADO project’s existing bug-template mapping.

Reviewed changes

Copilot reviewed 4 out of 4 changed files in this pull request and generated 1 comment.

File Description
OneBranchPipelines/official-release-pipeline.yml Point validation + ESRP FolderLocation at drop_build_build/dist.
OneBranchPipelines/dummy-release-pipeline.yml Point validation + ESRP FolderLocation at drop_build_build/dist.
OneBranchPipelines/build-release-package-pipeline.yml Stage dist under out/dist and publish a named pipeline artifact for downstream consumption.
.config/tsaoptions.json Add TSA bug template mapping (template).

Comment thread OneBranchPipelines/build-release-package-pipeline.yml
@bewithgaurav
Gaurav Sharma (bewithgaurav) merged commit e54f246 into dev Aug 7, 2026
6 of 28 checks passed
@bewithgaurav Gaurav Sharma (bewithgaurav) changed the title chore(pipelines): harden OneBranch artifact handoff + TSA bug template CHORE: harden OneBranch artifact handoff + TSA bug template Aug 7, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants