Add repo-family metadata to Fabric registry
This commit is contained in:
parent
3240b78185
commit
0ea99a73d8
15 changed files with 189 additions and 32 deletions
|
|
@ -34,6 +34,7 @@ def test_collect_accountability_root_evidence_from_manifest(tmp_path: Path) -> N
|
|||
|
||||
registered_repo = next(item for item in evidence if item["evidence_type"] == "registered_repository")
|
||||
assert registered_repo["attributes"]["state_hub_repo_id"] == "fixture-state-hub-id"
|
||||
assert registered_repo["attributes"]["repo_family"] == "ownership"
|
||||
|
||||
secret_root = next(item for item in evidence if item["evidence_type"] == "secret_root")
|
||||
assert "secret-value" not in json.dumps(secret_root)
|
||||
|
|
@ -420,6 +421,7 @@ repositories:
|
|||
default_branch: main
|
||||
state_hub_repo_id: fixture-state-hub-id
|
||||
remote_url: gitea-remote:coulomb/fixture-repo.git
|
||||
repo_family: ownership
|
||||
""".format(repo=repo),
|
||||
encoding="utf-8",
|
||||
)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue