Skip to content
This repository was archived by the owner on Jan 19, 2026. It is now read-only.

feat: add gh release tag to ArtifactHubPkg#644

Merged
fabriziosestito merged 1 commit intokubewarden:mainfrom
fabriziosestito:feat/add-gh-release-to-artifacthub-generator
Mar 4, 2025
Merged

feat: add gh release tag to ArtifactHubPkg#644
fabriziosestito merged 1 commit intokubewarden:mainfrom
fabriziosestito:feat/add-gh-release-to-artifacthub-generator

Conversation

@fabriziosestito
Copy link
Copy Markdown
Contributor

@fabriziosestito fabriziosestito commented Mar 3, 2025

Description

Introduces the gh_release_tag parameter, allowing customization of the release tag name when constructing download links in artifacthub-pkg.yml.

For example:

  • Without overriding the release tag for repo policy v0.2.1:
    https://github.com/repo/releases/download/v0.2.1/policy.wasm

  • With gh_release_tag set to SomePolicy/v0.2.1:
    https://github.com/repo/releases/download/SomePolicy%2Fv0.2.1/policy.wasm

This is particularly useful when working with repositories like kubewarden/rego-policies-library or any repository where release names do not strictly follow semantic versioning.

Signed-off-by: Fabrizio Sestito <fabrizio.sestito@suse.com>
@codecov
Copy link
Copy Markdown

codecov bot commented Mar 3, 2025

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 45.44%. Comparing base (a08e0c3) to head (6a2a256).
Report is 8 commits behind head on main.

Additional details and impacted files
@@            Coverage Diff             @@
##             main     #644      +/-   ##
==========================================
+ Coverage   45.40%   45.44%   +0.03%     
==========================================
  Files          53       53              
  Lines        2852     2854       +2     
==========================================
+ Hits         1295     1297       +2     
  Misses       1557     1557              
Flag Coverage Δ
integration-tests 37.13% <0.00%> (-0.03%) ⬇️
unit-tests 15.26% <100.00%> (+0.06%) ⬆️

Flags with carried forward coverage won't be shown. Click here to find out more.

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

Copy link
Copy Markdown
Member

@flavio flavio left a comment

Choose a reason for hiding this comment

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

LGTM

@fabriziosestito fabriziosestito merged commit 6d5c99a into kubewarden:main Mar 4, 2025
8 checks passed
@github-project-automation github-project-automation bot moved this from Pending review to Done in Kubewarden Admission Controller Mar 4, 2025
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Projects

Development

Successfully merging this pull request may close these issues.

2 participants