Skip to content

Commit

Permalink
Update distribution manifest location
Browse files Browse the repository at this point in the history
Signed-off-by: Zelin Hao <zelinhao@amazon.com>
  • Loading branch information
zelinh committed Jun 27, 2023
1 parent a293212 commit 6e4238d
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/report_workflow/test_run_runner.py
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,8 @@ def __init__(self, args: ReportArgs, test_manifest: TestManifest) -> None:
for k, v in self.args.artifact_paths.items():
self.artifact_paths = " ".join([self.artifact_paths, k + "=" + v]).strip(" ")

self.dist_manifest = "/".join([self.args.artifact_paths[self.name], "dist", self.name, "manifest.yml"])
self.dist_manifest = "/".join([self.args.artifact_paths[self.name], "dist", self.name, "manifest.yml"]) if self.args.artifact_paths[self.name].startswith("https://") \
else os.path.join(self.args.artifact_paths[self.name], "dist", self.name, "manifest.yml")
self.test_components = self.test_manifest.components

def update_data(self) -> dict:
Expand Down

0 comments on commit 6e4238d

Please sign in to comment.