Skip to content

Add release workflow#50

Merged
kaje94 merged 2 commits into
wso2:mainfrom
senithkay:add-versioning
Jun 17, 2026
Merged

Add release workflow#50
kaje94 merged 2 commits into
wso2:mainfrom
senithkay:add-versioning

Conversation

@senithkay

Copy link
Copy Markdown
Contributor

Purpose

Add release workflows

@coderabbitai

coderabbitai Bot commented Jun 17, 2026

Copy link
Copy Markdown

Review Change Stack

Caution

Review failed

Pull request was closed or merged during review

📝 Walkthrough

Overview

This pull request introduces a comprehensive release workflow infrastructure and updates version management for the project. The changes include new CI/CD automation for managed releases, updated Helm chart versioning, and modified image references to the wso2 organization.

Workflow Changes

New Release Automation

A new release.yml workflow enables controlled releases through manual triggering with a target version input. The workflow orchestrates a multi-stage release process:

  • Prepare Release: Executes version update script, commits changes to Helm charts, creates annotated git tags, and pushes to repository
  • Build Images: Creates multi-architecture Docker images (linux/amd64, linux/arm64) for three components (asdlc-api, agents-service, asdlc-console) and pushes to GHCR registry
  • Publish Chart: Builds chart dependencies, packages the Helm chart, and publishes it to GHCR OCI registry
  • Create Release: Generates GitHub Release with auto-generated notes

Helm Chart Validation

A new helm-charts-pr-check.yml workflow runs on push and pull request events when Helm chart files are modified. It validates charts by running dependency builds, linting, and template rendering.

Modified Build Workflow

The build-images.yml workflow has been refocused to run only on pull requests rather than on pushes to main. Images are now built without being pushed, removing the registry login and publish tagging steps.

Removed Workflow

The publish-chart.yml workflow has been removed, as chart publishing is now integrated into the release workflow.

Version Management

A new shell script .github/scripts/update-versions.sh automates version updates across multiple files. It replaces 0.0.0-dev placeholders with specified release versions in Helm chart metadata and container image tags.

Configuration Updates

Helm Chart Versions

All Helm charts have been reset to 0.0.0-dev for both chart and app versions:

  • wso2-ae-oc-extensions: versions reset from 0.3.0/0.2.0 to 0.0.0-dev
  • wso2-ae-platform: versions reset from 0.2.0 to 0.0.0-dev
  • wso2-agentic-engineer-bundle: versions reset from 0.5.0/0.4.0 to 0.0.0-dev, with dependency versions updated to 0.0.0-dev

Image References

Container image repositories have been updated from ghcr.io/senithkay/ to ghcr.io/wso2/ for the three main components (asdlcApi, agentsService, console), with image tags changed to 0.0.0-dev.

Walkthrough

This PR introduces a complete release automation pipeline. Three Helm chart Chart.yaml files and values.yaml have their version fields reset to 0.0.0-dev placeholders, and image references are migrated from ghcr.io/senithkay/* to ghcr.io/wso2/*. A new shell script .github/scripts/update-versions.sh substitutes those placeholders with a versioned value at release time. The standalone publish-chart.yml workflow is removed and its functionality consolidated into a new release.yml workflow with four jobs: version preparation and tagging, multi-arch image build/push, Helm chart publish to GHCR OCI, and GitHub Release creation. The existing build-images.yml is reduced to a PR-only build-without-push check, and a new helm-charts-pr-check.yml workflow adds lint and template verification for Helm chart changes.

🚥 Pre-merge checks | ✅ 4 | ❌ 1

❌ Failed checks (1 warning)

Check name Status Explanation Resolution
Description check ⚠️ Warning The PR description is incomplete. It provides only a brief 'Purpose' statement ('Add release workflows') but omits all other required template sections including Goals, Approach, User Stories, Release Notes, Documentation, Security Checks, and Testing. Complete the PR description by filling in the remaining required template sections, particularly Goals, Approach, Release Notes, Security Checks, and Testing details to explain the full scope and impact of the release workflow changes.
✅ Passed checks (4 passed)
Check name Status Explanation
Title check ✅ Passed The title 'Add release workflow' directly addresses the primary change—introduction of a new release workflow. It accurately reflects the main objective described in the PR summary and the substantial additions in .github/workflows/release.yml.
Docstring Coverage ✅ Passed No functions found in the changed files to evaluate docstring coverage. Skipping docstring coverage check.
Linked Issues check ✅ Passed Check skipped because no linked issues were found for this pull request.
Out of Scope Changes check ✅ Passed Check skipped because no linked issues were found for this pull request.

✏️ Tip: You can configure your own custom pre-merge checks in the settings.

✨ Finishing Touches
🧪 Generate unit tests (beta)
  • Create PR with unit tests

Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out.

❤️ Share

Comment @coderabbitai help to get the list of available commands and usage tips.

@kaje94 kaje94 merged commit 8071aa6 into wso2:main Jun 17, 2026
5 of 6 checks passed
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.

2 participants