Skip to content

Commit

Permalink
exclude 386 architecture due to compatibility and minor fixes
Browse files Browse the repository at this point in the history
  • Loading branch information
Dmitry Kolesnikov committed Feb 19, 2024
1 parent a3e9d87 commit af47dcb
Show file tree
Hide file tree
Showing 5 changed files with 30 additions and 6 deletions.
24 changes: 24 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,24 @@
# If you prefer the allow list template instead of the deny list, see community template:
# https://github.com/github/gitignore/blob/main/community/Golang/Go.AllowList.gitignore
#
# Binaries for programs and plugins
*.exe
*.exe~
*.dll
*.so
*.dylib

# Test binary, built with `go test -c`
*.test

# Output of the go coverage tool, specifically when used with LiteIDE
*.out

# Dependency directories (remove the comment below to include it)
# vendor/

# Go workspace file
go.work

#Go Releaser output
dist/
5 changes: 4 additions & 1 deletion .goreleaser.yml
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,9 @@ builds:
- windows
- darwin

ignore:
- goarch: 386

archives:
- format: binary

Expand All @@ -43,4 +46,4 @@ brews:
description: rds-health discovers anomalies, performance issues and optimization within AWS RDS.
license: MIT
test: |
system "#{bin}/rds-health -v"
system "#{bin}/rds-health --version"
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -86,7 +86,7 @@ AZ ENGINE VSN INSTANCE CPU MEM STORAGE TYPE RO NAME
1b postgres 14.7 db.t3.medium 2x 4 GiB 40 GiB gp2 my-database-2
...
(use "rds-health check -a" to check health status of instances)
(use "rds-health check" to check health status of instances)
```


Expand Down
2 changes: 1 addition & 1 deletion cmd/list.go
Original file line number Diff line number Diff line change
Expand Up @@ -60,6 +60,6 @@ func list(cmd *cobra.Command, args []string, api Service) error {

func listPost(cmd *cobra.Command, args []string) {
if !outJsonify {
stderr("\n(use \"rds-health check -a\" to check health status of instances)\n")
stderr("\n(use \"rds-health check\" to check health status of instances)\n")
}
}
3 changes: 0 additions & 3 deletions cmd/root.go
Original file line number Diff line number Diff line change
Expand Up @@ -53,8 +53,6 @@ func init() {

}

var version = "v0.0.0-dev"

var rootCmd = &cobra.Command{
Use: "rds-health",
Short: "command line interface to check health of AWS RDS",
Expand Down Expand Up @@ -154,7 +152,6 @@ Examples:
`,
Run: root,
PersistentPreRun: setup,
Version: version,
}

func root(cmd *cobra.Command, args []string) {
Expand Down

0 comments on commit af47dcb

Please sign in to comment.