Skip to content

Commit

Permalink
Now with new name openshift-certs-cli.
Browse files Browse the repository at this point in the history
  • Loading branch information
c0desurfer committed Apr 10, 2018
1 parent 712c054 commit b7cac82
Show file tree
Hide file tree
Showing 4 changed files with 9 additions and 9 deletions.
6 changes: 3 additions & 3 deletions .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -9,13 +9,13 @@ install:
- go get github.com/op/go-logging
- go get github.com/spf13/cobra
script:
- gox -osarch="linux/amd64" -output "./dist/{{.Dir}}" github.com/oscp/certs-cli
- tar -zcvf certs-cli.tar.gz dist
- gox -osarch="linux/amd64" -output "./dist/{{.Dir}}" github.com/oscp/openshift-certs-cli
- tar -zcvf openshift-certs-cli.tar.gz dist
deploy:
provider: releases
api_key:
secure: YtcS9WTNX+NyBlULTTMi5kcknJWUZGDDhuA0Tf8NlwYD4m96Un90N3WR8DMRoZkijJnZmqKzimAoBWknGHKZpfQ2wFzCBz6tJfLAYyeAM0durWP54qN7Zt+mX2oKSIWYgB6bYFyJmIO6Obz0NmH7UTs6gRIIjharn1CNA3oZRA0WN0XT+BjjXKJdsGR5q+YVHvuvc4J89Kxf75DIKB0komxxYOZ1jGqnFM4BA1ReDcuI5DmtvZnU2YdoySeZ6ztAqnm9K2/tLDWUcY9DMMwtV+MoJQlY3pYTb0jiFVwDjAenYeW+ANXj1ybW5lBD1m1Rd4HltjknLMzacqA8TezihHOrLWE+b0WItQsCjeTS+LDNO11TxUgwYazhz3mQHiS7BesCOLl3L7/J+kHdPl05ZFvPAQ6jn6mSjuIEshx1nPagOCSYsPx59rf39KFy8qBdxUMMK7N6IssORO8P3cYLwdL+4b9Sj7tPAntkRWtsgGQ2CsdNdspFTRgkXyFOwySN7O/zxfIcL0Kbxqvye16cxSYfZ3HQORe7UgGC9DdNnJNQmZ7ax13uvWkGTn1a6h5TpHobKZajjptGtv+q5J2qtSlNEtsf7dyMe+OKPw9c5a5sR10MUWStBckUfTXwyH76ujPjWIY2pKMcNFDjVoBDv4NsCZLVaRrj2y/iBmPmP7A=
file: certs-cli.tar.gz
file: openshift-certs-cli.tar.gz
skip_cleanup: true
on:
tags: true
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
# certs-cli
# openshift-certs-cli
This cli parses output of /usr/share/ansible/openshift-ansible/playbooks/certificate_expiry/easy-mode.yaml and prints certs which are about to expire.
8 changes: 4 additions & 4 deletions cmd/root.go
Original file line number Diff line number Diff line change
Expand Up @@ -28,10 +28,10 @@ var jsonFile string
var expiryDays int
var debug bool

var log = logging.MustGetLogger("certs-cli")
var log = logging.MustGetLogger("openshift-certs-cli")

var rootCmd = &cobra.Command{
Use: "certs-cli",
Use: "openshift-certs-cli",
Short: "This cli parses 'cert-expiry-report.json' and outputs expired certs.",
Long: `OpenShift uses SSL certificates for encrypting communication between its components. It's crucial to monitor
their expiry date and renew them as needed. The JSON file cert-expiry-report.json is generated via /usr/share/ansible/openshift-ansible/playbooks/certificate_expiry/easy-mode.yaml.`,
Expand Down Expand Up @@ -61,9 +61,9 @@ func initLogging() {
logging.SetBackend(logging.NewBackendFormatter(stdOutBackend, format))

if debug {
logging.SetLevel(logging.DEBUG, "certs-cli")
logging.SetLevel(logging.DEBUG, "openshift-certs-cli")
} else {
logging.SetLevel(logging.INFO, "certs-cli")
logging.SetLevel(logging.INFO, "openshift-certs-cli")
}

}
Expand Down
2 changes: 1 addition & 1 deletion main.go
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@

package main

import "github.com/oscp/certs-cli/cmd"
import "github.com/oscp/openshift-certs-cli/cmd"

func main() {
cmd.Execute()
Expand Down

0 comments on commit b7cac82

Please sign in to comment.