Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
8 changes: 8 additions & 0 deletions tools/ci/github-release-subprojects.json
Original file line number Diff line number Diff line change
Expand Up @@ -89,6 +89,14 @@
"service_name": "nvcf-invocation-service",
"legacy_tag_prefix": "nvcf-invocation-service-v"
},
{
"id": "http-invocation-helm",
"path": "deploy/helm/http-invocation",
"service_name": "helm-nvcf-invocation-service",
"deploys": [
"http-invocation"
]
},
{
"id": "stargate",
"path": "src/libraries/rust/stargate",
Expand Down
13 changes: 13 additions & 0 deletions tools/ci/test-github-release.py
Original file line number Diff line number Diff line change
Expand Up @@ -782,6 +782,19 @@ def test_cloud_tasks_chart_continues_its_published_lineage(self):
"deploy/helm/cloud-tasks/v1.4.4",
)

def test_http_invocation_chart_uses_its_published_lineage(self):
root = SCRIPT_PATH.parents[2]
metadata = json.loads(SCRIPT_PATH.with_name("github-release-subprojects.json").read_text())
service = next(s for s in metadata["services"] if s["id"] == "http-invocation-helm")

self.assertEqual(service["path"], "deploy/helm/http-invocation")
self.assertEqual(service["service_name"], "helm-nvcf-invocation-service")
self.assertEqual(service["deploys"], ["http-invocation"])
self.assertEqual(
self.github_release.tag_for_version(service, "1.5.6", root),
"deploy/helm/http-invocation/v1.5.6",
)

def test_nvca_branch_cut_uses_path_scoped_release_branch(self):
service = {
"id": "nvca",
Expand Down
Loading