uffizzi_core 0.1.10 → 0.1.11

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 47eea084cd84fe9074609e526971df1417befd6d56d5d40e63a89023a9362602
4
- data.tar.gz: 5a05f8c69d95b3829464d08f7b854bda15200dbe835e1e47ecf1c5f42c88edaf
3
+ metadata.gz: 48e413ec49645c1e18d15251bcfa9ceaf94309be078fd46befbfd97894d9318e
4
+ data.tar.gz: 213cd12f3c9216b851ccd16c44562da68c954a03f126fd35ec683119ee7b8755
5
5
  SHA512:
6
- metadata.gz: 11c3d78965eac3fb0e57783843f8b42fd03eb8fa334852d2364f5d79a6c613062fed607f11f386bbdc14941cac9d3d21448b8f82092e66eac9777979e13f8dca
7
- data.tar.gz: f02157e2b222d62729459a234952ee957897bfd94733b5ec9be52aa0a7e0770ddd0661ee5facdb7c630cfb76d111ededf6536b8a83c6617681600b58d773a0ab
6
+ metadata.gz: 339656968a5609d9674536a6bd36518f2efb33afe30bf77ef2c56d158fe3b1b7a9f27da8dd76dcc8c1f35ad5624121a2914482d296b0b2e5afe9025735dda974
7
+ data.tar.gz: b5369f15696f2e011b1be386c1ee1b4660a0e5733e09030d0af8095612337cf544e2be0adfce7b3410f0338bd64e7e0d479a0f0f779360d9c99eb6990261670f
@@ -116,20 +116,26 @@ 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: #{pod_container[:state].inspect}")
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]
120
122
 
121
123
  case pod_container_status.to_sym
122
124
  when :running
125
+ Rails.logger.info("manage_activity_items get_status dep_id=#{container.deployment.id} running")
123
126
  UffizziCore::Event.state.deployed
124
127
  when :terminated
128
+ Rails.logger.info("manage_activity_items get_status dep_id=#{container.deployment.id} terminated")
125
129
  UffizziCore::Event.state.failed
126
130
  when :waiting
131
+ Rails.logger.info("manage_activity_items get_status dep_id=#{container.deployment.id} waiting")
127
132
  return UffizziCore::Event.state.failed if ['CrashLoopBackOff'].include?(reason)
128
133
 
129
134
  raise UffizziCore::Deployment::ImagePullError, @deployment.id if ['ErrImagePull', 'ImagePullBackOff'].include?(reason)
130
135
 
131
136
  UffizziCore::Event.state.deploying
132
137
  else
138
+ Rails.logger.info("manage_activity_items get_status dep_id=#{container.deployment.id} else")
133
139
  UffizziCore::Event.state.deploying
134
140
  end
135
141
  end
@@ -1,5 +1,5 @@
1
1
  # frozen_string_literal: true
2
2
 
3
3
  module UffizziCore
4
- VERSION = '0.1.10'
4
+ VERSION = '0.1.11'
5
5
  end
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.10
4
+ version: 0.1.11
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-27 00:00:00.000000000 Z
12
+ date: 2022-05-28 00:00:00.000000000 Z
13
13
  dependencies:
14
14
  - !ruby/object:Gem::Dependency
15
15
  name: aasm