The release process of a new version of KEDA external scaler for Azure Cosmos DB involves the following:
Check the latest release on Releases page. Follow the Semantic Versioning guidelines for naming the new release. For instance, suppose that the latest release is v1.2.3, and that the next release is going to be a MINOR update, then its title would be v1.3.0 and the associated tag name would be v1.3.0
.
Open New release page. Use the values for Tag and Release title as picked above. Include information on the changes that would get shipped with the new release inside Release description section. This includes new features, patches, breaking changes and deprecations. You can get list of all commits since the last release with a link similar to https://github.com/kedacore/external-scaler-azure-cosmos-db/compare/v0.1.0...main. Do not include information that is not important to users. As an example, a change to issue template is not important.
Publish the release. This will trigger GitHub action to create a new Docker image from the tagged commit. After the action is executed, you should find a new Docker image with new tag published on the Packages page.
Once the GitHub release is created, update the Helm Chart for the external scaler in kedacore/charts repository. Depending on the changes that went in the release, this might just take updating the version
and appVersion
in Chart.yaml file, or in some cases, might involve adding and updating multiple template files.
Follow the Contributing guide to create a pull request. After the pull request is completed, create a GitHub release in the repository following the same guide.
GitHub repository kedacore/external-scalers showcases the KEDA official external scalers on Artifact Hub which includes the external scaler for Azure Cosmos DB. For information on why the files in the repository are laid out in a certain way, you can refer to the KEDA scalers repositories guide. The guide also contains link to spec for artifacthub-pkg.yml
which you may find helpful.
You will need to add a new package version for the external scaler. For this:
- Copy file
artifacthub-pkg.yml
from directoryartifacthub/azure-cosmos-db/<previous-version>
toartifacthub/azure-cosmos-db/<new-version>
. Update value ofversion
property in the copied file. Make other edits as required. - Create a fresh
README.md
insideartifacthub/azure-cosmos-db/<new-version>
with information on changes introduced by the new release. You can re-use the release description for this one. - Create pull request with these changes.