module Bigbrother

Defined in:

bigbrother.cr
bigbrother/app.cr
bigbrother/check.cr
bigbrother/check/failure.cr
bigbrother/check/host_ip.cr
bigbrother/check/http.cr
bigbrother/check/response.cr
bigbrother/cli.cr
bigbrother/config.cr
bigbrother/helper/ssl_cert_expiry.cr
bigbrother/notifier.cr
bigbrother/notifier/console.cr
bigbrother/notifier/prometheus.cr
bigbrother/notifier/telegram.cr
bigbrother/version.cr

Constant Summary

VERSION = "0.1.0"
VERSION_DATE = {{ (`date +%F`).stringify.chomp }}
VERSION_SHA1 = {% if env("GIT_SHA1") %} {{ env("GIT_SHA1") }} {% else %} {{ (`git rev-parse --short HEAD 2>/dev/null || echo \"??????\"`).stringify.chomp }} {% end %}

.git is not available in the Docker build context (see .dockerignore), so CI passes the commit SHA in via the GIT_SHA1 build-time env var.

Class Method Summary

Class Method Detail

def self.run(argv) #

[View source]