-
Notifications
You must be signed in to change notification settings - Fork 15
Add action for creating release catalog companion #136
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
msarahan
merged 36 commits into
rapidsai:main
from
msarahan:agent/release-build-output-container
Sep 22, 2026
Merged
Changes from all commits
Commits
Show all changes
36 commits
Select commit
Hold shift + click to select a range
d964711
Make release output dispatch container-safe
msarahan 529bc8a
Link release output config schema
msarahan d21470d
Document release build output companions
msarahan db26f2e
Use release catalog key terminology
msarahan 4f5a7b9
Rename release catalog feature
msarahan 1c88646
clarify release catalog key uniqueness/reuse
msarahan 3c580f2
merge release catalog metadata into entries
msarahan 57a2ee5
simplify custom package identity input
msarahan c485099
resolve release catalog identity per artifact
msarahan fdd6a92
rename release catalog artifact directory
msarahan 4244f69
consolidate release catalog implementation
msarahan 9cc315e
simplify release catalog action interface
msarahan 8ee3aec
defer producer-supplied release evidence
msarahan bc6e295
manual README edits
msarahan ebcf238
fix release catalog CI smoke test
msarahan fe82021
more readme edits
msarahan 39c5405
feat: stage release catalog bundles in S3
msarahan a0b67be
fix: make candidate upload script executable
msarahan 55c98d3
fix: ignore absent release signatures
msarahan 434c7fc
Address release catalog review feedback
msarahan b0a5946
improve purpose and consistency of verbiage
msarahan 790b98a
Name ADI Build Operations as catalog producer
msarahan 9cab68d
Validate release catalog input and output schemas
msarahan 5554b67
Standardize release catalog SBOMs on CycloneDX
msarahan bd2b75c
polish/simplifying
msarahan e512bf3
massage readme and materialize.sh script
msarahan 1170799
improve consistency of 'producer' meaning
msarahan e3d56a4
more language clarification
msarahan 46bb5c5
remove release catalog entry from root README
msarahan 276faf0
Consolidate the release catalog action
msarahan f09ce48
Extract Maven identity from JAR metadata
msarahan 0595d2e
Clarify future dependency SBOM support
msarahan a366667
Make release catalog inputs explicit
msarahan 70ce976
Standardize release catalog error reporting
msarahan 528cf4f
note that a companion is a folder and add platform link
msarahan 0d98557
Make release catalog error tests CI-safe
msarahan File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,12 @@ | ||
| #!/usr/bin/env bash | ||
| # Copyright (c) 2026, NVIDIA CORPORATION & AFFILIATES. All rights reserved. | ||
|
|
||
| set -euo pipefail | ||
|
|
||
| repository_root="$(cd "$(dirname "${BASH_SOURCE[0]}")/.." && pwd)" | ||
|
|
||
| "${repository_root}/tests/release_catalog_config_test.sh" | ||
| "${repository_root}/tests/release_catalog_discovery_test.sh" | ||
| "${repository_root}/tests/release_catalog_error_test.sh" | ||
| "${repository_root}/tests/release_catalog_package_parsing_test.sh" | ||
| "${repository_root}/tests/release_catalog_test.sh" |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,51 @@ | ||
| #!/usr/bin/env python3 | ||
| # Copyright (c) 2026, NVIDIA CORPORATION & AFFILIATES. All rights reserved. | ||
|
|
||
| """Verify valid and invalid release-catalog contracts against JSON Schema.""" | ||
|
|
||
| from __future__ import annotations | ||
|
|
||
| import json | ||
| from pathlib import Path | ||
|
|
||
| from jsonschema import Draft202012Validator | ||
|
|
||
| ROOT = Path(__file__).parents[1] | ||
|
|
||
|
|
||
| def _load(path: Path) -> dict[str, object]: | ||
| value = json.loads(path.read_text()) | ||
| if not isinstance(value, dict): | ||
| raise ValueError(f"schema fixture must be a JSON object: {path}") | ||
| return value | ||
|
|
||
|
|
||
| def _validator(path: Path) -> Draft202012Validator: | ||
| schema = _load(path) | ||
| Draft202012Validator.check_schema(schema) | ||
| return Draft202012Validator(schema) | ||
|
|
||
|
|
||
| def main() -> None: | ||
| config = _validator(ROOT / "release-catalog/config.schema.json") | ||
| fixtures = ROOT / "tests/release-catalog-config" | ||
| for path in sorted((fixtures / "valid").glob("*.json")): | ||
| errors = list(config.iter_errors(_load(path))) | ||
| if errors: | ||
| raise ValueError(f"valid fixture rejected: {path}: {errors[0].message}") | ||
| for path in sorted((fixtures / "invalid").glob("*.json")): | ||
| if not list(config.iter_errors(_load(path))): | ||
| raise ValueError(f"invalid fixture accepted: {path}") | ||
|
|
||
| entries = _validator(ROOT / "release-catalog/entries.schema.json") | ||
| example = _load(ROOT / "release-catalog/examples/cuvs-java/release-catalog-entries.json") | ||
| errors = list(entries.iter_errors(example)) | ||
| if errors: | ||
| raise ValueError(f"generated entries example rejected: {errors[0].message}") | ||
| wrong_producer = {**example, "producer": "some-other-tool"} | ||
| if not list(entries.iter_errors(wrong_producer)): | ||
| raise ValueError("entries schema accepted an unknown producer") | ||
|
|
||
|
|
||
| if __name__ == "__main__": | ||
| main() |
This file was deleted.
Oops, something went wrong.
Oops, something went wrong.
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Uh oh!
There was an error while loading. Please reload this page.