Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

okta-aws-cli 2.3.0 #177178

Merged
merged 2 commits into from
Jul 13, 2024
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
13 changes: 6 additions & 7 deletions Formula/o/okta-aws-cli.rb
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
class OktaAwsCli < Formula
desc "Okta federated identity for AWS CLI"
homepage "https://github.com/okta/okta-aws-cli"
url "https://github.com/okta/okta-aws-cli/archive/refs/tags/v2.2.0.tar.gz"
sha256 "178edd27148424af461acda4e5da85fdea6c045d55af6d72a5484847a3c9814e"
url "https://github.com/okta/okta-aws-cli/archive/refs/tags/v2.3.0.tar.gz"
sha256 "e7ac241007f4a50b637ea2d0d15f3e1123245e3d874c16d7e5d8ab9812688830"
license "Apache-2.0"

livecheck do
Expand All @@ -27,10 +27,9 @@ def install
end

test do
str_help = shell_output("#{bin}/okta-aws-cli --help")
assert_match "Usage:", str_help
assert_match "Flags:", str_help
str_error = shell_output("#{bin}/okta-aws-cli -o example.org -c homebrew-test 2>&1", 1)
assert_match 'Error: authorize received API response "404 Not Found"', str_error
output = shell_output("#{bin}/okta-aws-cli list-profiles")
assert_match "Profiles:", output

assert_match version.to_s, shell_output("#{bin}/okta-aws-cli --version")
end
end
Loading