operator-framework / operator-courier

Build, verify and push operators
Apache License 2.0
41 stars 53 forks source link

Run from root dir #143

Closed kevinrizza closed 5 years ago

kevinrizza commented 5 years ago

Problem: Since the addition of the file name and path to verification logs, a bug was introduced that prevented users from running verify or anything that calls the build_and_verify api method when running in the same directory that manifests are located.

Solution: Update the _get_relative_path() function in build.py to return the input path parameter when the path cannot be split on os path seperators

Added integration test to run verify using a working directory matching the manifests path