https://github.com/sysdiglabs/rhc-manager
https://github.com/sysdiglabs/rhc-manager
Last synced: 11 months ago
JSON representation
- Host: GitHub
- URL: https://github.com/sysdiglabs/rhc-manager
- Owner: sysdiglabs
- License: apache-2.0
- Created: 2019-01-28T07:27:40.000Z (about 7 years ago)
- Default Branch: master
- Last Pushed: 2019-08-14T08:11:18.000Z (over 6 years ago)
- Last Synced: 2025-01-23T01:21:58.968Z (about 1 year ago)
- Language: Go
- Size: 22.5 KB
- Stars: 1
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
Red Hat Container Manager
=========================
This program allows you to retrieve information about the container project form Red Hat Connect and trigger manual builds without needing to log in to the website.
## Requirements
- [Golang](https://golang.org/)
## Build and Install
```sh
go get github.com/sysdiglabs/rhc-manager
go install github.com/sysdiglabs/rhc-manager/cmd/rhc-manager
```
## Usage
You can find your `$GOPATH` with `go env | grep GOPATH`
**Note**: it's recommended to add `$GOPATH/bin` to your `$PATH` variable.
Get project info:
```sh
$GOPATH/bin/rhc-manager -id
```
Trigger manual build:
```sh
$GOPATH/bin/rhc-manager -id -b
```
## Testing
You can execute the automated tests with:
```sh
go test -v
```
And also checkout the code coverage with:
```sh
go test -coverprofile cover.out
go tool cover -html cover.out
```