File tree Expand file tree Collapse file tree 1 file changed +5
-7
lines changed Expand file tree Collapse file tree 1 file changed +5
-7
lines changed Original file line number Diff line number Diff line change 1
1
class Chamber < Formula
2
2
desc "CLI for managing secrets through AWS SSM Parameter Store"
3
3
homepage "https://github.com/segmentio/chamber"
4
- url "https://github.com/segmentio/chamber/archive/refs/tags/v2.14.1 .tar.gz"
5
- sha256 "f3bc8391a789c79d40aef28196a857a82dc39fb51bd3851074344cdc2dc819b8 "
4
+ url "https://github.com/segmentio/chamber/archive/refs/tags/v3.0.0 .tar.gz"
5
+ sha256 "3d45592fa87cfe4ad4dea14297d4c67087b4cf8f47729301c551ff51ef24f5dd "
6
6
license "MIT"
7
7
head "https://github.com/segmentio/chamber.git" , branch : "master"
8
8
@@ -30,12 +30,10 @@ def install
30
30
end
31
31
32
32
test do
33
- ENV . delete "AWS_REGION"
33
+ ENV [ "AWS_REGION" ] = "us-east-1 "
34
34
output = shell_output ( "#{ bin } /chamber list service 2>&1" , 1 )
35
- assert_match "MissingRegion " , output
35
+ assert_match "Error: Failed to list store contents: operation error SSM " , output
36
36
37
- ENV [ "AWS_REGION" ] = "us-west-2"
38
- output = shell_output ( "#{ bin } /chamber list service 2>&1" , 1 )
39
- assert_match "NoCredentialProviders" , output
37
+ assert_match version . to_s , shell_output ( "#{ bin } /chamber version" )
40
38
end
41
39
end
You can’t perform that action at this time.
0 commit comments