uffizzi_core 0.1.13 → 0.1.14
Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: d4aa056e4e94f8dbd93efddc149a68b583fe31090307048c1167df16b8842032
|
4
|
+
data.tar.gz: f7c91d5144ebe0f7cf95cbe7f3241e85bae67ff79eac46465a5cb329b23dfac6
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: c21e0edc0adf7905754850aabe30d4aec880029de985d90434c70f5bd2804dd7a44d87664f5e668b5bbac049cf6fda304c297c5ab44cc68a778d00d4fdf95b56
|
7
|
+
data.tar.gz: 6aa9ac0ab849cf07720a3642222d51a258252be4ad658f2f878a6a0b54ee725fe7b8f7a3f29bd42037a62be22dc268bf339baf7dc043ad3c66b7de497692f4da
|
@@ -116,26 +116,18 @@ class UffizziCore::ManageActivityItemsService
|
|
116
116
|
state = pod_container[:state][pod_container_status]
|
117
117
|
reason = state&.reason
|
118
118
|
|
119
|
-
Rails.logger.info("manage_activity_items get_status dep_id=#{container.deployment.id} pod_container_status: #{pod_container_status}")
|
120
|
-
Rails.logger.info("manage_activity_items get_status dep_id=#{container.deployment.id} state: #{state}")
|
121
|
-
ap pod_container[:state]
|
122
|
-
|
123
119
|
case pod_container_status.to_sym
|
124
120
|
when :running
|
125
|
-
Rails.logger.info("manage_activity_items get_status dep_id=#{container.deployment.id} running")
|
126
121
|
UffizziCore::Event.state.deployed
|
127
122
|
when :terminated
|
128
|
-
Rails.logger.info("manage_activity_items get_status dep_id=#{container.deployment.id} terminated")
|
129
123
|
UffizziCore::Event.state.failed
|
130
124
|
when :waiting
|
131
|
-
Rails.logger.info("manage_activity_items get_status dep_id=#{container.deployment.id} waiting")
|
132
125
|
return UffizziCore::Event.state.failed if ['CrashLoopBackOff'].include?(reason)
|
133
126
|
|
134
127
|
raise UffizziCore::Deployment::ImagePullError, @deployment.id if ['ErrImagePull', 'ImagePullBackOff'].include?(reason)
|
135
128
|
|
136
129
|
UffizziCore::Event.state.deploying
|
137
130
|
else
|
138
|
-
Rails.logger.info("manage_activity_items get_status dep_id=#{container.deployment.id} else")
|
139
131
|
UffizziCore::Event.state.deploying
|
140
132
|
end
|
141
133
|
end
|
data/lib/uffizzi_core/version.rb
CHANGED
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: uffizzi_core
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.1.
|
4
|
+
version: 0.1.14
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Josh Thurman
|
@@ -9,7 +9,7 @@ authors:
|
|
9
9
|
autorequire:
|
10
10
|
bindir: bin
|
11
11
|
cert_chain: []
|
12
|
-
date: 2022-05-
|
12
|
+
date: 2022-05-31 00:00:00.000000000 Z
|
13
13
|
dependencies:
|
14
14
|
- !ruby/object:Gem::Dependency
|
15
15
|
name: aasm
|