Skip to content
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

OSDK-2303: Scorecard testOutput is tightly coupled with storage mountPath #5714

Merged
merged 1 commit into from
Jul 13, 2022
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
7 changes: 7 additions & 0 deletions changelog/fragments/fix-scorecard-mountpath.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
# entries is a list of entries to include in
# release notes and/or the migration guide
entries:
- description: >
Fixed scorecard testOutput tightly coupling with scorecard storage mountPath
kind: "bugfix"
breaking: false
2 changes: 1 addition & 1 deletion internal/scorecard/storage.go
Original file line number Diff line number Diff line change
Expand Up @@ -188,7 +188,7 @@ func gatherTestOutput(r PodTestRunner, suiteName, testName, podName, mountPath s
return err
}

srcPath := r.TestOutput
srcPath := mountPath
prefix := getStoragePrefix(srcPath)
prefix = path.Clean(prefix)
destPath := getDestPath(r.TestOutput, suiteName, testName)
Expand Down