nixenvironment 0.0.136 → 0.0.137

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
  SHA1:
3
- metadata.gz: c94f5a349c53aefe131e512c7f55929b4aa58208
4
- data.tar.gz: 31dee1382eb8ddd9b4f96484eecac7d3ea30ac65
3
+ metadata.gz: a3df4462e5038ca23d1003c27b7d87625bdd4b34
4
+ data.tar.gz: 15b3d2a35b397aa822c46dc8a37c211bd1632e08
5
5
  SHA512:
6
- metadata.gz: f72c9606f4c40d44afdbd65dcaa6a8248c737ea06ac9b25bbfe9af36c9e5e8ea1e2e610f139f52868992724d350df7d9f8c7dd19a64e4f94361c703d09323759
7
- data.tar.gz: 46474af3327c7fd45002e3c75cdb70d1dbf11591859955f171c8d955aa9dfea5ae584f4179468c3acbb6e03290a00e5f163d541106c88cf4242970d5775972cd
6
+ metadata.gz: 460ac0f9aa4561caed03b21307059174556a56bdcad52044d00b3340d17d4328de48b3f8769d8288f8bfd6a859da7f9ee3155a7c0742bba23435a34587767a78
7
+ data.tar.gz: d54826405ff3bea10dd66f1eecd3d90b46b192a99087cc1f53a33f05828ec86ae7c93c88f54bde25b957c2afcfe465d1b0d41d4f70e797b7867afe516a97f026
data/bin/nixenvironment CHANGED
@@ -320,7 +320,6 @@ command :master do |c|
320
320
  c.option '--start', 'Start Jenkins master'
321
321
  c.option '--deinit', 'Deinit Jenkins master'
322
322
  c.option '--start_pu ENV', String, 'Start Provisioning updater. To run develop server enter "develop" argument'
323
- c.option '--start_cs', 'Start Unity cache server.'
324
323
  c.option '--stop', 'Stop Jenkins master'
325
324
  c.action do |_args, options|
326
325
  options.default :start_pu => ''
@@ -349,8 +348,6 @@ command :master do |c|
349
348
  end
350
349
  elsif options.start_pu != ''
351
350
  MasterStarter.new.start_pu(options.start_pu != 'develop')
352
- elsif options.start_cs
353
- MasterStarter.new.start_cache_server
354
351
  end
355
352
  end
356
353
  end
@@ -3,10 +3,6 @@ module Paths
3
3
  "#{Dir.home}/.ijenkins"
4
4
  end
5
5
 
6
- def path_to_unity_cache
7
- "#{root_jenkins_path}/UnityCacheServer"
8
- end
9
-
10
6
  def path_to_environment
11
7
  "#{root_jenkins_path}/environment"
12
8
  end
@@ -5,7 +5,5 @@ class MasterDeinitializer < SlaveDeinitializer
5
5
  super
6
6
 
7
7
  remove_local_provisioning_updater
8
-
9
- FileUtils::rm_r(path_to_unity_cache)
10
8
  end
11
9
  end
@@ -28,9 +28,6 @@ class MasterStarter
28
28
  # Applet
29
29
  start_master
30
30
 
31
- # Start Unity cache server
32
- start_cache_server
33
-
34
31
  # Start provisioning updater
35
32
  start_pu
36
33
 
@@ -57,28 +54,13 @@ class MasterStarter
57
54
  end
58
55
  end
59
56
 
60
- def start_cache_server
61
- stop_cache_server
62
-
63
- fork do
64
- FileUtils::mkdir_p("#{path_to_unity_cache}/Cache5.0")
65
- FileUtils::mkdir_p("#{path_to_unity_cache}/Cache")
66
- `#{path_to_environment}/CacheServer/RunOSX.command --path #{path_to_unity_cache}/Cache5.0 --legacypath #{path_to_unity_cache}/Cache`
67
- end
68
- end
69
-
70
57
  def stop
71
58
  stop_applets
72
59
  stop_pu
73
- stop_cache_server
74
60
  kill_proc("rails")
75
61
  end
76
62
 
77
63
  def stop_pu
78
64
  `kill -9 "$(cat #{path_to_provisioning_updater}/tmp/pids/server.pid)" 2>/dev/null`
79
65
  end
80
-
81
- def stop_cache_server
82
- kill_proc("#{path_to_environment}/CacheServer/")
83
- end
84
66
  end
@@ -1,3 +1,3 @@
1
1
  module Nixenvironment
2
- VERSION = '0.0.136'
2
+ VERSION = '0.0.137'
3
3
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: nixenvironment
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.0.136
4
+ version: 0.0.137
5
5
  platform: ruby
6
6
  authors:
7
7
  - Karen
@@ -9,7 +9,7 @@ authors:
9
9
  autorequire:
10
10
  bindir: bin
11
11
  cert_chain: []
12
- date: 2017-08-25 00:00:00.000000000 Z
12
+ date: 2017-08-28 00:00:00.000000000 Z
13
13
  dependencies:
14
14
  - !ruby/object:Gem::Dependency
15
15
  name: cocoapods