Skip to content

TT-13635 (ci): add workflow for alpha Helm chart releases #371

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

Merged
merged 7 commits into from
Dec 17, 2024

Conversation

buraksekili
Copy link
Collaborator

Description

This PR introduces a new GitHub Actions workflow that automates the release process for alpha versions of our Helm charts. The workflow is triggered when a tag matching the pattern vX.Y.Z-alpha.N is pushed to the repository.

  • Automatically detects all Helm charts in the repository (excluding tyk-operator)
  • Updates chart versions to match the release tag
  • Adds alpha prerelease annotations for ArtifactHub
  • Updates internal chart dependencies to maintain version consistency
  • Runs validation checks before packaging

Related Issue

Motivation and Context

Test Coverage For This Change

Screenshots (if appropriate)

Types of changes

  • Bug fix (non-breaking change which fixes an issue)
  • New feature (non-breaking change which adds functionality)
  • Breaking change (fix or feature that would cause existing functionality to change)
  • Refactoring or add test (improvements in base code or adds test coverage to functionality)
  • Documentation updates or improvements.

Checklist

  • Make sure you are requesting to pull a topic/feature/bugfix branch (right side). If PRing from your fork, don't come from your master!
  • Make sure you are making a pull request against our master branch (left side). Also, it would be best if you started your change off our latest master.
  • My change requires a change to the documentation.
    • I have manually updated the README(s)/documentation accordingly.
  • I have updated the documentation accordingly.
  • I have added tests to cover my changes.
  • All new and existing tests passed.

@buraksekili buraksekili requested a review from a team as a code owner December 13, 2024 12:40
@buraksekili buraksekili requested review from olamilekan000 and removed request for a team December 13, 2024 12:40
@buraksekili buraksekili changed the title (ci): add workflow for alpha Helm chart releases TT-13635 (ci): add workflow for alpha Helm chart releases Dec 13, 2024
This workflow automates the release process for alpha versions of Helm charts
when a new tag matching v*.*.* -alpha.* is pushed. It:

- Excludes the `tyk-operator` chart from the release process
- Updates chart versions and adds alpha prerelease annotations
- Updates internal chart dependencies to match the release version
- Runs helm lint checks before packaging
- Prepares charts for publishing to the repository

Signed-off-by: Burak Sekili <[email protected]>
@buraksekili buraksekili force-pushed the feat/TT-13635/alpha-releases branch from 0d786a0 to cbc72db Compare December 13, 2024 16:03
@komalsukhani komalsukhani self-requested a review December 17, 2024 05:54
@komalsukhani
Copy link
Collaborator

@buraksekili Merging the PR directly as it doesn't need QA.

@komalsukhani komalsukhani merged commit 0dabe87 into main Dec 17, 2024
7 checks passed
@komalsukhani komalsukhani deleted the feat/TT-13635/alpha-releases branch December 17, 2024 05:55
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