Skip to content

feat(ci): support GitHub badge sources - #737

Closed
cjeanner wants to merge 1 commit into
validatedpatterns:mainfrom
cjeanner:feat/github-hosted-badge
Closed

cjeanner wants to merge 1 commit into
validatedpatterns:mainfrom
cjeanner:feat/github-hosted-badge

Conversation

@cjeanner

@cjeanner cjeanner commented Oct 5, 2026

Copy link
Copy Markdown
Contributor

Read optional ci_github_sources from pattern frontmatter and pass them through the pattern CI partial. Collect these sources for the main CI dashboard so GitHub results appear alongside existing bucket results.

Fetch configured raw GitHub JSON files using the selected badge set. Reuse JSON metadata parsing for pattern, platform, version, and date; this preserves hyphenated pattern names without relying on filename splitting. Reuse fetched JSON during enrichment and skip unavailable GitHub files without dropping other results.

Bucket discovery cannot list raw GitHub files. This adds that discovery path while keeping source configuration with its owning pattern and preserving existing bucket, preview, and time-range behavior.

Assisted-by: Codex

Read optional ci_github_sources from pattern frontmatter and pass them
through the pattern CI partial. Collect these sources for the main CI
dashboard so GitHub results appear alongside existing bucket results.

Fetch configured raw GitHub JSON files using the selected badge set.
Reuse JSON metadata parsing for pattern, platform, version, and date;
this preserves hyphenated pattern names without relying on filename
splitting. Reuse fetched JSON during enrichment and skip unavailable
GitHub files without dropping other results.

Bucket discovery cannot list raw GitHub files. This adds that discovery
path while keeping source configuration with its owning pattern and
preserving existing bucket, preview, and time-range behavior.

Assisted-by: Codex
@openshift-ci

openshift-ci Bot commented Oct 5, 2026

Copy link
Copy Markdown
Contributor

Hi @cjeanner. Thanks for your PR.

I'm waiting for a validatedpatterns member to verify that this patch is reasonable to test. If it is, they should reply with /ok-to-test on its own line. Until that is done, I will not automatically test new commits in this PR, but the usual testing commands by org members will still work.

Tip

We noticed you've done this a few times! Consider joining the org to skip this step and gain /lgtm and other bot rights. We recommend asking approvers on your previous PRs to sponsor you.

Once the patch is verified, the new status will be reflected by the ok-to-test label.

I understand the commands that are listed here.

Details

Instructions for interacting with me using PR comments are available here. If you have questions or suggestions related to my behavior, please file an issue against the kubernetes-sigs/prow repository.

@cjeanner

cjeanner commented Oct 5, 2026

Copy link
Copy Markdown
Contributor Author

@darkdoc heya! we discussed that feature over past week, but I'm not sure you pushed anything related to that support. Feel free to discard this PR is there's already something - and lemme know if #738 needs an update to get the badge in.

@cjeanner

cjeanner commented Oct 6, 2026

Copy link
Copy Markdown
Contributor Author

Superseded by #741

@cjeanner cjeanner closed this Oct 6, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant