sct 0.1.30 → 0.1.31
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 +4 -4
- data/cluster/lib/cluster/runner.rb +3 -2
- data/sct/lib/sct/version.rb +1 -1
- metadata +4 -4
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA256:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: 3c1f39b51de0143296086601cbc25b9231a26b19e40060c2b2c29e8e892f81f5
|
|
4
|
+
data.tar.gz: fa6f3eeefa34f3d206ef8286d192f433b4c733246ed53098d85974354e075ad8
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 1fbc414030f80a1df76973eaf2e034932b41dba42fffde054a14f8d641cd620432fca70460376ed7058816948953f4ba9a60e50018062293bdc0e45c6d5a355a
|
|
7
|
+
data.tar.gz: 598175bc1cc7f01e292e50c7a97bb18946279b3a12ab29d3c88dffb9df06572a8fe343e2c2b2804963e805d50ee10274cf0dec1ead47043a6d5ddff9969d31f9
|
|
@@ -294,7 +294,8 @@ module Cluster
|
|
|
294
294
|
end
|
|
295
295
|
|
|
296
296
|
def copy_proactive_accounts_file
|
|
297
|
-
|
|
297
|
+
container_name = "proactive-config"
|
|
298
|
+
pod_id = pods().select {|pod| pod[:name].start_with?(container_name)}.first[:name]
|
|
298
299
|
|
|
299
300
|
begin
|
|
300
301
|
UI.important("Checking ProActive accounts file...")
|
|
@@ -302,7 +303,7 @@ module Cluster
|
|
|
302
303
|
rescue => e
|
|
303
304
|
UI.important("Copying ProActive accounts file to deployments...")
|
|
304
305
|
src_path = "#{Dir.home()}/development/spend-cloud/k8s/conf/proactive_accounts.ini"
|
|
305
|
-
command = "kubectl cp #{src_path} #{pod_id}:/data/proactive_accounts.ini"
|
|
306
|
+
command = "kubectl cp #{src_path} #{pod_id}:/data/proactive_accounts.ini -c #{container_name}"
|
|
306
307
|
run_command command
|
|
307
308
|
end
|
|
308
309
|
|
data/sct/lib/sct/version.rb
CHANGED
metadata
CHANGED
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: sct
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
version: 0.1.
|
|
4
|
+
version: 0.1.31
|
|
5
5
|
platform: ruby
|
|
6
6
|
authors:
|
|
7
7
|
- Reshad Farid
|
|
8
8
|
autorequire:
|
|
9
9
|
bindir: bin
|
|
10
10
|
cert_chain: []
|
|
11
|
-
date: 2020-
|
|
11
|
+
date: 2020-12-16 00:00:00.000000000 Z
|
|
12
12
|
dependencies:
|
|
13
13
|
- !ruby/object:Gem::Dependency
|
|
14
14
|
name: colored
|
|
@@ -241,8 +241,8 @@ metadata:
|
|
|
241
241
|
post_install_message:
|
|
242
242
|
rdoc_options: []
|
|
243
243
|
require_paths:
|
|
244
|
-
- shell/lib
|
|
245
244
|
- cluster/lib
|
|
245
|
+
- shell/lib
|
|
246
246
|
- sct/lib
|
|
247
247
|
- sct_core/lib
|
|
248
248
|
required_ruby_version: !ruby/object:Gem::Requirement
|
|
@@ -256,7 +256,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
|
256
256
|
- !ruby/object:Gem::Version
|
|
257
257
|
version: '0'
|
|
258
258
|
requirements: []
|
|
259
|
-
rubygems_version: 3.
|
|
259
|
+
rubygems_version: 3.0.8
|
|
260
260
|
signing_key:
|
|
261
261
|
specification_version: 4
|
|
262
262
|
summary: Spend Cloud Tool.
|