Skip to content

Commit

Permalink
make some more changes that are needed to be done
Browse files Browse the repository at this point in the history
  • Loading branch information
shahzebsiddiqui committed Sep 26, 2024
1 parent c84013a commit f94213f
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 3 deletions.
2 changes: 1 addition & 1 deletion buildtest/cli/show.py
Original file line number Diff line number Diff line change
Expand Up @@ -134,7 +134,7 @@ def print_buildspec_show():
"buildtest buildspec find --pager", "Paginate output of buildspec cache"
)
table.add_row(
"buildtest buildspec find --directory /tmp --rebuild",
"buildtest buildspec find --search /tmp --search $BUILDTEST_ROOT/tutorials/sleep.yml --rebuild",
"Discover buildspecs in /tmp and rebuild buildspec cache",
)
table.add_row(
Expand Down
3 changes: 1 addition & 2 deletions buildtest/main.py
Original file line number Diff line number Diff line change
Expand Up @@ -251,8 +251,7 @@ def setup(args):

# build buildspec cache file automatically if it doesn't exist
if not is_file(BUILDSPEC_CACHE_FILE):
root_buildspecs = []
buildspec_files = []
search_buildspecs = []
if hasattr(args, "search"):
search_buildspecs = args.search

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,8 @@ system:
format: "name,description"
# enable terse mode
terse: False
# search for buildspecs in these directories
search: ["$BUILDTEST_ROOT/tutorials/containers"]

report:
count: 25
Expand Down

0 comments on commit f94213f

Please sign in to comment.