engineyard-serverside 2.6.14 → 2.6.15.alpha1
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +13 -5
- data/bin/engineyard-serverside +1 -1
- data/lib/engineyard-serverside/cli.rb +4 -225
- data/lib/engineyard-serverside/cli/app.rb +136 -0
- data/lib/engineyard-serverside/cli/helpers.rb +58 -0
- data/lib/engineyard-serverside/cli/server_hash_extractor.rb +49 -0
- data/lib/engineyard-serverside/cli/workflows.rb +45 -0
- data/lib/engineyard-serverside/cli/workflows/base.rb +78 -0
- data/lib/engineyard-serverside/cli/workflows/calling_deploy_hooks.rb +31 -0
- data/lib/engineyard-serverside/cli/workflows/deploying_applications.rb +28 -0
- data/lib/engineyard-serverside/cli/workflows/disabling_maintenance.rb +29 -0
- data/lib/engineyard-serverside/cli/workflows/enabling_maintenance.rb +29 -0
- data/lib/engineyard-serverside/cli/workflows/errors.rb +13 -0
- data/lib/engineyard-serverside/cli/workflows/helpers.rb +21 -0
- data/lib/engineyard-serverside/cli/workflows/integrating_servers.rb +63 -0
- data/lib/engineyard-serverside/cli/workflows/restarting_applications.rb +36 -0
- data/lib/engineyard-serverside/cli/workflows/rolling_back_applications.rb +28 -0
- data/lib/engineyard-serverside/cli/workflows/showing_maintenance_status.rb +28 -0
- data/lib/engineyard-serverside/dependency_manager/bundler.rb +43 -14
- data/lib/engineyard-serverside/propagator.rb +59 -0
- data/lib/engineyard-serverside/rails_assets.rb +5 -2
- data/lib/engineyard-serverside/version.rb +1 -1
- metadata +66 -394
- data/lib/engineyard-serverside/cli_helpers.rb +0 -53
- data/spec/archive_deploy_spec.rb +0 -53
- data/spec/basic_deploy_spec.rb +0 -26
- data/spec/bundler_deploy_spec.rb +0 -139
- data/spec/configuration_spec.rb +0 -205
- data/spec/custom_deploy_spec.rb +0 -128
- data/spec/deploy_hook_spec.rb +0 -362
- data/spec/deprecation_spec.rb +0 -23
- data/spec/ey_yml_customized_deploy_spec.rb +0 -99
- data/spec/fixtures/gitrepo.tar.gz +0 -0
- data/spec/fixtures/gitrepo/bar +0 -0
- data/spec/fixtures/gitrepo/foo +0 -0
- data/spec/fixtures/invalid_hook.rb +0 -1
- data/spec/fixtures/lockfiles/0.9-no-bundler +0 -111
- data/spec/fixtures/lockfiles/0.9-with-bundler +0 -117
- data/spec/fixtures/lockfiles/1.0-no-bundler +0 -54
- data/spec/fixtures/lockfiles/1.0.0.rc.1-with-bundler +0 -162
- data/spec/fixtures/lockfiles/1.0.18-do_mysql +0 -88
- data/spec/fixtures/lockfiles/1.0.18-do_postgres +0 -79
- data/spec/fixtures/lockfiles/1.0.18-mysql +0 -43
- data/spec/fixtures/lockfiles/1.0.18-mysql2 +0 -43
- data/spec/fixtures/lockfiles/1.0.18-pg +0 -43
- data/spec/fixtures/lockfiles/1.0.6-no-bundler +0 -51
- data/spec/fixtures/lockfiles/1.0.6-with-any-bundler +0 -52
- data/spec/fixtures/lockfiles/1.0.6-with-bundler +0 -52
- data/spec/fixtures/lockfiles/1.3.1-rails-3.2.13 +0 -112
- data/spec/fixtures/lockfiles/not-a-lockfile +0 -1
- data/spec/fixtures/repos/assets_detected/Gemfile +0 -5
- data/spec/fixtures/repos/assets_detected/Gemfile.lock +0 -88
- data/spec/fixtures/repos/assets_detected/README +0 -1
- data/spec/fixtures/repos/assets_detected/Rakefile +0 -5
- data/spec/fixtures/repos/assets_detected/app/assets/empty +0 -0
- data/spec/fixtures/repos/assets_detected/config/application.rb +0 -5
- data/spec/fixtures/repos/assets_detected/config/ey.yml +0 -3
- data/spec/fixtures/repos/assets_disabled/Gemfile +0 -5
- data/spec/fixtures/repos/assets_disabled/Gemfile.lock +0 -88
- data/spec/fixtures/repos/assets_disabled/README +0 -1
- data/spec/fixtures/repos/assets_disabled/Rakefile +0 -6
- data/spec/fixtures/repos/assets_disabled/app/assets/empty +0 -0
- data/spec/fixtures/repos/assets_disabled/config/application.rb +0 -5
- data/spec/fixtures/repos/assets_disabled/config/ey.yml +0 -3
- data/spec/fixtures/repos/assets_disabled_in_ey_yml/Gemfile +0 -5
- data/spec/fixtures/repos/assets_disabled_in_ey_yml/Gemfile.lock +0 -88
- data/spec/fixtures/repos/assets_disabled_in_ey_yml/README +0 -1
- data/spec/fixtures/repos/assets_disabled_in_ey_yml/Rakefile +0 -6
- data/spec/fixtures/repos/assets_disabled_in_ey_yml/app/assets/empty +0 -0
- data/spec/fixtures/repos/assets_disabled_in_ey_yml/config/application.rb +0 -5
- data/spec/fixtures/repos/assets_disabled_in_ey_yml/config/ey.yml +0 -5
- data/spec/fixtures/repos/assets_disabled_utf8/Gemfile +0 -5
- data/spec/fixtures/repos/assets_disabled_utf8/Gemfile.lock +0 -88
- data/spec/fixtures/repos/assets_disabled_utf8/README +0 -3
- data/spec/fixtures/repos/assets_disabled_utf8/Rakefile +0 -5
- data/spec/fixtures/repos/assets_disabled_utf8/app/assets/empty +0 -0
- data/spec/fixtures/repos/assets_disabled_utf8/config/application.rb +0 -7
- data/spec/fixtures/repos/assets_disabled_utf8/config/ey.yml +0 -3
- data/spec/fixtures/repos/assets_enabled_all/Gemfile +0 -5
- data/spec/fixtures/repos/assets_enabled_all/Gemfile.lock +0 -88
- data/spec/fixtures/repos/assets_enabled_all/README +0 -1
- data/spec/fixtures/repos/assets_enabled_all/app/assets/empty +0 -0
- data/spec/fixtures/repos/assets_enabled_all/config/application.rb +0 -5
- data/spec/fixtures/repos/assets_enabled_all/config/ey.yml +0 -6
- data/spec/fixtures/repos/assets_enabled_all/script/assets +0 -5
- data/spec/fixtures/repos/assets_enabled_all/tmp/obstruction +0 -1
- data/spec/fixtures/repos/assets_enabled_in_ey_yml/Gemfile +0 -3
- data/spec/fixtures/repos/assets_enabled_in_ey_yml/Gemfile.lock +0 -10
- data/spec/fixtures/repos/assets_enabled_in_ey_yml/README +0 -1
- data/spec/fixtures/repos/assets_enabled_in_ey_yml/Rakefile +0 -8
- data/spec/fixtures/repos/assets_enabled_in_ey_yml/config/ey.yml +0 -4
- data/spec/fixtures/repos/assets_enabled_util_only/Gemfile +0 -5
- data/spec/fixtures/repos/assets_enabled_util_only/Gemfile.lock +0 -88
- data/spec/fixtures/repos/assets_enabled_util_only/README +0 -1
- data/spec/fixtures/repos/assets_enabled_util_only/Rakefile +0 -6
- data/spec/fixtures/repos/assets_enabled_util_only/app/assets/empty +0 -0
- data/spec/fixtures/repos/assets_enabled_util_only/config/application.rb +0 -5
- data/spec/fixtures/repos/assets_enabled_util_only/config/ey.yml +0 -6
- data/spec/fixtures/repos/assets_in_hook/Gemfile +0 -5
- data/spec/fixtures/repos/assets_in_hook/Gemfile.lock +0 -88
- data/spec/fixtures/repos/assets_in_hook/README +0 -2
- data/spec/fixtures/repos/assets_in_hook/Rakefile +0 -5
- data/spec/fixtures/repos/assets_in_hook/app/assets/empty +0 -0
- data/spec/fixtures/repos/assets_in_hook/config/application.rb +0 -5
- data/spec/fixtures/repos/assets_in_hook/config/ey.yml +0 -3
- data/spec/fixtures/repos/assets_in_hook/deploy/before_compile_assets.rb +0 -2
- data/spec/fixtures/repos/bundle_fails/Gemfile +0 -1
- data/spec/fixtures/repos/bundle_fails/README +0 -1
- data/spec/fixtures/repos/bundle_fails/deploy/after_bundle.rb +0 -1
- data/spec/fixtures/repos/bundler_disabled/Gemfile +0 -4
- data/spec/fixtures/repos/bundler_disabled/Gemfile.lock +0 -12
- data/spec/fixtures/repos/bundler_disabled/README +0 -1
- data/spec/fixtures/repos/bundler_disabled/config/ey.yml +0 -2
- data/spec/fixtures/repos/bundler_disabled/deploy/after_bundle.rb +0 -1
- data/spec/fixtures/repos/bundler_disabled/deploy/before_bundle.rb +0 -1
- data/spec/fixtures/repos/default/Gemfile +0 -4
- data/spec/fixtures/repos/default/Gemfile.lock +0 -12
- data/spec/fixtures/repos/default/README +0 -5
- data/spec/fixtures/repos/default/ey.yml +0 -3
- data/spec/fixtures/repos/executable_hooks/README +0 -1
- data/spec/fixtures/repos/executable_hooks/deploy/before_restart +0 -72
- data/spec/fixtures/repos/executable_hooks_not_executable/README +0 -3
- data/spec/fixtures/repos/executable_hooks_not_executable/deploy/before_restart +0 -3
- data/spec/fixtures/repos/ey_yml/Gemfile +0 -4
- data/spec/fixtures/repos/ey_yml/Gemfile.lock +0 -12
- data/spec/fixtures/repos/ey_yml/README +0 -1
- data/spec/fixtures/repos/ey_yml/config/ey.yml +0 -18
- data/spec/fixtures/repos/ey_yml/deploy/before_migrate.rb +0 -6
- data/spec/fixtures/repos/ey_yml_alt/Gemfile +0 -4
- data/spec/fixtures/repos/ey_yml_alt/Gemfile.lock +0 -12
- data/spec/fixtures/repos/ey_yml_alt/README +0 -1
- data/spec/fixtures/repos/ey_yml_alt/deploy/before_migrate.rb +0 -6
- data/spec/fixtures/repos/ey_yml_alt/ey.yml +0 -12
- data/spec/fixtures/repos/hook_fails/README +0 -1
- data/spec/fixtures/repos/hook_fails/deploy/before_deploy.rb +0 -1
- data/spec/fixtures/repos/hooks/README +0 -1
- data/spec/fixtures/repos/hooks/deploy/after_bundle.rb +0 -1
- data/spec/fixtures/repos/hooks/deploy/after_compile_assets.rb +0 -1
- data/spec/fixtures/repos/hooks/deploy/after_deploy.rb +0 -1
- data/spec/fixtures/repos/hooks/deploy/after_migrate.rb +0 -1
- data/spec/fixtures/repos/hooks/deploy/after_restart.rb +0 -1
- data/spec/fixtures/repos/hooks/deploy/after_symlink.rb +0 -1
- data/spec/fixtures/repos/hooks/deploy/before_bundle.rb +0 -1
- data/spec/fixtures/repos/hooks/deploy/before_compile_assets.rb +0 -1
- data/spec/fixtures/repos/hooks/deploy/before_deploy.rb +0 -1
- data/spec/fixtures/repos/hooks/deploy/before_migrate.rb +0 -1
- data/spec/fixtures/repos/hooks/deploy/before_restart.rb +0 -1
- data/spec/fixtures/repos/hooks/deploy/before_symlink.rb +0 -1
- data/spec/fixtures/repos/multi_dep_manager/README +0 -1
- data/spec/fixtures/repos/multi_dep_manager/composer.json +0 -5
- data/spec/fixtures/repos/multi_dep_manager/composer.lock +0 -462
- data/spec/fixtures/repos/multi_dep_manager/package.json +0 -7
- data/spec/fixtures/repos/multi_dep_manager/public/index.php +0 -4
- data/spec/fixtures/repos/no_ey_config/Gemfile +0 -3
- data/spec/fixtures/repos/no_ey_config/Gemfile.lock +0 -10
- data/spec/fixtures/repos/no_ey_config/README +0 -1
- data/spec/fixtures/repos/no_ey_config/ey.yml +0 -3
- data/spec/fixtures/repos/no_gemfile_lock/Gemfile +0 -4
- data/spec/fixtures/repos/no_gemfile_lock/README +0 -1
- data/spec/fixtures/repos/no_gemfile_lock/ey.yml +0 -3
- data/spec/fixtures/repos/nodejs/README +0 -1
- data/spec/fixtures/repos/nodejs/package.json +0 -7
- data/spec/fixtures/repos/not_bundled/README +0 -1
- data/spec/fixtures/repos/npm_disabled/README +0 -1
- data/spec/fixtures/repos/npm_disabled/config/ey.yml +0 -2
- data/spec/fixtures/repos/npm_disabled/package.json +0 -7
- data/spec/fixtures/repos/php_composer_disabled/README +0 -1
- data/spec/fixtures/repos/php_composer_disabled/composer.json +0 -5
- data/spec/fixtures/repos/php_composer_disabled/composer.lock +0 -462
- data/spec/fixtures/repos/php_composer_disabled/config/ey.yml +0 -2
- data/spec/fixtures/repos/php_composer_disabled/public/index.php +0 -4
- data/spec/fixtures/repos/php_composer_lock/README +0 -1
- data/spec/fixtures/repos/php_composer_lock/composer.json +0 -5
- data/spec/fixtures/repos/php_composer_lock/composer.lock +0 -462
- data/spec/fixtures/repos/php_composer_lock/public/index.php +0 -4
- data/spec/fixtures/repos/php_no_composer_lock/README +0 -1
- data/spec/fixtures/repos/php_no_composer_lock/composer.json +0 -21
- data/spec/fixtures/repos/php_no_composer_lock/public/index.php +0 -4
- data/spec/fixtures/repos/public_system/Gemfile +0 -4
- data/spec/fixtures/repos/public_system/Gemfile.lock +0 -12
- data/spec/fixtures/repos/public_system/README +0 -5
- data/spec/fixtures/repos/public_system/ey.yml +0 -3
- data/spec/fixtures/repos/public_system/public/system/cant_touch_this.txt +0 -3
- data/spec/fixtures/repos/sqlite3/Gemfile +0 -4
- data/spec/fixtures/repos/sqlite3/Gemfile.lock +0 -89
- data/spec/fixtures/repos/sqlite3/README +0 -1
- data/spec/fixtures/retwisj.war +0 -0
- data/spec/fixtures/valid_hook.rb +0 -1
- data/spec/git_strategy_spec.rb +0 -34
- data/spec/lockfile_parser_spec.rb +0 -122
- data/spec/maintenance_spec.rb +0 -44
- data/spec/multi_dependency_manager_spec.rb +0 -25
- data/spec/nodejs_deploy_spec.rb +0 -30
- data/spec/php_deploy_spec.rb +0 -81
- data/spec/platform_configure_spec.rb +0 -61
- data/spec/rails31_deploy_spec.rb +0 -164
- data/spec/restart_spec.rb +0 -43
- data/spec/rollback_spec.rb +0 -87
- data/spec/server_spec.rb +0 -70
- data/spec/services_deploy_spec.rb +0 -153
- data/spec/shell_spec.rb +0 -57
- data/spec/source/archive_spec.rb +0 -33
- data/spec/source/git_spec.rb +0 -44
- data/spec/spec_helper.rb +0 -355
- data/spec/sqlite3_deploy_spec.rb +0 -38
- data/spec/support/integration.rb +0 -103
- data/spec/support/source_doubles.rb +0 -28
- data/spec/support/timecop.rb +0 -5
- data/spec/symlink_spec.rb +0 -15
@@ -0,0 +1,28 @@
|
|
1
|
+
require 'engineyard-serverside/cli/workflows/base'
|
2
|
+
require 'engineyard-serverside/cli/workflows/helpers'
|
3
|
+
require 'engineyard-serverside/maintenance'
|
4
|
+
|
5
|
+
module EY
|
6
|
+
module Serverside
|
7
|
+
module CLI
|
8
|
+
module Workflows
|
9
|
+
|
10
|
+
# ShowingMaintenanceStatus is a Workflow that reports the current
|
11
|
+
# enabled/disabled status of the maintenance page for the application
|
12
|
+
# specified in the options
|
13
|
+
class ShowingMaintenanceStatus < Base
|
14
|
+
include Helpers
|
15
|
+
|
16
|
+
private
|
17
|
+
def procedure
|
18
|
+
maintenance.status
|
19
|
+
end
|
20
|
+
|
21
|
+
def task_name
|
22
|
+
'maintenance-status'
|
23
|
+
end
|
24
|
+
end
|
25
|
+
end
|
26
|
+
end
|
27
|
+
end
|
28
|
+
end
|
@@ -4,12 +4,19 @@ module EY
|
|
4
4
|
module Serverside
|
5
5
|
class DependencyManager
|
6
6
|
class Bundler < Base
|
7
|
-
DEFAULT_VERSION = "1.
|
7
|
+
DEFAULT_VERSION = "1.14.6"
|
8
|
+
|
9
|
+
# Number of Bundler workers (--jobs)
|
10
|
+
JOBS_NUMBER = 4
|
8
11
|
|
9
12
|
def self.default_version
|
10
13
|
DEFAULT_VERSION
|
11
14
|
end
|
12
15
|
|
16
|
+
def self.jobs_number
|
17
|
+
JOBS_NUMBER
|
18
|
+
end
|
19
|
+
|
13
20
|
def detected?
|
14
21
|
gemfile?
|
15
22
|
end
|
@@ -103,6 +110,11 @@ To fix this problem, commit your Gemfile.lock to your repository and redeploy.
|
|
103
110
|
"--path", "#{paths.bundled_gems}",
|
104
111
|
"--binstubs", "#{paths.binstubs}",
|
105
112
|
]
|
113
|
+
|
114
|
+
# Install gems in parallel (Bundler.1.5+ only)
|
115
|
+
# @see EYPP-58
|
116
|
+
options += ["--jobs", self.class.jobs_number] if check_version(bundler_version, ">= 1.5")
|
117
|
+
|
106
118
|
options += ["--deployment"] if lockfile
|
107
119
|
options += config.extra_bundle_install_options
|
108
120
|
options
|
@@ -139,9 +151,24 @@ To fix this problem, commit your Gemfile.lock to your repository and redeploy.
|
|
139
151
|
end
|
140
152
|
end
|
141
153
|
|
154
|
+
##
|
155
|
+
# Checks that given version is satisfies give requirement.
|
156
|
+
#
|
157
|
+
# @param [String] version
|
158
|
+
# @param [String] requirement
|
159
|
+
# @return [true, false]
|
160
|
+
#
|
161
|
+
def check_version(version, requirement)
|
162
|
+
Gem::Requirement.new( requirement ).satisfied_by? Gem::Version.new( version )
|
163
|
+
end
|
164
|
+
|
142
165
|
class Lockfile
|
143
166
|
attr_reader :bundler_version
|
144
167
|
|
168
|
+
METADATA = 'METADATA'.freeze
|
169
|
+
BUNDLED = 'BUNDLED WITH'.freeze
|
170
|
+
DEPENDENCIES = 'DEPENDENCIES'.freeze
|
171
|
+
|
145
172
|
def initialize(lockfile_contents, default = EY::Serverside::DependencyManager::Bundler.default_version)
|
146
173
|
@contents = lockfile_contents
|
147
174
|
@default = default
|
@@ -179,9 +206,8 @@ To fix this problem, commit your Gemfile.lock to your repository and redeploy.
|
|
179
206
|
end
|
180
207
|
|
181
208
|
def parse
|
182
|
-
parse_from_metadata ||
|
183
|
-
|
184
|
-
raise("Malformed or pre bundler-1.0.0 Gemfile.lock: #{@contents[0,50]}...")
|
209
|
+
@bundler_version = parse_from_metadata || parse_from_bundled_with || parse_from_dependencies
|
210
|
+
raise("Malformed or pre bundler-1.0.0 Gemfile.lock: #{@contents[0,50]}...") unless @bundler_version
|
185
211
|
end
|
186
212
|
|
187
213
|
def slice_section(header)
|
@@ -194,25 +220,28 @@ To fix this problem, commit your Gemfile.lock to your repository and redeploy.
|
|
194
220
|
end
|
195
221
|
|
196
222
|
def parse_from_metadata
|
197
|
-
section = slice_section(
|
198
|
-
|
199
|
-
if section.empty?
|
200
|
-
return nil
|
201
|
-
end
|
223
|
+
section = slice_section(METADATA)
|
224
|
+
return if section.empty?
|
202
225
|
|
203
226
|
result = section.scan(/^\s*version:\s*(.*)$/).first
|
204
|
-
|
227
|
+
result ? result.first : @default
|
228
|
+
end
|
229
|
+
|
230
|
+
def parse_from_bundled_with
|
231
|
+
section = slice_section(BUNDLED)
|
232
|
+
return if section.empty?
|
233
|
+
|
234
|
+
result = section.scan(/^#{BUNDLED}\s*(.*)$/).first
|
235
|
+
result ? result.first : @default
|
205
236
|
end
|
206
237
|
|
207
238
|
def dependencies_section
|
208
|
-
@dependencies_section ||= slice_section(
|
239
|
+
@dependencies_section ||= slice_section(DEPENDENCIES)
|
209
240
|
end
|
210
241
|
|
211
242
|
def parse_from_dependencies
|
212
243
|
section = dependencies_section
|
213
|
-
if section.empty?
|
214
|
-
return nil
|
215
|
-
end
|
244
|
+
return if section.empty?
|
216
245
|
|
217
246
|
result = scan_gem('bundler', section)
|
218
247
|
bundler_version = result ? result.last : nil
|
@@ -0,0 +1,59 @@
|
|
1
|
+
require 'forwardable'
|
2
|
+
require 'engineyard-serverside/about'
|
3
|
+
|
4
|
+
module EY
|
5
|
+
module Serverside
|
6
|
+
|
7
|
+
# Propagator ensures that a proper version of the engineyard-serverside
|
8
|
+
# gem is installed on a given set of servers
|
9
|
+
class Propagator
|
10
|
+
def self.propagate(servers, shell)
|
11
|
+
new(servers, shell).propagate
|
12
|
+
end
|
13
|
+
|
14
|
+
extend Forwardable
|
15
|
+
|
16
|
+
def_delegators About, :gem_binary, :gem_file, :gem_filename, :gem_name,
|
17
|
+
:name_with_version, :version
|
18
|
+
|
19
|
+
attr_reader :servers, :shell
|
20
|
+
|
21
|
+
def initialize(servers, shell)
|
22
|
+
@servers = servers
|
23
|
+
@shell = shell
|
24
|
+
end
|
25
|
+
|
26
|
+
def propagate
|
27
|
+
shell.status "Verifying and propagating #{name_with_version} to all servers."
|
28
|
+
|
29
|
+
servers.remote.run_for_each! do |server|
|
30
|
+
propagation_command_for(server)
|
31
|
+
end
|
32
|
+
end
|
33
|
+
|
34
|
+
private
|
35
|
+
def propagation_command_for(server)
|
36
|
+
check = server.command_on_server('sh -l -c', check_command)
|
37
|
+
scp = server.scp_command(About.gem_file, remote_gem_file)
|
38
|
+
install = server.command_on_server('sudo sh -l -c', install_command)
|
39
|
+
|
40
|
+
"(#{check}) || ((#{scp}) && (#{install}))"
|
41
|
+
end
|
42
|
+
|
43
|
+
def remote_gem_file
|
44
|
+
@remote_gem_file ||= File.join(Dir.tmpdir, gem_filename)
|
45
|
+
end
|
46
|
+
|
47
|
+
def check_command
|
48
|
+
# the [,)] is to stop us from looking for e.g. 0.5.1, seeing
|
49
|
+
# 0.5.11, and mistakenly thinking 0.5.1 is there
|
50
|
+
|
51
|
+
%{#{gem_binary} list #{gem_name} | grep "#{gem_name}" | egrep -q "#{version.gsub(/\./, '\.')}[,)]"}
|
52
|
+
end
|
53
|
+
|
54
|
+
def install_command
|
55
|
+
"#{gem_binary} install --no-rdoc --no-ri '#{remote_gem_file}'"
|
56
|
+
end
|
57
|
+
end
|
58
|
+
end
|
59
|
+
end
|
@@ -58,14 +58,17 @@ 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
|
-
shell.logged_system("sh -l -c '#{cd} && #{task}'")
|
61
|
+
compilation_result = shell.logged_system("sh -l -c '#{cd} && #{task}'")
|
62
|
+
shell.status "Assets compilation result is #{compilation_result.success?}"
|
63
|
+
raise "Assets compilation error" unless compilation_result.success?
|
62
64
|
|
63
65
|
shell.status "Syncing assets to other remote servers (experimental_sync_assets: true)"
|
64
66
|
runner.servers.remote.run_for_each do |server|
|
65
67
|
server.sync_directory_command(paths.public_assets)
|
66
68
|
end
|
67
69
|
else
|
68
|
-
runner.run "#{cd} && #{task}"
|
70
|
+
compilation_result = runner.run "#{cd} && #{task}"
|
71
|
+
raise "Assets compilation error" unless compilation_result.success?
|
69
72
|
end
|
70
73
|
end
|
71
74
|
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.
|
4
|
+
version: 2.6.15.alpha1
|
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: 2018-02-21 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,72 +70,100 @@ 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
|
+
- !ruby/object:Gem::Dependency
|
140
|
+
name: cucumber
|
141
|
+
requirement: !ruby/object:Gem::Requirement
|
142
|
+
requirements:
|
143
|
+
- - ~>
|
144
|
+
- !ruby/object:Gem::Version
|
145
|
+
version: 1.3.20
|
146
|
+
type: :development
|
147
|
+
prerelease: false
|
148
|
+
version_requirements: !ruby/object:Gem::Requirement
|
149
|
+
requirements:
|
150
|
+
- - ~>
|
151
|
+
- !ruby/object:Gem::Version
|
152
|
+
version: 1.3.20
|
153
|
+
- !ruby/object:Gem::Dependency
|
154
|
+
name: aruba
|
155
|
+
requirement: !ruby/object:Gem::Requirement
|
156
|
+
requirements:
|
157
|
+
- - ~>
|
158
|
+
- !ruby/object:Gem::Version
|
159
|
+
version: 0.14.2
|
160
|
+
type: :development
|
161
|
+
prerelease: false
|
162
|
+
version_requirements: !ruby/object:Gem::Requirement
|
163
|
+
requirements:
|
164
|
+
- - ~>
|
165
|
+
- !ruby/object:Gem::Version
|
166
|
+
version: 0.14.2
|
139
167
|
description:
|
140
168
|
email: cloud@engineyard.com
|
141
169
|
executables:
|
@@ -149,7 +177,21 @@ files:
|
|
149
177
|
- lib/engineyard-serverside.rb
|
150
178
|
- lib/engineyard-serverside/about.rb
|
151
179
|
- lib/engineyard-serverside/cli.rb
|
152
|
-
- lib/engineyard-serverside/
|
180
|
+
- lib/engineyard-serverside/cli/app.rb
|
181
|
+
- lib/engineyard-serverside/cli/helpers.rb
|
182
|
+
- lib/engineyard-serverside/cli/server_hash_extractor.rb
|
183
|
+
- lib/engineyard-serverside/cli/workflows.rb
|
184
|
+
- lib/engineyard-serverside/cli/workflows/base.rb
|
185
|
+
- lib/engineyard-serverside/cli/workflows/calling_deploy_hooks.rb
|
186
|
+
- lib/engineyard-serverside/cli/workflows/deploying_applications.rb
|
187
|
+
- lib/engineyard-serverside/cli/workflows/disabling_maintenance.rb
|
188
|
+
- lib/engineyard-serverside/cli/workflows/enabling_maintenance.rb
|
189
|
+
- lib/engineyard-serverside/cli/workflows/errors.rb
|
190
|
+
- lib/engineyard-serverside/cli/workflows/helpers.rb
|
191
|
+
- lib/engineyard-serverside/cli/workflows/integrating_servers.rb
|
192
|
+
- lib/engineyard-serverside/cli/workflows/restarting_applications.rb
|
193
|
+
- lib/engineyard-serverside/cli/workflows/rolling_back_applications.rb
|
194
|
+
- lib/engineyard-serverside/cli/workflows/showing_maintenance_status.rb
|
153
195
|
- lib/engineyard-serverside/configuration.rb
|
154
196
|
- lib/engineyard-serverside/default_maintenance_page.html
|
155
197
|
- lib/engineyard-serverside/dependency_manager.rb
|
@@ -163,6 +205,7 @@ files:
|
|
163
205
|
- lib/engineyard-serverside/deprecation.rb
|
164
206
|
- lib/engineyard-serverside/maintenance.rb
|
165
207
|
- lib/engineyard-serverside/paths.rb
|
208
|
+
- lib/engineyard-serverside/propagator.rb
|
166
209
|
- lib/engineyard-serverside/rails_assets.rb
|
167
210
|
- lib/engineyard-serverside/rails_assets/strategy.rb
|
168
211
|
- lib/engineyard-serverside/server.rb
|
@@ -260,191 +303,6 @@ files:
|
|
260
303
|
- lib/vendor/thor/lib/thor/task.rb
|
261
304
|
- lib/vendor/thor/lib/thor/util.rb
|
262
305
|
- lib/vendor/thor/lib/thor/version.rb
|
263
|
-
- spec/archive_deploy_spec.rb
|
264
|
-
- spec/basic_deploy_spec.rb
|
265
|
-
- spec/bundler_deploy_spec.rb
|
266
|
-
- spec/configuration_spec.rb
|
267
|
-
- spec/custom_deploy_spec.rb
|
268
|
-
- spec/deploy_hook_spec.rb
|
269
|
-
- spec/deprecation_spec.rb
|
270
|
-
- spec/ey_yml_customized_deploy_spec.rb
|
271
|
-
- spec/fixtures/gitrepo.tar.gz
|
272
|
-
- spec/fixtures/gitrepo/bar
|
273
|
-
- spec/fixtures/gitrepo/foo
|
274
|
-
- spec/fixtures/invalid_hook.rb
|
275
|
-
- spec/fixtures/lockfiles/0.9-no-bundler
|
276
|
-
- spec/fixtures/lockfiles/0.9-with-bundler
|
277
|
-
- spec/fixtures/lockfiles/1.0-no-bundler
|
278
|
-
- spec/fixtures/lockfiles/1.0.0.rc.1-with-bundler
|
279
|
-
- spec/fixtures/lockfiles/1.0.18-do_mysql
|
280
|
-
- spec/fixtures/lockfiles/1.0.18-do_postgres
|
281
|
-
- spec/fixtures/lockfiles/1.0.18-mysql
|
282
|
-
- spec/fixtures/lockfiles/1.0.18-mysql2
|
283
|
-
- spec/fixtures/lockfiles/1.0.18-pg
|
284
|
-
- spec/fixtures/lockfiles/1.0.6-no-bundler
|
285
|
-
- spec/fixtures/lockfiles/1.0.6-with-any-bundler
|
286
|
-
- spec/fixtures/lockfiles/1.0.6-with-bundler
|
287
|
-
- spec/fixtures/lockfiles/1.3.1-rails-3.2.13
|
288
|
-
- spec/fixtures/lockfiles/not-a-lockfile
|
289
|
-
- spec/fixtures/repos/assets_detected/Gemfile
|
290
|
-
- spec/fixtures/repos/assets_detected/Gemfile.lock
|
291
|
-
- spec/fixtures/repos/assets_detected/README
|
292
|
-
- spec/fixtures/repos/assets_detected/Rakefile
|
293
|
-
- spec/fixtures/repos/assets_detected/app/assets/empty
|
294
|
-
- spec/fixtures/repos/assets_detected/config/application.rb
|
295
|
-
- spec/fixtures/repos/assets_detected/config/ey.yml
|
296
|
-
- spec/fixtures/repos/assets_disabled/Gemfile
|
297
|
-
- spec/fixtures/repos/assets_disabled/Gemfile.lock
|
298
|
-
- spec/fixtures/repos/assets_disabled/README
|
299
|
-
- spec/fixtures/repos/assets_disabled/Rakefile
|
300
|
-
- spec/fixtures/repos/assets_disabled/app/assets/empty
|
301
|
-
- spec/fixtures/repos/assets_disabled/config/application.rb
|
302
|
-
- spec/fixtures/repos/assets_disabled/config/ey.yml
|
303
|
-
- spec/fixtures/repos/assets_disabled_in_ey_yml/Gemfile
|
304
|
-
- spec/fixtures/repos/assets_disabled_in_ey_yml/Gemfile.lock
|
305
|
-
- spec/fixtures/repos/assets_disabled_in_ey_yml/README
|
306
|
-
- spec/fixtures/repos/assets_disabled_in_ey_yml/Rakefile
|
307
|
-
- spec/fixtures/repos/assets_disabled_in_ey_yml/app/assets/empty
|
308
|
-
- spec/fixtures/repos/assets_disabled_in_ey_yml/config/application.rb
|
309
|
-
- spec/fixtures/repos/assets_disabled_in_ey_yml/config/ey.yml
|
310
|
-
- spec/fixtures/repos/assets_disabled_utf8/Gemfile
|
311
|
-
- spec/fixtures/repos/assets_disabled_utf8/Gemfile.lock
|
312
|
-
- spec/fixtures/repos/assets_disabled_utf8/README
|
313
|
-
- spec/fixtures/repos/assets_disabled_utf8/Rakefile
|
314
|
-
- spec/fixtures/repos/assets_disabled_utf8/app/assets/empty
|
315
|
-
- spec/fixtures/repos/assets_disabled_utf8/config/application.rb
|
316
|
-
- spec/fixtures/repos/assets_disabled_utf8/config/ey.yml
|
317
|
-
- spec/fixtures/repos/assets_enabled_all/Gemfile
|
318
|
-
- spec/fixtures/repos/assets_enabled_all/Gemfile.lock
|
319
|
-
- spec/fixtures/repos/assets_enabled_all/README
|
320
|
-
- spec/fixtures/repos/assets_enabled_all/app/assets/empty
|
321
|
-
- spec/fixtures/repos/assets_enabled_all/config/application.rb
|
322
|
-
- spec/fixtures/repos/assets_enabled_all/config/ey.yml
|
323
|
-
- spec/fixtures/repos/assets_enabled_all/script/assets
|
324
|
-
- spec/fixtures/repos/assets_enabled_all/tmp/obstruction
|
325
|
-
- spec/fixtures/repos/assets_enabled_in_ey_yml/Gemfile
|
326
|
-
- spec/fixtures/repos/assets_enabled_in_ey_yml/Gemfile.lock
|
327
|
-
- spec/fixtures/repos/assets_enabled_in_ey_yml/README
|
328
|
-
- spec/fixtures/repos/assets_enabled_in_ey_yml/Rakefile
|
329
|
-
- spec/fixtures/repos/assets_enabled_in_ey_yml/config/ey.yml
|
330
|
-
- spec/fixtures/repos/assets_enabled_util_only/Gemfile
|
331
|
-
- spec/fixtures/repos/assets_enabled_util_only/Gemfile.lock
|
332
|
-
- spec/fixtures/repos/assets_enabled_util_only/README
|
333
|
-
- spec/fixtures/repos/assets_enabled_util_only/Rakefile
|
334
|
-
- spec/fixtures/repos/assets_enabled_util_only/app/assets/empty
|
335
|
-
- spec/fixtures/repos/assets_enabled_util_only/config/application.rb
|
336
|
-
- spec/fixtures/repos/assets_enabled_util_only/config/ey.yml
|
337
|
-
- spec/fixtures/repos/assets_in_hook/Gemfile
|
338
|
-
- spec/fixtures/repos/assets_in_hook/Gemfile.lock
|
339
|
-
- spec/fixtures/repos/assets_in_hook/README
|
340
|
-
- spec/fixtures/repos/assets_in_hook/Rakefile
|
341
|
-
- spec/fixtures/repos/assets_in_hook/app/assets/empty
|
342
|
-
- spec/fixtures/repos/assets_in_hook/config/application.rb
|
343
|
-
- spec/fixtures/repos/assets_in_hook/config/ey.yml
|
344
|
-
- spec/fixtures/repos/assets_in_hook/deploy/before_compile_assets.rb
|
345
|
-
- spec/fixtures/repos/bundle_fails/Gemfile
|
346
|
-
- spec/fixtures/repos/bundle_fails/README
|
347
|
-
- spec/fixtures/repos/bundle_fails/deploy/after_bundle.rb
|
348
|
-
- spec/fixtures/repos/bundler_disabled/Gemfile
|
349
|
-
- spec/fixtures/repos/bundler_disabled/Gemfile.lock
|
350
|
-
- spec/fixtures/repos/bundler_disabled/README
|
351
|
-
- spec/fixtures/repos/bundler_disabled/config/ey.yml
|
352
|
-
- spec/fixtures/repos/bundler_disabled/deploy/after_bundle.rb
|
353
|
-
- spec/fixtures/repos/bundler_disabled/deploy/before_bundle.rb
|
354
|
-
- spec/fixtures/repos/default/Gemfile
|
355
|
-
- spec/fixtures/repos/default/Gemfile.lock
|
356
|
-
- spec/fixtures/repos/default/README
|
357
|
-
- spec/fixtures/repos/default/ey.yml
|
358
|
-
- spec/fixtures/repos/executable_hooks/README
|
359
|
-
- spec/fixtures/repos/executable_hooks/deploy/before_restart
|
360
|
-
- spec/fixtures/repos/executable_hooks_not_executable/README
|
361
|
-
- spec/fixtures/repos/executable_hooks_not_executable/deploy/before_restart
|
362
|
-
- spec/fixtures/repos/ey_yml/Gemfile
|
363
|
-
- spec/fixtures/repos/ey_yml/Gemfile.lock
|
364
|
-
- spec/fixtures/repos/ey_yml/README
|
365
|
-
- spec/fixtures/repos/ey_yml/config/ey.yml
|
366
|
-
- spec/fixtures/repos/ey_yml/deploy/before_migrate.rb
|
367
|
-
- spec/fixtures/repos/ey_yml_alt/Gemfile
|
368
|
-
- spec/fixtures/repos/ey_yml_alt/Gemfile.lock
|
369
|
-
- spec/fixtures/repos/ey_yml_alt/README
|
370
|
-
- spec/fixtures/repos/ey_yml_alt/deploy/before_migrate.rb
|
371
|
-
- spec/fixtures/repos/ey_yml_alt/ey.yml
|
372
|
-
- spec/fixtures/repos/hook_fails/README
|
373
|
-
- spec/fixtures/repos/hook_fails/deploy/before_deploy.rb
|
374
|
-
- spec/fixtures/repos/hooks/README
|
375
|
-
- spec/fixtures/repos/hooks/deploy/after_bundle.rb
|
376
|
-
- spec/fixtures/repos/hooks/deploy/after_compile_assets.rb
|
377
|
-
- spec/fixtures/repos/hooks/deploy/after_deploy.rb
|
378
|
-
- spec/fixtures/repos/hooks/deploy/after_migrate.rb
|
379
|
-
- spec/fixtures/repos/hooks/deploy/after_restart.rb
|
380
|
-
- spec/fixtures/repos/hooks/deploy/after_symlink.rb
|
381
|
-
- spec/fixtures/repos/hooks/deploy/before_bundle.rb
|
382
|
-
- spec/fixtures/repos/hooks/deploy/before_compile_assets.rb
|
383
|
-
- spec/fixtures/repos/hooks/deploy/before_deploy.rb
|
384
|
-
- spec/fixtures/repos/hooks/deploy/before_migrate.rb
|
385
|
-
- spec/fixtures/repos/hooks/deploy/before_restart.rb
|
386
|
-
- spec/fixtures/repos/hooks/deploy/before_symlink.rb
|
387
|
-
- spec/fixtures/repos/multi_dep_manager/README
|
388
|
-
- spec/fixtures/repos/multi_dep_manager/composer.json
|
389
|
-
- spec/fixtures/repos/multi_dep_manager/composer.lock
|
390
|
-
- spec/fixtures/repos/multi_dep_manager/package.json
|
391
|
-
- spec/fixtures/repos/multi_dep_manager/public/index.php
|
392
|
-
- spec/fixtures/repos/no_ey_config/Gemfile
|
393
|
-
- spec/fixtures/repos/no_ey_config/Gemfile.lock
|
394
|
-
- spec/fixtures/repos/no_ey_config/README
|
395
|
-
- spec/fixtures/repos/no_ey_config/ey.yml
|
396
|
-
- spec/fixtures/repos/no_gemfile_lock/Gemfile
|
397
|
-
- spec/fixtures/repos/no_gemfile_lock/README
|
398
|
-
- spec/fixtures/repos/no_gemfile_lock/ey.yml
|
399
|
-
- spec/fixtures/repos/nodejs/README
|
400
|
-
- spec/fixtures/repos/nodejs/package.json
|
401
|
-
- spec/fixtures/repos/not_bundled/README
|
402
|
-
- spec/fixtures/repos/npm_disabled/README
|
403
|
-
- spec/fixtures/repos/npm_disabled/config/ey.yml
|
404
|
-
- spec/fixtures/repos/npm_disabled/package.json
|
405
|
-
- spec/fixtures/repos/php_composer_disabled/README
|
406
|
-
- spec/fixtures/repos/php_composer_disabled/composer.json
|
407
|
-
- spec/fixtures/repos/php_composer_disabled/composer.lock
|
408
|
-
- spec/fixtures/repos/php_composer_disabled/config/ey.yml
|
409
|
-
- spec/fixtures/repos/php_composer_disabled/public/index.php
|
410
|
-
- spec/fixtures/repos/php_composer_lock/README
|
411
|
-
- spec/fixtures/repos/php_composer_lock/composer.json
|
412
|
-
- spec/fixtures/repos/php_composer_lock/composer.lock
|
413
|
-
- spec/fixtures/repos/php_composer_lock/public/index.php
|
414
|
-
- spec/fixtures/repos/php_no_composer_lock/README
|
415
|
-
- spec/fixtures/repos/php_no_composer_lock/composer.json
|
416
|
-
- spec/fixtures/repos/php_no_composer_lock/public/index.php
|
417
|
-
- spec/fixtures/repos/public_system/Gemfile
|
418
|
-
- spec/fixtures/repos/public_system/Gemfile.lock
|
419
|
-
- spec/fixtures/repos/public_system/README
|
420
|
-
- spec/fixtures/repos/public_system/ey.yml
|
421
|
-
- spec/fixtures/repos/public_system/public/system/cant_touch_this.txt
|
422
|
-
- spec/fixtures/repos/sqlite3/Gemfile
|
423
|
-
- spec/fixtures/repos/sqlite3/Gemfile.lock
|
424
|
-
- spec/fixtures/repos/sqlite3/README
|
425
|
-
- spec/fixtures/retwisj.war
|
426
|
-
- spec/fixtures/valid_hook.rb
|
427
|
-
- spec/git_strategy_spec.rb
|
428
|
-
- spec/lockfile_parser_spec.rb
|
429
|
-
- spec/maintenance_spec.rb
|
430
|
-
- spec/multi_dependency_manager_spec.rb
|
431
|
-
- spec/nodejs_deploy_spec.rb
|
432
|
-
- spec/php_deploy_spec.rb
|
433
|
-
- spec/platform_configure_spec.rb
|
434
|
-
- spec/rails31_deploy_spec.rb
|
435
|
-
- spec/restart_spec.rb
|
436
|
-
- spec/rollback_spec.rb
|
437
|
-
- spec/server_spec.rb
|
438
|
-
- spec/services_deploy_spec.rb
|
439
|
-
- spec/shell_spec.rb
|
440
|
-
- spec/source/archive_spec.rb
|
441
|
-
- spec/source/git_spec.rb
|
442
|
-
- spec/spec_helper.rb
|
443
|
-
- spec/sqlite3_deploy_spec.rb
|
444
|
-
- spec/support/integration.rb
|
445
|
-
- spec/support/source_doubles.rb
|
446
|
-
- spec/support/timecop.rb
|
447
|
-
- spec/symlink_spec.rb
|
448
306
|
homepage: http://github.com/engineyard/engineyard-serverside
|
449
307
|
licenses:
|
450
308
|
- MIT
|
@@ -455,204 +313,18 @@ require_paths:
|
|
455
313
|
- lib
|
456
314
|
required_ruby_version: !ruby/object:Gem::Requirement
|
457
315
|
requirements:
|
458
|
-
- -
|
316
|
+
- - ! '>='
|
459
317
|
- !ruby/object:Gem::Version
|
460
318
|
version: '0'
|
461
319
|
required_rubygems_version: !ruby/object:Gem::Requirement
|
462
320
|
requirements:
|
463
|
-
- -
|
321
|
+
- - ! '>='
|
464
322
|
- !ruby/object:Gem::Version
|
465
323
|
version: 1.3.6
|
466
324
|
requirements: []
|
467
325
|
rubyforge_project:
|
468
|
-
rubygems_version: 2.
|
326
|
+
rubygems_version: 2.6.14
|
469
327
|
signing_key:
|
470
328
|
specification_version: 4
|
471
329
|
summary: A gem that deploys ruby applications on EY Cloud instances
|
472
|
-
test_files:
|
473
|
-
- spec/archive_deploy_spec.rb
|
474
|
-
- spec/basic_deploy_spec.rb
|
475
|
-
- spec/bundler_deploy_spec.rb
|
476
|
-
- spec/configuration_spec.rb
|
477
|
-
- spec/custom_deploy_spec.rb
|
478
|
-
- spec/deploy_hook_spec.rb
|
479
|
-
- spec/deprecation_spec.rb
|
480
|
-
- spec/ey_yml_customized_deploy_spec.rb
|
481
|
-
- spec/fixtures/gitrepo/bar
|
482
|
-
- spec/fixtures/gitrepo/foo
|
483
|
-
- spec/fixtures/gitrepo.tar.gz
|
484
|
-
- spec/fixtures/invalid_hook.rb
|
485
|
-
- spec/fixtures/lockfiles/0.9-no-bundler
|
486
|
-
- spec/fixtures/lockfiles/0.9-with-bundler
|
487
|
-
- spec/fixtures/lockfiles/1.0-no-bundler
|
488
|
-
- spec/fixtures/lockfiles/1.0.0.rc.1-with-bundler
|
489
|
-
- spec/fixtures/lockfiles/1.0.18-do_mysql
|
490
|
-
- spec/fixtures/lockfiles/1.0.18-do_postgres
|
491
|
-
- spec/fixtures/lockfiles/1.0.18-mysql
|
492
|
-
- spec/fixtures/lockfiles/1.0.18-mysql2
|
493
|
-
- spec/fixtures/lockfiles/1.0.18-pg
|
494
|
-
- spec/fixtures/lockfiles/1.0.6-no-bundler
|
495
|
-
- spec/fixtures/lockfiles/1.0.6-with-any-bundler
|
496
|
-
- spec/fixtures/lockfiles/1.0.6-with-bundler
|
497
|
-
- spec/fixtures/lockfiles/1.3.1-rails-3.2.13
|
498
|
-
- spec/fixtures/lockfiles/not-a-lockfile
|
499
|
-
- spec/fixtures/repos/assets_detected/app/assets/empty
|
500
|
-
- spec/fixtures/repos/assets_detected/config/application.rb
|
501
|
-
- spec/fixtures/repos/assets_detected/config/ey.yml
|
502
|
-
- spec/fixtures/repos/assets_detected/Gemfile
|
503
|
-
- spec/fixtures/repos/assets_detected/Gemfile.lock
|
504
|
-
- spec/fixtures/repos/assets_detected/Rakefile
|
505
|
-
- spec/fixtures/repos/assets_detected/README
|
506
|
-
- spec/fixtures/repos/assets_disabled/app/assets/empty
|
507
|
-
- spec/fixtures/repos/assets_disabled/config/application.rb
|
508
|
-
- spec/fixtures/repos/assets_disabled/config/ey.yml
|
509
|
-
- spec/fixtures/repos/assets_disabled/Gemfile
|
510
|
-
- spec/fixtures/repos/assets_disabled/Gemfile.lock
|
511
|
-
- spec/fixtures/repos/assets_disabled/Rakefile
|
512
|
-
- spec/fixtures/repos/assets_disabled/README
|
513
|
-
- spec/fixtures/repos/assets_disabled_in_ey_yml/app/assets/empty
|
514
|
-
- spec/fixtures/repos/assets_disabled_in_ey_yml/config/application.rb
|
515
|
-
- spec/fixtures/repos/assets_disabled_in_ey_yml/config/ey.yml
|
516
|
-
- spec/fixtures/repos/assets_disabled_in_ey_yml/Gemfile
|
517
|
-
- spec/fixtures/repos/assets_disabled_in_ey_yml/Gemfile.lock
|
518
|
-
- spec/fixtures/repos/assets_disabled_in_ey_yml/Rakefile
|
519
|
-
- spec/fixtures/repos/assets_disabled_in_ey_yml/README
|
520
|
-
- spec/fixtures/repos/assets_disabled_utf8/app/assets/empty
|
521
|
-
- spec/fixtures/repos/assets_disabled_utf8/config/application.rb
|
522
|
-
- spec/fixtures/repos/assets_disabled_utf8/config/ey.yml
|
523
|
-
- spec/fixtures/repos/assets_disabled_utf8/Gemfile
|
524
|
-
- spec/fixtures/repos/assets_disabled_utf8/Gemfile.lock
|
525
|
-
- spec/fixtures/repos/assets_disabled_utf8/Rakefile
|
526
|
-
- spec/fixtures/repos/assets_disabled_utf8/README
|
527
|
-
- spec/fixtures/repos/assets_enabled_all/app/assets/empty
|
528
|
-
- spec/fixtures/repos/assets_enabled_all/config/application.rb
|
529
|
-
- spec/fixtures/repos/assets_enabled_all/config/ey.yml
|
530
|
-
- spec/fixtures/repos/assets_enabled_all/Gemfile
|
531
|
-
- spec/fixtures/repos/assets_enabled_all/Gemfile.lock
|
532
|
-
- spec/fixtures/repos/assets_enabled_all/README
|
533
|
-
- spec/fixtures/repos/assets_enabled_all/script/assets
|
534
|
-
- spec/fixtures/repos/assets_enabled_all/tmp/obstruction
|
535
|
-
- spec/fixtures/repos/assets_enabled_in_ey_yml/config/ey.yml
|
536
|
-
- spec/fixtures/repos/assets_enabled_in_ey_yml/Gemfile
|
537
|
-
- spec/fixtures/repos/assets_enabled_in_ey_yml/Gemfile.lock
|
538
|
-
- spec/fixtures/repos/assets_enabled_in_ey_yml/Rakefile
|
539
|
-
- spec/fixtures/repos/assets_enabled_in_ey_yml/README
|
540
|
-
- spec/fixtures/repos/assets_enabled_util_only/app/assets/empty
|
541
|
-
- spec/fixtures/repos/assets_enabled_util_only/config/application.rb
|
542
|
-
- spec/fixtures/repos/assets_enabled_util_only/config/ey.yml
|
543
|
-
- spec/fixtures/repos/assets_enabled_util_only/Gemfile
|
544
|
-
- spec/fixtures/repos/assets_enabled_util_only/Gemfile.lock
|
545
|
-
- spec/fixtures/repos/assets_enabled_util_only/Rakefile
|
546
|
-
- spec/fixtures/repos/assets_enabled_util_only/README
|
547
|
-
- spec/fixtures/repos/assets_in_hook/app/assets/empty
|
548
|
-
- spec/fixtures/repos/assets_in_hook/config/application.rb
|
549
|
-
- spec/fixtures/repos/assets_in_hook/config/ey.yml
|
550
|
-
- spec/fixtures/repos/assets_in_hook/deploy/before_compile_assets.rb
|
551
|
-
- spec/fixtures/repos/assets_in_hook/Gemfile
|
552
|
-
- spec/fixtures/repos/assets_in_hook/Gemfile.lock
|
553
|
-
- spec/fixtures/repos/assets_in_hook/Rakefile
|
554
|
-
- spec/fixtures/repos/assets_in_hook/README
|
555
|
-
- spec/fixtures/repos/bundle_fails/deploy/after_bundle.rb
|
556
|
-
- spec/fixtures/repos/bundle_fails/Gemfile
|
557
|
-
- spec/fixtures/repos/bundle_fails/README
|
558
|
-
- spec/fixtures/repos/bundler_disabled/config/ey.yml
|
559
|
-
- spec/fixtures/repos/bundler_disabled/deploy/after_bundle.rb
|
560
|
-
- spec/fixtures/repos/bundler_disabled/deploy/before_bundle.rb
|
561
|
-
- spec/fixtures/repos/bundler_disabled/Gemfile
|
562
|
-
- spec/fixtures/repos/bundler_disabled/Gemfile.lock
|
563
|
-
- spec/fixtures/repos/bundler_disabled/README
|
564
|
-
- spec/fixtures/repos/default/ey.yml
|
565
|
-
- spec/fixtures/repos/default/Gemfile
|
566
|
-
- spec/fixtures/repos/default/Gemfile.lock
|
567
|
-
- spec/fixtures/repos/default/README
|
568
|
-
- spec/fixtures/repos/executable_hooks/deploy/before_restart
|
569
|
-
- spec/fixtures/repos/executable_hooks/README
|
570
|
-
- spec/fixtures/repos/executable_hooks_not_executable/deploy/before_restart
|
571
|
-
- spec/fixtures/repos/executable_hooks_not_executable/README
|
572
|
-
- spec/fixtures/repos/ey_yml/config/ey.yml
|
573
|
-
- spec/fixtures/repos/ey_yml/deploy/before_migrate.rb
|
574
|
-
- spec/fixtures/repos/ey_yml/Gemfile
|
575
|
-
- spec/fixtures/repos/ey_yml/Gemfile.lock
|
576
|
-
- spec/fixtures/repos/ey_yml/README
|
577
|
-
- spec/fixtures/repos/ey_yml_alt/deploy/before_migrate.rb
|
578
|
-
- spec/fixtures/repos/ey_yml_alt/ey.yml
|
579
|
-
- spec/fixtures/repos/ey_yml_alt/Gemfile
|
580
|
-
- spec/fixtures/repos/ey_yml_alt/Gemfile.lock
|
581
|
-
- spec/fixtures/repos/ey_yml_alt/README
|
582
|
-
- spec/fixtures/repos/hook_fails/deploy/before_deploy.rb
|
583
|
-
- spec/fixtures/repos/hook_fails/README
|
584
|
-
- spec/fixtures/repos/hooks/deploy/after_bundle.rb
|
585
|
-
- spec/fixtures/repos/hooks/deploy/after_compile_assets.rb
|
586
|
-
- spec/fixtures/repos/hooks/deploy/after_deploy.rb
|
587
|
-
- spec/fixtures/repos/hooks/deploy/after_migrate.rb
|
588
|
-
- spec/fixtures/repos/hooks/deploy/after_restart.rb
|
589
|
-
- spec/fixtures/repos/hooks/deploy/after_symlink.rb
|
590
|
-
- spec/fixtures/repos/hooks/deploy/before_bundle.rb
|
591
|
-
- spec/fixtures/repos/hooks/deploy/before_compile_assets.rb
|
592
|
-
- spec/fixtures/repos/hooks/deploy/before_deploy.rb
|
593
|
-
- spec/fixtures/repos/hooks/deploy/before_migrate.rb
|
594
|
-
- spec/fixtures/repos/hooks/deploy/before_restart.rb
|
595
|
-
- spec/fixtures/repos/hooks/deploy/before_symlink.rb
|
596
|
-
- spec/fixtures/repos/hooks/README
|
597
|
-
- spec/fixtures/repos/multi_dep_manager/composer.json
|
598
|
-
- spec/fixtures/repos/multi_dep_manager/composer.lock
|
599
|
-
- spec/fixtures/repos/multi_dep_manager/package.json
|
600
|
-
- spec/fixtures/repos/multi_dep_manager/public/index.php
|
601
|
-
- spec/fixtures/repos/multi_dep_manager/README
|
602
|
-
- spec/fixtures/repos/no_ey_config/ey.yml
|
603
|
-
- spec/fixtures/repos/no_ey_config/Gemfile
|
604
|
-
- spec/fixtures/repos/no_ey_config/Gemfile.lock
|
605
|
-
- spec/fixtures/repos/no_ey_config/README
|
606
|
-
- spec/fixtures/repos/no_gemfile_lock/ey.yml
|
607
|
-
- spec/fixtures/repos/no_gemfile_lock/Gemfile
|
608
|
-
- spec/fixtures/repos/no_gemfile_lock/README
|
609
|
-
- spec/fixtures/repos/nodejs/package.json
|
610
|
-
- spec/fixtures/repos/nodejs/README
|
611
|
-
- spec/fixtures/repos/not_bundled/README
|
612
|
-
- spec/fixtures/repos/npm_disabled/config/ey.yml
|
613
|
-
- spec/fixtures/repos/npm_disabled/package.json
|
614
|
-
- spec/fixtures/repos/npm_disabled/README
|
615
|
-
- spec/fixtures/repos/php_composer_disabled/composer.json
|
616
|
-
- spec/fixtures/repos/php_composer_disabled/composer.lock
|
617
|
-
- spec/fixtures/repos/php_composer_disabled/config/ey.yml
|
618
|
-
- spec/fixtures/repos/php_composer_disabled/public/index.php
|
619
|
-
- spec/fixtures/repos/php_composer_disabled/README
|
620
|
-
- spec/fixtures/repos/php_composer_lock/composer.json
|
621
|
-
- spec/fixtures/repos/php_composer_lock/composer.lock
|
622
|
-
- spec/fixtures/repos/php_composer_lock/public/index.php
|
623
|
-
- spec/fixtures/repos/php_composer_lock/README
|
624
|
-
- spec/fixtures/repos/php_no_composer_lock/composer.json
|
625
|
-
- spec/fixtures/repos/php_no_composer_lock/public/index.php
|
626
|
-
- spec/fixtures/repos/php_no_composer_lock/README
|
627
|
-
- spec/fixtures/repos/public_system/ey.yml
|
628
|
-
- spec/fixtures/repos/public_system/Gemfile
|
629
|
-
- spec/fixtures/repos/public_system/Gemfile.lock
|
630
|
-
- spec/fixtures/repos/public_system/public/system/cant_touch_this.txt
|
631
|
-
- spec/fixtures/repos/public_system/README
|
632
|
-
- spec/fixtures/repos/sqlite3/Gemfile
|
633
|
-
- spec/fixtures/repos/sqlite3/Gemfile.lock
|
634
|
-
- spec/fixtures/repos/sqlite3/README
|
635
|
-
- spec/fixtures/retwisj.war
|
636
|
-
- spec/fixtures/valid_hook.rb
|
637
|
-
- spec/git_strategy_spec.rb
|
638
|
-
- spec/lockfile_parser_spec.rb
|
639
|
-
- spec/maintenance_spec.rb
|
640
|
-
- spec/multi_dependency_manager_spec.rb
|
641
|
-
- spec/nodejs_deploy_spec.rb
|
642
|
-
- spec/php_deploy_spec.rb
|
643
|
-
- spec/platform_configure_spec.rb
|
644
|
-
- spec/rails31_deploy_spec.rb
|
645
|
-
- spec/restart_spec.rb
|
646
|
-
- spec/rollback_spec.rb
|
647
|
-
- spec/server_spec.rb
|
648
|
-
- spec/services_deploy_spec.rb
|
649
|
-
- spec/shell_spec.rb
|
650
|
-
- spec/source/archive_spec.rb
|
651
|
-
- spec/source/git_spec.rb
|
652
|
-
- spec/spec_helper.rb
|
653
|
-
- spec/sqlite3_deploy_spec.rb
|
654
|
-
- spec/support/integration.rb
|
655
|
-
- spec/support/source_doubles.rb
|
656
|
-
- spec/support/timecop.rb
|
657
|
-
- spec/symlink_spec.rb
|
658
|
-
has_rdoc:
|
330
|
+
test_files: []
|