generated from saic-oss/template-repo
-
Notifications
You must be signed in to change notification settings - Fork 6
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* update for skopeo * update for automated test. * skopeo_spec typo * permissions error. * modify exit code * update for dockerfile format Co-authored-by: Sony Francis <sony.p.francis@saic.com>
- Loading branch information
Showing
2 changed files
with
21 additions
and
0 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,13 @@ | ||
#!/usr/bin/env shellspec | ||
|
||
Describe "printVersion()" | ||
printVersion() { | ||
skopeo -v | grep "${SKOPEO_VERSION}" | ||
} | ||
|
||
It "validates tool is installed by checking version" | ||
When call printVersion | ||
The output should include "${SKOPEO_VERSION}" | ||
The status should eq 0 | ||
End | ||
End |
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