kubernetes_helper 1.23.2 → 1.23.4
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/kubernetes_helper/version.rb +1 -1
- data/lib/templates/_cd_digital.sh +1 -3
- data/lib/templates/_job_liveness.yml +4 -4
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 833ed563a81c23d8d03251d2442403f2e9e46b21e822c178e9c243496a8da186
|
4
|
+
data.tar.gz: b11b4d9956de1d0faa57696b9d18b1ca94888939e75afd3b54ba1648c2fd6736
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 8998112f49623fd6aca2cd49356ae2a9ab346e244e8a7892faf173657d66bef1d166ed45f3b4ca619faaa13cf0eb33c52cbae8319f4dd6ef2981e5f956180eb3
|
7
|
+
data.tar.gz: 2798163ce50ac7f259bc564f38960a92c45e2a472de1433d39cf4dab55dea2526df3cdd45a878f765955c0302caf3d44b00157ae2a160a43f935017fd109ae37
|
@@ -1,8 +1,6 @@
|
|
1
1
|
# Download and install doctl
|
2
2
|
if [ -z "$(which doctl)" ]; then
|
3
|
-
|
4
|
-
tar xf ~/doctl-1.72.0-linux-amd64.tar.gz
|
5
|
-
sudo mv ~/doctl /usr/local/bin
|
3
|
+
sudo snap install doctl
|
6
4
|
fi
|
7
5
|
|
8
6
|
if [ ! -z "$KB_AUTH_TOKEN" ]
|
@@ -2,10 +2,10 @@
|
|
2
2
|
<% if (locals[:services] || []).any? %>
|
3
3
|
livenessProbe: &liveness_probe
|
4
4
|
exec:
|
5
|
-
command:
|
6
|
-
|
7
|
-
|
8
|
-
|
5
|
+
command:
|
6
|
+
- /bin/sh
|
7
|
+
- -c
|
8
|
+
- '<%= locals[:services].map { |svc| "if [ $(ps -ef | grep \"#{svc}\" | grep -v \"grep\" | wc -l) -eq 0 ]; then echo \"Missing service: #{svc}\"; exit 1; fi" }.join('; ') %>'
|
9
9
|
initialDelaySeconds: 120
|
10
10
|
periodSeconds: 30
|
11
11
|
readinessProbe: *liveness_probe
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: kubernetes_helper
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 1.23.
|
4
|
+
version: 1.23.4
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- owen2345
|
8
8
|
autorequire:
|
9
9
|
bindir: exe
|
10
10
|
cert_chain: []
|
11
|
-
date: 2023-
|
11
|
+
date: 2023-05-12 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: erb
|