engineyard-serverside 2.2.0.pre3 → 2.2.0.rc1
Sign up to get free protection for your applications and to get access to all the features.
- data/lib/engineyard-serverside/cli.rb +1 -1
- data/lib/engineyard-serverside/dependency_manager/bundler.rb +1 -1
- data/lib/engineyard-serverside/deploy.rb +1 -0
- data/lib/engineyard-serverside/maintenance.rb +2 -2
- data/lib/engineyard-serverside/rails_assets.rb +7 -7
- data/lib/engineyard-serverside/version.rb +1 -1
- metadata +2 -2
@@ -30,7 +30,7 @@ module EY
|
|
30
30
|
stack_option
|
31
31
|
verbose_option
|
32
32
|
|
33
|
-
desc "deploy", "Deploy code
|
33
|
+
desc "deploy", "Deploy code to /data/<app>"
|
34
34
|
def deploy(default_task=:deploy)
|
35
35
|
init_and_propagate(options, default_task.to_s) do |servers, config, shell|
|
36
36
|
EY::Serverside::Deploy.new(servers, config, shell).send(default_task)
|
@@ -19,7 +19,7 @@ module EY
|
|
19
19
|
enable
|
20
20
|
shell.status "Maintenance page enabled"
|
21
21
|
else
|
22
|
-
shell.fatal "Cannot
|
22
|
+
shell.fatal "Cannot enable maintenance page. Application #{config.app_name} has never been deployed."
|
23
23
|
false
|
24
24
|
end
|
25
25
|
end
|
@@ -29,7 +29,7 @@ module EY
|
|
29
29
|
disable
|
30
30
|
shell.status "Maintenance page disabled"
|
31
31
|
else
|
32
|
-
shell.fatal "Cannot
|
32
|
+
shell.fatal "Cannot disable maintenance page. Application #{config.app_name} has never been deployed."
|
33
33
|
false
|
34
34
|
end
|
35
35
|
end
|
@@ -43,6 +43,7 @@ module EY
|
|
43
43
|
elsif paths.public_assets.exist?
|
44
44
|
shell.status "Skipping asset precompilation. ('public/assets' directory already exists.)"
|
45
45
|
else
|
46
|
+
shell.status "Precompiling assets. ('#{app_assets}' exists, 'public/assets' not found, not disabled in config.)"
|
46
47
|
precompile_detected_assets
|
47
48
|
end
|
48
49
|
end
|
@@ -78,7 +79,6 @@ module EY
|
|
78
79
|
end
|
79
80
|
|
80
81
|
def precompile_detected_assets
|
81
|
-
shell.status "Precompiling assets. ('#{app_assets}' exists, 'public/assets' not found, not disabled in config.)"
|
82
82
|
if !runner.rails_application?
|
83
83
|
shell.warning "Precompiling assets even though Rails was not bundled."
|
84
84
|
end
|
@@ -86,15 +86,15 @@ module EY
|
|
86
86
|
run_precompile_assets_task
|
87
87
|
|
88
88
|
shell.warning <<-WARN
|
89
|
-
Assets were detected and precompiled for this application,
|
90
|
-
failures may be silently ignored in the future
|
89
|
+
Assets were detected and precompiled for this application,
|
90
|
+
but asset precompile failures may be silently ignored in the future.
|
91
91
|
|
92
|
-
ACTION REQUIRED: Add
|
93
|
-
|
92
|
+
ACTION REQUIRED: Add or update config/ey.yml in your project to
|
93
|
+
ensure assets are compiled every deploy and halted on failure.
|
94
94
|
|
95
|
-
precompile_assets: true # precompile assets
|
95
|
+
precompile_assets: true # precompile assets
|
96
96
|
|
97
|
-
This warning will continue
|
97
|
+
This warning will continue until you update and commit config/ey.yml.
|
98
98
|
WARN
|
99
99
|
rescue EY::Serverside::RemoteFailure => e
|
100
100
|
# If we are implicitly precompiling, we want to fail non-destructively
|
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: engineyard-serverside
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 2.2.0.
|
4
|
+
version: 2.2.0.rc1
|
5
5
|
prerelease: 6
|
6
6
|
platform: ruby
|
7
7
|
authors:
|
@@ -9,7 +9,7 @@ authors:
|
|
9
9
|
autorequire:
|
10
10
|
bindir: bin
|
11
11
|
cert_chain: []
|
12
|
-
date: 2013-07-
|
12
|
+
date: 2013-07-10 00:00:00.000000000 Z
|
13
13
|
dependencies:
|
14
14
|
- !ruby/object:Gem::Dependency
|
15
15
|
name: rspec
|