engineyard-serverside 2.6.15.alpha1 → 2.6.15.cf2
Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml
CHANGED
@@ -1,15 +1,7 @@
|
|
1
1
|
---
|
2
|
-
|
3
|
-
metadata.gz:
|
4
|
-
|
5
|
-
data.tar.gz: !binary |-
|
6
|
-
NjZhZGU5MmI3NThmZTJiNDVkNTcwNjg0NDZlZWNlOGM1OWJmMzU2Yg==
|
2
|
+
SHA1:
|
3
|
+
metadata.gz: 41d8c78c4e322a6006fdc34677ce66bb259c4577
|
4
|
+
data.tar.gz: 70e82e503f7ef72fa9599c7ac49a19d1dd74fe74
|
7
5
|
SHA512:
|
8
|
-
metadata.gz:
|
9
|
-
|
10
|
-
ZTc0MmM5MzE0NGVlYjM2YjA5MWFjZjc4MGZhNWVlOGQ3MjU0MWRhY2UzYzNj
|
11
|
-
MjdmYmI4Y2I4MTMwMzU4YmE3Y2Y1ZjY5MWNiN2Y2YTA4MTcwZjA=
|
12
|
-
data.tar.gz: !binary |-
|
13
|
-
ZjZjZjkzNzRiODE4MzhkNzhkNTdkZjljYmM5MDJkNzk1NDVhNjk4NTIwN2Y0
|
14
|
-
NDBmY2FmYzQ5NGUzMDM5OWVkNjgwMjk4M2NiYmFjYTVkNzQ1OGIyOWNjNDQw
|
15
|
-
ZGIyNjU3YTg0NGE4MzcyOTkyZWQwZTNkZmY5ZWE3MGY3MTBlYjY=
|
6
|
+
metadata.gz: 8bb61358af75fa849fe6d4df06ca1f3d465dea4a4919339e8974d42d9e3011e1e20c58e0300ae990e4f491f9d464daa5e3335b2075b1dad7264a849102fc52f4
|
7
|
+
data.tar.gz: 50b9d919f8a2a4147e2095cf1df12d2d2c31baf813307cdc628de1bb5f5f7907c4b236f8ccd19991510bf376779e03928a4ac2c8db44101e7b959b54d03d6207
|
@@ -418,6 +418,8 @@ defaults:
|
|
418
418
|
["Symlink database.yml if needed", "if [ -f \"#{paths.shared_config}/database.yml\" ]; then ln -nfs #{paths.shared_config}/database.yml #{paths.active_release_config}/database.yml; fi"],
|
419
419
|
["Symlink newrelic.yml if needed", "if [ -f \"#{paths.shared_config}/newrelic.yml\" ]; then ln -nfs #{paths.shared_config}/newrelic.yml #{paths.active_release_config}/newrelic.yml; fi"],
|
420
420
|
["Symlink mongrel_cluster.yml if needed", "if [ -f \"#{paths.shared_config}/mongrel_cluster.yml\" ]; then ln -nfs #{paths.shared_config}/mongrel_cluster.yml #{paths.active_release_config}/mongrel_cluster.yml; fi"],
|
421
|
+
["Create initializers directory", "mkdir -p #{paths.active_release_initializers}"],
|
422
|
+
["Symlink cdn.rb initializer if needed", "if [ -f \"#{paths.shared_initializers}/cdn.rb\" ]; then ln -nfs #{paths.shared_initializers}/cdn.rb #{paths.active_release_initializers}/_cdn.rb; fi"],
|
421
423
|
]
|
422
424
|
end
|
423
425
|
|
@@ -59,40 +59,42 @@ module EY
|
|
59
59
|
|
60
60
|
attr_reader :home, :deploy_root
|
61
61
|
|
62
|
-
def_path :internal_key,
|
63
|
-
|
64
|
-
def_path :current,
|
65
|
-
def_path :releases,
|
66
|
-
def_path :releases_failed,
|
67
|
-
def_path :shared,
|
68
|
-
def_path :shared_log,
|
69
|
-
def_path :shared_tmp,
|
70
|
-
def_path :shared_config,
|
71
|
-
def_path :shared_node_modules,
|
72
|
-
def_path :shared_system,
|
73
|
-
def_path :default_repository_cache,
|
74
|
-
def_path :enabled_maintenance_page,
|
75
|
-
def_path :shared_assets,
|
76
|
-
def_path :bundled_gems,
|
77
|
-
def_path :shared_services_yml,
|
78
|
-
def_path :
|
79
|
-
def_path :
|
80
|
-
def_path :
|
81
|
-
def_path :
|
82
|
-
def_path :
|
83
|
-
def_path :
|
84
|
-
def_path :
|
85
|
-
def_path :
|
86
|
-
def_path :
|
87
|
-
def_path :
|
88
|
-
def_path :
|
89
|
-
def_path :
|
90
|
-
def_path :
|
91
|
-
def_path :
|
92
|
-
def_path :
|
93
|
-
def_path :
|
94
|
-
def_path :
|
95
|
-
def_path :
|
62
|
+
def_path :internal_key, [:home, '.ssh', 'internal']
|
63
|
+
|
64
|
+
def_path :current, [:deploy_root, 'current']
|
65
|
+
def_path :releases, [:deploy_root, 'releases']
|
66
|
+
def_path :releases_failed, [:deploy_root, 'releases_failed']
|
67
|
+
def_path :shared, [:deploy_root, 'shared']
|
68
|
+
def_path :shared_log, [:shared, 'log']
|
69
|
+
def_path :shared_tmp, [:shared, 'tmp']
|
70
|
+
def_path :shared_config, [:shared, 'config']
|
71
|
+
def_path :shared_node_modules, [:shared, 'node_modules']
|
72
|
+
def_path :shared_system, [:shared, 'system']
|
73
|
+
def_path :default_repository_cache, [:shared, 'cached-copy']
|
74
|
+
def_path :enabled_maintenance_page, [:shared_system, 'maintenance.html']
|
75
|
+
def_path :shared_assets, [:shared, 'assets']
|
76
|
+
def_path :bundled_gems, [:shared, 'bundled_gems']
|
77
|
+
def_path :shared_services_yml, [:shared_config, 'ey_services_config_deploy.yml']
|
78
|
+
def_path :shared_initializers, [:shared_config, 'initializers']
|
79
|
+
def_path :ruby_version, [:bundled_gems, 'RUBY_VERSION']
|
80
|
+
def_path :system_version, [:bundled_gems, 'SYSTEM_VERSION']
|
81
|
+
def_path :latest_revision, [:latest_release, 'REVISION']
|
82
|
+
def_path :active_revision, [:active_release, 'REVISION']
|
83
|
+
def_path :binstubs, [:active_release, 'ey_bundler_binstubs']
|
84
|
+
def_path :gemfile, [:active_release, 'Gemfile']
|
85
|
+
def_path :gemfile_lock, [:active_release, 'Gemfile.lock']
|
86
|
+
def_path :public, [:active_release, 'public']
|
87
|
+
def_path :deploy_hooks, [:active_release, 'deploy']
|
88
|
+
def_path :public_assets, [:public, 'assets']
|
89
|
+
def_path :public_system, [:public, 'system']
|
90
|
+
def_path :package_json, [:active_release, 'package.json']
|
91
|
+
def_path :composer_json, [:active_release, 'composer.json']
|
92
|
+
def_path :composer_lock, [:active_release, 'composer.lock']
|
93
|
+
def_path :active_release_config, [:active_release, 'config']
|
94
|
+
def_path :active_release_initializers, [:active_release_config, 'initializers']
|
95
|
+
def_path :active_log, [:active_release, 'log']
|
96
|
+
def_path :active_node_modules, [:active_release, 'node_modules']
|
97
|
+
def_path :active_tmp, [:active_release, 'tmp']
|
96
98
|
|
97
99
|
def initialize(opts)
|
98
100
|
@opts = opts
|
@@ -58,17 +58,14 @@ module EY
|
|
58
58
|
# This is a hack right now, but I haven't iterated over it enough for a good solution yet.
|
59
59
|
if config.experimental_sync_assets?
|
60
60
|
shell.status "Compiling assets once on localhost (experimental_sync_assets: true)"
|
61
|
-
|
62
|
-
shell.status "Assets compilation result is #{compilation_result.success?}"
|
63
|
-
raise "Assets compilation error" unless compilation_result.success?
|
61
|
+
shell.logged_system("sh -l -c '#{cd} && #{task}'")
|
64
62
|
|
65
63
|
shell.status "Syncing assets to other remote servers (experimental_sync_assets: true)"
|
66
64
|
runner.servers.remote.run_for_each do |server|
|
67
65
|
server.sync_directory_command(paths.public_assets)
|
68
66
|
end
|
69
67
|
else
|
70
|
-
|
71
|
-
raise "Assets compilation error" unless compilation_result.success?
|
68
|
+
runner.run "#{cd} && #{task}"
|
72
69
|
end
|
73
70
|
end
|
74
71
|
end
|
metadata
CHANGED
@@ -1,55 +1,55 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: engineyard-serverside
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 2.6.15.
|
4
|
+
version: 2.6.15.cf2
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- EY Cloud Team
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date:
|
11
|
+
date: 2017-09-29 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: rspec
|
15
15
|
requirement: !ruby/object:Gem::Requirement
|
16
16
|
requirements:
|
17
|
-
- - ~>
|
17
|
+
- - "~>"
|
18
18
|
- !ruby/object:Gem::Version
|
19
19
|
version: '2.14'
|
20
20
|
type: :development
|
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: '2.14'
|
27
27
|
- !ruby/object:Gem::Dependency
|
28
28
|
name: rake
|
29
29
|
requirement: !ruby/object:Gem::Requirement
|
30
30
|
requirements:
|
31
|
-
- - ~>
|
31
|
+
- - "~>"
|
32
32
|
- !ruby/object:Gem::Version
|
33
33
|
version: 10.0.0
|
34
34
|
type: :development
|
35
35
|
prerelease: false
|
36
36
|
version_requirements: !ruby/object:Gem::Requirement
|
37
37
|
requirements:
|
38
|
-
- - ~>
|
38
|
+
- - "~>"
|
39
39
|
- !ruby/object:Gem::Version
|
40
40
|
version: 10.0.0
|
41
41
|
- !ruby/object:Gem::Dependency
|
42
42
|
name: rdoc
|
43
43
|
requirement: !ruby/object:Gem::Requirement
|
44
44
|
requirements:
|
45
|
-
- - ~>
|
45
|
+
- - "~>"
|
46
46
|
- !ruby/object:Gem::Version
|
47
47
|
version: 4.2.2
|
48
48
|
type: :development
|
49
49
|
prerelease: false
|
50
50
|
version_requirements: !ruby/object:Gem::Requirement
|
51
51
|
requirements:
|
52
|
-
- - ~>
|
52
|
+
- - "~>"
|
53
53
|
- !ruby/object:Gem::Version
|
54
54
|
version: 4.2.2
|
55
55
|
- !ruby/object:Gem::Dependency
|
@@ -70,98 +70,98 @@ dependencies:
|
|
70
70
|
name: simplecov
|
71
71
|
requirement: !ruby/object:Gem::Requirement
|
72
72
|
requirements:
|
73
|
-
- -
|
73
|
+
- - ">="
|
74
74
|
- !ruby/object:Gem::Version
|
75
75
|
version: '0'
|
76
76
|
type: :development
|
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: '0'
|
83
83
|
- !ruby/object:Gem::Dependency
|
84
84
|
name: engineyard-serverside-adapter
|
85
85
|
requirement: !ruby/object:Gem::Requirement
|
86
86
|
requirements:
|
87
|
-
- - ~>
|
87
|
+
- - "~>"
|
88
88
|
- !ruby/object:Gem::Version
|
89
89
|
version: 2.4.0
|
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: 2.4.0
|
97
97
|
- !ruby/object:Gem::Dependency
|
98
98
|
name: sqlite3
|
99
99
|
requirement: !ruby/object:Gem::Requirement
|
100
100
|
requirements:
|
101
|
-
- -
|
101
|
+
- - ">="
|
102
102
|
- !ruby/object:Gem::Version
|
103
103
|
version: '0'
|
104
104
|
type: :development
|
105
105
|
prerelease: false
|
106
106
|
version_requirements: !ruby/object:Gem::Requirement
|
107
107
|
requirements:
|
108
|
-
- -
|
108
|
+
- - ">="
|
109
109
|
- !ruby/object:Gem::Version
|
110
110
|
version: '0'
|
111
111
|
- !ruby/object:Gem::Dependency
|
112
112
|
name: mime-types
|
113
113
|
requirement: !ruby/object:Gem::Requirement
|
114
114
|
requirements:
|
115
|
-
- - ~>
|
115
|
+
- - "~>"
|
116
116
|
- !ruby/object:Gem::Version
|
117
117
|
version: '1.25'
|
118
118
|
type: :development
|
119
119
|
prerelease: false
|
120
120
|
version_requirements: !ruby/object:Gem::Requirement
|
121
121
|
requirements:
|
122
|
-
- - ~>
|
122
|
+
- - "~>"
|
123
123
|
- !ruby/object:Gem::Version
|
124
124
|
version: '1.25'
|
125
125
|
- !ruby/object:Gem::Dependency
|
126
126
|
name: json
|
127
127
|
requirement: !ruby/object:Gem::Requirement
|
128
128
|
requirements:
|
129
|
-
- - <
|
129
|
+
- - "<"
|
130
130
|
- !ruby/object:Gem::Version
|
131
131
|
version: '2'
|
132
132
|
type: :development
|
133
133
|
prerelease: false
|
134
134
|
version_requirements: !ruby/object:Gem::Requirement
|
135
135
|
requirements:
|
136
|
-
- - <
|
136
|
+
- - "<"
|
137
137
|
- !ruby/object:Gem::Version
|
138
138
|
version: '2'
|
139
139
|
- !ruby/object:Gem::Dependency
|
140
140
|
name: cucumber
|
141
141
|
requirement: !ruby/object:Gem::Requirement
|
142
142
|
requirements:
|
143
|
-
- - ~>
|
143
|
+
- - "~>"
|
144
144
|
- !ruby/object:Gem::Version
|
145
145
|
version: 1.3.20
|
146
146
|
type: :development
|
147
147
|
prerelease: false
|
148
148
|
version_requirements: !ruby/object:Gem::Requirement
|
149
149
|
requirements:
|
150
|
-
- - ~>
|
150
|
+
- - "~>"
|
151
151
|
- !ruby/object:Gem::Version
|
152
152
|
version: 1.3.20
|
153
153
|
- !ruby/object:Gem::Dependency
|
154
154
|
name: aruba
|
155
155
|
requirement: !ruby/object:Gem::Requirement
|
156
156
|
requirements:
|
157
|
-
- - ~>
|
157
|
+
- - "~>"
|
158
158
|
- !ruby/object:Gem::Version
|
159
159
|
version: 0.14.2
|
160
160
|
type: :development
|
161
161
|
prerelease: false
|
162
162
|
version_requirements: !ruby/object:Gem::Requirement
|
163
163
|
requirements:
|
164
|
-
- - ~>
|
164
|
+
- - "~>"
|
165
165
|
- !ruby/object:Gem::Version
|
166
166
|
version: 0.14.2
|
167
167
|
description:
|
@@ -313,17 +313,17 @@ require_paths:
|
|
313
313
|
- lib
|
314
314
|
required_ruby_version: !ruby/object:Gem::Requirement
|
315
315
|
requirements:
|
316
|
-
- -
|
316
|
+
- - ">="
|
317
317
|
- !ruby/object:Gem::Version
|
318
318
|
version: '0'
|
319
319
|
required_rubygems_version: !ruby/object:Gem::Requirement
|
320
320
|
requirements:
|
321
|
-
- -
|
321
|
+
- - ">="
|
322
322
|
- !ruby/object:Gem::Version
|
323
323
|
version: 1.3.6
|
324
324
|
requirements: []
|
325
325
|
rubyforge_project:
|
326
|
-
rubygems_version: 2.
|
326
|
+
rubygems_version: 2.5.2.1
|
327
327
|
signing_key:
|
328
328
|
specification_version: 4
|
329
329
|
summary: A gem that deploys ruby applications on EY Cloud instances
|