https://github.com/jochy/go-to-prod
Tool used to check every steps that will occur on your prod env during a deployment
https://github.com/jochy/go-to-prod
check checker deploy deploy-tool docker docker-compose go golang
Last synced: 4 months ago
JSON representation
Tool used to check every steps that will occur on your prod env during a deployment
- Host: GitHub
- URL: https://github.com/jochy/go-to-prod
- Owner: jochy
- License: apache-2.0
- Created: 2020-02-18T11:57:59.000Z (over 6 years ago)
- Default Branch: master
- Last Pushed: 2020-02-29T14:19:52.000Z (over 6 years ago)
- Last Synced: 2024-11-16T00:38:40.875Z (over 1 year ago)
- Topics: check, checker, deploy, deploy-tool, docker, docker-compose, go, golang
- Language: Go
- Size: 10.7 KB
- Stars: 1
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# go-to-prod
## Summary
Tool used to validate some steps using a pipeline description.
For instance, you can validate a delivery pipeline by describing all steps that will occur on your production environment. Thanks to that tool, you will be able to automate your tests for every step before production. No more surprise during delivery!
For now, it works only with docker & docker-compose in local. It is planned to work with:
* Remote docker-compose
* Kubernetes
* Docker-swarm
* Openshift
## How it works
This tool is a CLI application. For the moment, you have only those commands:
* check
| Args | Description |
| ------------- | ----- |
| `--file=states.yml` | The file that describe a pipeline|
| `--debug`| Enables the checker's output |
You run the command `g2p check --file=state.yml` and the tool will deploy your stack (using docker-compose) and then will do some checks using container. If the checker container exit with a code 0, then the step will be valid, else it will be failed.
If there is a failure (checker exit code != 0), then the tool will exit with code=1, otherwise it will exit with a code=0.
## How to build
`go build -o g2p`