Development workflow:
- Create branch named
$SERVICE. - Write your code in
services/$SERVICE,checkers/$SERVICE,sploits/$SERVICEandinternal/$SERVICE(if needed). - Validate your service with
SERVICE=$SERVICE ./check.py validate. - Up your service with
SERVICE=$SERVICE ./check.py up. - Check your service with
SERVICE=$SERVICE RUNS=200 ./check.py check. - Down your service with
SERVICE=$SERVICE ./check.py down. - Add your service to
.github/workflows/check-services.yml, line 38. - Push your code and create pull request to master branch.
Don't forget to:
- Add your checker requirements to
checkers/requirements.txt. - Use
dedcleanercontainer to delete old files if needed. Example can be found inservices/example/docker-compose.yml. - Add info about your checker to
Checkerclass. Example can be found incheckers/example/checker.py, line 11.