Skip to content

Revert Jenkins build migration - #235

Merged
nithishr merged 2 commits into
mainfrom
revert/jenkins-build-migration
Aug 13, 2026
Merged

Revert Jenkins build migration#235
nithishr merged 2 commits into
mainfrom
revert/jenkins-build-migration

Conversation

@nithishr

@nithishr nithishr commented Aug 13, 2026

Copy link
Copy Markdown
Collaborator

Related Issue

Reverts issues with release scripts

Resolves:

What does this change do?

Reverts commits that migrated the build actions to Jenkins

Why is this change needed?

The Jenkins build process has some issues with the existing release process in the MCP server that we need to fix before migrating.

Evidence of Testing

Automated tests — commands run and results summary:

# e.g. uv run pytest tests/unit/  →  142 passed
# e.g. uv run pytest tests/integration/  →  38 passed, 2 skipped

No code changes from RC1 build. Tests are part of the Github Action Checks

Environments tested (both are required):

  • Couchbase Capella (version: ____)
  • Self-managed Couchbase Server (version: ____, e.g. via Docker)

Manual verification — MCP client used (Claude Desktop, Cursor, MCP Inspector, ...) and what was exercised. Screenshots or tool-call transcripts are very helpful:

Compatibility Considerations

Checklist

  • Linked to an issue (required for new tools). The issue can be on JIRA (preferred for internal contributors) or GitHub.
  • Uses the Couchbase SDK (REST fallback justified in the description, if any)
  • Works on both Capella and self-managed Couchbase Server
  • No changes to cb_mcp.core contracts / managed MCP interfaces (or discussed first)
  • Unit tests added/updated
  • Integration tests added/updated (for cluster-touching changes)
  • Read-only mode and tool annotations handled (for new/changed tools)
  • Evidence of testing included above
  • Docs updated (README, DOCKER.md) for user-facing changes
  • Lint and pre-commit pass

@nithishr
nithishr requested a lite review from Copilot August 13, 2026 13:37
@nithishr
nithishr marked this pull request as ready for review August 13, 2026 13:37

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 reverts the previous Jenkins-based release/build migration by moving Python (TestPyPI/PyPI) publishing and Docker image publishing back into GitHub Actions workflows.

Changes:

  • Replace Jenkins-triggered TestPyPI/PyPI publishing with in-workflow uv build + trusted publishing (pypa/gh-action-pypi-publish).
  • Replace Jenkins-triggered Docker publishing with docker/* GitHub Actions (metadata, buildx, build/push, and Hub description update).
  • Remove the Jenkins-based “Build Wheel” workflow and simplify release triggering to tag pushes.

Reviewed changes

Copilot reviewed 4 out of 5 changed files in this pull request and generated 4 comments.

Show a summary per file
File Description
.github/workflows/update-mcp-registry.yml Minor formatting/line-number-only change in the completion message step.
.github/workflows/test_release.yml Replaces Jenkins TestPyPI upload flow with uv build + trusted publishing on tag push / manual dispatch.
.github/workflows/release.yml Replaces Jenkins PyPI release flow with uv build + trusted publishing and GitHub Release creation.
.github/workflows/docker.yml Replaces Jenkins Docker publish flow with GitHub Actions build/push via Buildx + metadata-based tagging.
.github/workflows/build-wheel.yml Removes the Jenkins-driven wheel build workflow.
Suppressed comments (2)

.github/workflows/test_release.yml:18

  • For workflow_dispatch, actions/checkout will default to the branch selected in the UI (often main), not the version tag you intend to publish. Checking out the provided tag input makes the published artifacts match the requested release.
      - name: Checkout repository
        uses: actions/checkout@9c091bb21b7c1c1d1991bb908d89e4e9dddfe3e0 # v7.0.0

.github/workflows/release.yml:34

  • When this workflow is run via workflow_dispatch, softprops/action-gh-release won’t infer a tag from github.ref (it will be a branch ref). Provide tag_name so the release is created for the intended version tag.
        uses: softprops/action-gh-release@718ea10b132b3b2eba29c1007bb80653f286566b # v3.0.1

💡 Add a code-review agent skill or configure MCP servers for context-aware, tailored reviews. Learn more in the docs.

Comment on lines 3 to 7
on:
workflow_run:
workflows: ["Build Wheel"]
types: [completed]
push:
tags:
- "v[0-9]+.[0-9]+.[0-9]+*" # Match tags like v0.1.0, v1.2.3, v1.2.3-alpha.1
workflow_dispatch:
Comment on lines +13 to 15
permissions:
id-token: write # Required for trusted publishing

Comment on lines 3 to 7
on:
workflow_run:
workflows: ["Build Wheel"]
types: [completed]
push:
tags:
- "v[0-9]+.[0-9]+.[0-9]+*" # Match tags like v0.1.0, v1.2.3, v1.2.3-alpha.1
workflow_dispatch:
Comment on lines +18 to +19
- name: Checkout repository
uses: actions/checkout@9c091bb21b7c1c1d1991bb908d89e4e9dddfe3e0 # v7.0.0
@nithishr nithishr changed the title Revert/jenkins build migration Revert Jenkins build migration Aug 13, 2026
@nithishr
nithishr merged commit 933e8b8 into main Aug 13, 2026
18 checks passed
@nithishr
nithishr deleted the revert/jenkins-build-migration branch August 17, 2026 12:14
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