generated from saic-oss/template-repo
-
Notifications
You must be signed in to change notification settings - Fork 7
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* add helm-s3 plugin to anvil * add s3 shellspec test * Correctly set helm s3 plugin version * Update Helm S3 plugin name in spec * Don't let grep colors break a test * Add quote that I inadvertantly took away Co-authored-by: Brad Staton <47569500+saic-statonb@users.noreply.github.com>
- Loading branch information
1 parent
c92cc62
commit 0b4ebe6
Showing
3 changed files
with
21 additions
and
1 deletion.
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() { | ||
helm plugin list | grep "s3" | grep "${HELM_S3_VERSION}" | ||
} | ||
|
||
It "validates tool is installed by checking version" | ||
When call printVersion | ||
The output should include "${HELM_S3_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
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