a2zdeploy 1.0.10 → 1.0.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 +4 -4
- data/a2zdeploy.gemspec +1 -1
- data/lib/upgradeall.rb +3 -4
- metadata +1 -1
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA1:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: 1442f58dfb9d4005615d0fd5e344aff0e4dd1748
|
|
4
|
+
data.tar.gz: 55df170e486dd37be16c4b483b9bbe9c5021d45c
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 0164f5e3cda880b1ee5cf941d55a97f99ec19afe6bcf3576fdedb355729abf1e0a118afeb39dfe7a71e08b2885bfc444bfdda0aa4940a695f5d78edfb6b86be7
|
|
7
|
+
data.tar.gz: 42daebb43f6b45d9f096fdcf5bf3e2027d583ed2a1b43cbaaa0a3802207af8d13365b49c44208b2f9019727eaff6f97fb3ca41a94e80295510418ce03381cc50
|
data/a2zdeploy.gemspec
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Gem::Specification.new do |s|
|
|
2
2
|
s.name = 'a2zdeploy'
|
|
3
|
-
s.version = '1.0.
|
|
3
|
+
s.version = '1.0.11'
|
|
4
4
|
s.date = '2016-02-08'
|
|
5
5
|
s.summary = 'Given a project dependency chain, updates versions, builds, tests, manages service and cloud settings as well as build environment configuration'
|
|
6
6
|
s.description = 'Automated Upgrades Gem. Provides version upgrades, build and deployment configuration management'
|
data/lib/upgradeall.rb
CHANGED
|
@@ -105,7 +105,7 @@ class UpgradeAll
|
|
|
105
105
|
Dir.chdir GlobalConstants::PARENTDIR
|
|
106
106
|
|
|
107
107
|
# if publishing nuget package, wait for a minute for publish to finish
|
|
108
|
-
waitfor node.metadata.build_wait_time_in_secs if node.should_publish_nuget.downcase == 'y'
|
|
108
|
+
waitfor node.metadata.build_wait_time_in_secs if node.metadata.should_publish_nuget.downcase == 'y'
|
|
109
109
|
else
|
|
110
110
|
# either cycle was unterrupted, a step in upgrade failed or full cycle successfully completed
|
|
111
111
|
# save the version map and manifest
|
|
@@ -196,14 +196,13 @@ class UpgradeAll
|
|
|
196
196
|
|
|
197
197
|
def waitfor build_wait_time_in_secs
|
|
198
198
|
checks = 0
|
|
199
|
-
|
|
199
|
+
build_wait_time_in_secs = build_wait_time_in_secs.to_i
|
|
200
|
+
|
|
200
201
|
until checks > build_wait_time_in_secs
|
|
201
202
|
sleep 5
|
|
202
203
|
checks += 5
|
|
203
204
|
puts GlobalConstants::UPGRADE_PROGRESS + 'Waiting for 5 seconds...'
|
|
204
205
|
end
|
|
205
|
-
|
|
206
|
-
raise 'Waitfor timeout expired. Make sure that you aren\'t running something from the build output folders, or that you have browsed to it through Explorer.' if checks > build_wait_time_in_secs
|
|
207
206
|
end
|
|
208
207
|
|
|
209
208
|
end
|