-
Notifications
You must be signed in to change notification settings - Fork 491
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feat(fvm): list included artifacts with
fvm list <channel>
(#3877)
* feat(fvm): list included artifacts with `fvm list <channel>` * fix: doc comment * feat(fvm): use artifact versions heading in list * chore(test): test artifact listing
- Loading branch information
1 parent
56408e1
commit 0609deb
Showing
5 changed files
with
99 additions
and
9 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -422,6 +422,18 @@ setup_file() { | |
assert_line --index 2 --partial " 0.10.14 0.10.14" | ||
assert_success | ||
|
||
# Checks contents for the stable channel | ||
run bash -c 'fvm list stable' | ||
assert_line --index 0 --partial "Artifacts in channel stable version $STABLE_VERSION" | ||
assert_line --index 1 --partial "fluvio@$STABLE_VERSION" | ||
assert_success | ||
|
||
# Checks contents for the version 0.10.14 | ||
run bash -c 'fvm list 0.10.14' | ||
assert_line --index 0 --partial "Artifacts in version 0.10.14" | ||
assert_line --index 1 --partial "[email protected]" | ||
assert_success | ||
|
||
# Checks current command output | ||
run bash -c 'fvm current' | ||
assert_line --index 0 "$STABLE_VERSION (stable)" | ||
|