ops_preflight 1.1.0 → 1.1.1

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: 666d43c874955d1493be54e9b0e12abab6d1a412
4
- data.tar.gz: b9cb569e660bdbbdc4a2a2296b4655e619e9e495
3
+ metadata.gz: 9d7451fb172f704a95ff931073b7ae43d79d5b00
4
+ data.tar.gz: 464e4eb49b417d8deda6903003926147ee5c2026
5
5
  SHA512:
6
- metadata.gz: bee64f9f75df2e3c80303765b2647bed12cf5c6dfadc5cf3cd0228dde4565f3ac941a4e0e7c5e232b1f8bd3095cdcafb86601547b1581b44108739ca8f958a1f
7
- data.tar.gz: 8ed0dd5b8928d34b9bc35b9954c3422de8bba2f07837704507343d69630c41853ab86e3952eb6c8cad1316f5a14d6ada9c4214c88da8c1300895701413a2bee2
6
+ metadata.gz: 1faa42a0d66fa571444a00612da4112638bea6206051adda855b9079c0676a0d2c7f5e76cc2feb3444877cafef6cc6fda7500dfa502136b4d27ee013bdad4aba
7
+ data.tar.gz: a1a430a790b250f764d59eb921fe2ea36e3f43da2d773fe7f1a8fbbb072098772c015853158a55f1af4a8d159d5e66f7e2e86f680bca0aeb0c9a223c0f6340b5
data/data/deploy.rb CHANGED
@@ -26,6 +26,8 @@ set :run_db_migrate, ENV['RUN_DB_MIGRATE']
26
26
  set :use_turbo_sprockets, ENV['USE_TURBO_SPROCKETS']
27
27
  set :use_env_file, ENV['USE_ENV_FILE']
28
28
 
29
+ set :skip_opsworks_deploy, (ENV['SKIP_OPSWORKS_DEPLOY'] || false)
30
+
29
31
  # Manually create these paths in shared/ (eg: shared/config/database.yml) in your server.
30
32
  # They will be linked in the 'deploy:link_shared_paths' step.
31
33
  set :shared_paths, lambda { generate_shared_paths }
@@ -41,9 +41,15 @@ namespace :preflight do
41
41
 
42
42
  desc 'Triggers a deploy'
43
43
  task :deploy => [:environment, :check_env_vars] do
44
- queue %[
45
- echo "-----> Preflight: Deploy"
46
- #{echo_cmd %[bundle exec preflight-server deploy '#{settings.opsworks_stack_name!}' '#{settings.opsworks_app_name!}' --release="$version"]}
47
- ]
44
+ if settings.skip_opsworks_deploy
45
+ queue %[
46
+ echo "-----> Skipping opsworks deploy"
47
+ ]
48
+ else
49
+ queue %[
50
+ echo "-----> Preflight: Deploy"
51
+ #{echo_cmd %[bundle exec preflight-server deploy '#{settings.opsworks_stack_name!}' '#{settings.opsworks_app_name!}' --release="$version"]}
52
+ ]
53
+ end
48
54
  end
49
55
  end
@@ -1,3 +1,3 @@
1
1
  module OpsPreflight
2
- VERSION = "1.1.0"
2
+ VERSION = "1.1.1"
3
3
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: ops_preflight
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.1.0
4
+ version: 1.1.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - Ryan Schlesinger