openstudio-aws 0.5.0.rc4 → 0.5.0.rc5

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
  SHA1:
3
- metadata.gz: 6a266e3edb100d0822c7432e75623fb8f21bc0c2
4
- data.tar.gz: f4d1e1dd872e88c3424c8b16e00248cab9af21eb
3
+ metadata.gz: a6190d885f643612aaf5d5b57a22af2cc35540ca
4
+ data.tar.gz: ecaa9cd6e5cd7039a2d564a57a355c7eef10f98d
5
5
  SHA512:
6
- metadata.gz: 5910f932a1cc088a072a7b2fee90759852173aab863e63e1f3b17f70c759f5840fc5f24dc16b40f7464f032b321f5f444223311366e5bd1e23a441a68e273647
7
- data.tar.gz: 64288b3595d1486c0b72430b0b37fdc4055ed80356b5e51c43c218eaf6f6244989390971ea2acee2772fdb0773769955414ae61cc6496101c6d327e39adb4450
6
+ metadata.gz: bdc58514854636fe923b613df0b89f5b8f1e1b88eebdf98d9417e6022c28ad772c49e9568e816e5aa82c6dad4631ac66bd156e77b129a185a7e78b5aaea360d8
7
+ data.tar.gz: 9a2c4d8b6d7e26e6d47b8ac55622b92135bd856bd92a3d2678dba42d7f0bd085baae0db4406f3db8a319414678289668bc9f30eeae0b74e56e5c118494e06f5f
@@ -248,7 +248,7 @@ module OpenStudio
248
248
 
249
249
  begin
250
250
  if @dockerized
251
- @os_aws.configure_swarm_cluster
251
+ @os_aws.configure_swarm_cluster(@save_directory)
252
252
  else
253
253
  @os_aws.configure_server_and_workers
254
254
  end
@@ -1,5 +1,5 @@
1
1
  module OpenStudio
2
2
  module Aws
3
- VERSION = '0.5.0.rc4'
3
+ VERSION = '0.5.0.rc5'
4
4
  end
5
5
  end
@@ -473,11 +473,11 @@ class OpenStudioAwsWrapper
473
473
  end
474
474
 
475
475
  # blocking method that executes required commands for creating and provisioning a docker swarm cluster
476
- def configure_swarm_cluster
476
+ def configure_swarm_cluster(save_directory)
477
477
  logger.info('Running the configuration script for the server.')
478
478
  @server.wait_command('sudo /home/ubuntu/server_provision.sh && echo "true"')
479
479
  logger.info('Downloading the swarm join command.')
480
- swarm_file = File.join(@save_directory, 'worker_swarm_join.sh')
480
+ swarm_file = File.join(save_directory, 'worker_swarm_join.sh')
481
481
  @server.download_file('/home/ubuntu/swarmjoin.sh', swarm_file)
482
482
  logger.info('Running the configuration script for the worker(s).')
483
483
  @workers.each { |worker| worker.wait_command('sudo /home/ubuntu/worker_provision.sh && echo "true"') }
metadata CHANGED
@@ -1,27 +1,27 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: openstudio-aws
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.5.0.rc4
4
+ version: 0.5.0.rc5
5
5
  platform: ruby
6
6
  authors:
7
7
  - Nicholas Long
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2017-02-16 00:00:00.000000000 Z
11
+ date: 2017-03-02 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: net-scp
15
15
  requirement: !ruby/object:Gem::Requirement
16
16
  requirements:
17
- - - ~>
17
+ - - "~>"
18
18
  - !ruby/object:Gem::Version
19
19
  version: '1.1'
20
20
  type: :runtime
21
21
  prerelease: false
22
22
  version_requirements: !ruby/object:Gem::Requirement
23
23
  requirements:
24
- - - ~>
24
+ - - "~>"
25
25
  - !ruby/object:Gem::Version
26
26
  version: '1.1'
27
27
  - !ruby/object:Gem::Dependency
@@ -56,42 +56,42 @@ dependencies:
56
56
  name: semantic
57
57
  requirement: !ruby/object:Gem::Requirement
58
58
  requirements:
59
- - - ~>
59
+ - - "~>"
60
60
  - !ruby/object:Gem::Version
61
61
  version: '1.4'
62
62
  type: :runtime
63
63
  prerelease: false
64
64
  version_requirements: !ruby/object:Gem::Requirement
65
65
  requirements:
66
- - - ~>
66
+ - - "~>"
67
67
  - !ruby/object:Gem::Version
68
68
  version: '1.4'
69
69
  - !ruby/object:Gem::Dependency
70
70
  name: sshkey
71
71
  requirement: !ruby/object:Gem::Requirement
72
72
  requirements:
73
- - - ~>
73
+ - - "~>"
74
74
  - !ruby/object:Gem::Version
75
75
  version: '1.7'
76
76
  type: :runtime
77
77
  prerelease: false
78
78
  version_requirements: !ruby/object:Gem::Requirement
79
79
  requirements:
80
- - - ~>
80
+ - - "~>"
81
81
  - !ruby/object:Gem::Version
82
82
  version: '1.7'
83
83
  - !ruby/object:Gem::Dependency
84
84
  name: rake
85
85
  requirement: !ruby/object:Gem::Requirement
86
86
  requirements:
87
- - - ~>
87
+ - - "~>"
88
88
  - !ruby/object:Gem::Version
89
89
  version: '10.4'
90
90
  type: :development
91
91
  prerelease: false
92
92
  version_requirements: !ruby/object:Gem::Requirement
93
93
  requirements:
94
- - - ~>
94
+ - - "~>"
95
95
  - !ruby/object:Gem::Version
96
96
  version: '10.4'
97
97
  description: Custom classes for configuring clusters for OpenStudio & EnergyPlus analyses
@@ -101,10 +101,10 @@ executables: []
101
101
  extensions: []
102
102
  extra_rdoc_files: []
103
103
  files:
104
- - .gitignore
105
- - .gitmodules
106
- - .rubocop.yml
107
- - .travis.yml
104
+ - ".gitignore"
105
+ - ".gitmodules"
106
+ - ".rubocop.yml"
107
+ - ".travis.yml"
108
108
  - CHANGELOG.md
109
109
  - Gemfile
110
110
  - License.txt
@@ -144,17 +144,17 @@ require_paths:
144
144
  - lib
145
145
  required_ruby_version: !ruby/object:Gem::Requirement
146
146
  requirements:
147
- - - '>='
147
+ - - ">="
148
148
  - !ruby/object:Gem::Version
149
149
  version: 2.0.0
150
150
  required_rubygems_version: !ruby/object:Gem::Requirement
151
151
  requirements:
152
- - - '>='
152
+ - - ">="
153
153
  - !ruby/object:Gem::Version
154
154
  version: 1.3.6
155
155
  requirements: []
156
156
  rubyforge_project:
157
- rubygems_version: 2.5.0
157
+ rubygems_version: 2.6.10
158
158
  signing_key:
159
159
  specification_version: 4
160
160
  summary: Start AWS EC2 instances for running distributed OpenStudio-based analyses