deadman_check 0.2.0 → 0.2.1
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/Dockerfile +15 -15
- data/README.md +2 -2
- data/lib/deadman_check/version.rb +1 -1
- data/lib/deadman_check_switch.rb +1 -1
- metadata +3 -3
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: d5b9a2213bd31ca4cbc8c63386e77690b6719050
|
4
|
+
data.tar.gz: e28c30d37596322c9407be8db5b115cecae6b8c5
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 6901e0ed28c8ca36dcbdb6e1dd391713fe2cf5f1477379c4562e0bebdf3f0bea1f3d201e93e640f4d1ea9aaa02ea7570c3d5c41297da6a68638335bbda68af72
|
7
|
+
data.tar.gz: c0eb413dd8657997489f0730515243fc30981a89359019999df8a738fa06112d976cfd2233447173305b5f8493199eebb92e47ff61e162f2d2d9cd35e066786d
|
data/Dockerfile
CHANGED
@@ -1,20 +1,20 @@
|
|
1
|
-
FROM
|
1
|
+
FROM alpine:3.6
|
2
2
|
MAINTAINER Zane Williamson <zane.williamson@gmail.com>
|
3
3
|
|
4
|
-
# Install
|
5
|
-
|
6
|
-
|
7
|
-
|
8
|
-
|
9
|
-
|
10
|
-
|
11
|
-
|
12
|
-
|
13
|
-
|
14
|
-
|
15
|
-
|
16
|
-
|
17
|
-
|
4
|
+
# Install apk packages
|
5
|
+
RUN apk update && \
|
6
|
+
apk add build-base \
|
7
|
+
git \
|
8
|
+
openssl \
|
9
|
+
ruby \
|
10
|
+
ruby-dev \
|
11
|
+
ruby-bundler \
|
12
|
+
ruby-rdoc \
|
13
|
+
ruby-bigdecimal \
|
14
|
+
ruby-irb \
|
15
|
+
ruby-json \
|
16
|
+
ruby-io-console \
|
17
|
+
--no-cache
|
18
18
|
|
19
19
|
ADD . /app/
|
20
20
|
ADD lib /app/lib
|
data/README.md
CHANGED
@@ -10,10 +10,10 @@ running at the expected interval.
|
|
10
10
|
|
11
11
|
The deadman-check has 2 modes:
|
12
12
|
|
13
|
-
1. Run with the Nomad periodic job as an additional [task](https://www.nomadproject.io/docs/job-specification/task.html) to update a key in Consul with current EPOCH time.
|
13
|
+
1. Run with the Nomad periodic job as an additional [task](https://www.nomadproject.io/docs/job-specification/task.html) to update a key in Consul with current EPOCH time and required time frequency.
|
14
14
|
|
15
15
|
2. Run as a separate process that will monitor the Consul key's EPOCH
|
16
|
-
time value and alert if that value fails to meet a time
|
16
|
+
time value and alert if that value fails to meet a time frequency threshold that
|
17
17
|
is expected for that job.
|
18
18
|
|
19
19
|
|
data/lib/deadman_check_switch.rb
CHANGED
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: deadman_check
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.2.
|
4
|
+
version: 0.2.1
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- zane
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2017-
|
11
|
+
date: 2017-07-25 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: bundler
|
@@ -191,7 +191,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
191
191
|
version: '0'
|
192
192
|
requirements: []
|
193
193
|
rubyforge_project:
|
194
|
-
rubygems_version: 2.6.
|
194
|
+
rubygems_version: 2.6.11
|
195
195
|
signing_key:
|
196
196
|
specification_version: 4
|
197
197
|
summary: Monitor a Consul key that contains an EPOCH time entry. Send email if EPOCH
|