Skip to content

Commit

Permalink
OSDK-2303: Scorecard testOutput is tightly coupled with storage mount…
Browse files Browse the repository at this point in the history
…Path (operator-framework#5714)

Signed-off-by: Andrej Podhradsky <[email protected]>
  • Loading branch information
apodhrad authored Jul 13, 2022
1 parent 811fbe6 commit 87cdc50
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 1 deletion.
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 @@ -195,7 +195,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

0 comments on commit 87cdc50

Please sign in to comment.