diff --git a/tools/ci/github-release-subprojects.json b/tools/ci/github-release-subprojects.json index 77364a125..99054c4b5 100644 --- a/tools/ci/github-release-subprojects.json +++ b/tools/ci/github-release-subprojects.json @@ -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", diff --git a/tools/ci/test-github-release.py b/tools/ci/test-github-release.py index 524160e0e..cd1336942 100644 --- a/tools/ci/test-github-release.py +++ b/tools/ci/test-github-release.py @@ -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",