ongr_deploy 0.1.0 → 0.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: 58ba2567e8f29b31625b37cc65bc3f377c29381f
4
- data.tar.gz: 0cf74b33aff48f6f8cce1480cb6a661668598c50
3
+ metadata.gz: 567e4927ccdfc3ef4f0c1e293985557ad7a906fb
4
+ data.tar.gz: 57b0bd972290b2aad7fbedc2f0015e20e136b948
5
5
  SHA512:
6
- metadata.gz: fc93ccf6f53aef068dc2a4beedeeee3e86aa131ba34fb6d8844629fd3e0a640dc59e1d25ff1744769e7f1ae7a864bafbee5036c505df32d7813d1974fae700b4
7
- data.tar.gz: a8c53d6e665c28ba5b5c7aedb209fed8f57503f829324f239879095b5dd6b79b4eebf84a82e7a72bb6a1509c3a1a0dd28a10102ff15096dce019e02ad59824f0
6
+ metadata.gz: 92d10897fc1cc2021d41981fcd5123af7decddfcdb7cc8d77d2f930c57602f871e2518e1b26cd6a136ffab27eaaed5b4e774d9a3be9a855a2a9d3f2bfdda26d5
7
+ data.tar.gz: dacb758462beaf65174238cf9299ce68b21d471e2e12bed3aee47f3d7c3af84e98addb7b56b503f6dc40a7a8c12a0555cd77b718412229407e6e740cb20202a8
@@ -1,5 +1,5 @@
1
1
  module OngrDeploy
2
2
 
3
- VERSION = "0.1.0"
3
+ VERSION = "0.1.1"
4
4
 
5
5
  end
data/lib/sample/deploy.rb CHANGED
@@ -1,38 +1,25 @@
1
- # config valid only for current version of Capistrano
2
- # lock '3.3.x'
3
-
4
1
  set :application, 'my_app_name'
5
- set :repo_url, 'git@example.com:me/my_repo.git'
6
-
7
- # Default branch is :master
8
- # ask :branch, proc { `git rev-parse --abbrev-ref HEAD`.chomp }.call
9
-
10
- # Default deploy_to directory is /var/www/my_app_name
11
- # set :deploy_to, '/var/www/my_app_name'
12
2
 
13
- # Default value for :scm is :git
14
- set :scm, :archive
3
+ set :deploy_to, '/var/www/my_app_name'
15
4
 
16
- # Default value for :format is :pretty
17
- # set :format, :pretty
5
+ set :scm, :rsync
6
+ set :archive_cache, true
18
7
 
19
- # Default value for :log_level is :debug
20
- # set :log_level, :debug
8
+ #Uncomment if you want to use AWS auto discover feature
9
+ #set :aws_region, ''
10
+ #set :aws_id, ''
11
+ #set :aws_secret, ''
21
12
 
22
- # Default value for :pty is false
23
- # set :pty, true
13
+ set :exclude, [
14
+ '.idea',
15
+ '.git'
16
+ 'node_modules'
17
+ ]
24
18
 
25
- # Default value for :linked_files is []
19
+ set :log_level, :info
26
20
  set :linked_files, fetch(:linked_files, []).push('app/config/parameters.yml')
27
-
28
- # Default value for linked_dirs is []
29
21
  set :linked_dirs, fetch(:linked_dirs, []).push('app/logs')
30
-
31
- # Default value for default_env is {}
32
- # set :default_env, { path: "/opt/ruby/bin:$PATH" }
33
-
34
- # Default value for keep_releases is 5
35
- # set :keep_releases, 5
22
+ set :keep_releases, 5
36
23
 
37
24
  namespace :deploy do
38
25
 
data/lib/sample/stage.rb CHANGED
@@ -1,45 +1,9 @@
1
- # Simple Role Syntax
2
- # ==================
3
- # Supports bulk-adding hosts to roles, the primary server in each group
4
- # is considered to be the first unless any hosts have the primary
5
- # property set. Don't declare `role :all`, it's a meta role.
6
-
7
1
  role :app, %w{deploy@example.com}
8
2
  role :web, %w{deploy@example.com}
9
- role :db, %w{deploy@example.com}
10
-
11
-
12
- # Extended Server Syntax
13
- # ======================
14
- # This can be used to drop a more detailed server definition into the
15
- # server list. The second argument is a, or duck-types, Hash and is
16
- # used to set extended properties on the server.
17
-
18
- server 'example.com', user: 'deploy', roles: %w{web app}, my_property: :my_value
19
3
 
4
+ #If AWS auto discover feature is used capistrano still will deploy to defined servers.
5
+ #If you dont want ot deploy to them comment server definition.
6
+ server 'example.com', user: 'deploy', roles: %w{web app}
20
7
 
21
- # Custom SSH Options
22
- # ==================
23
- # You may pass any option but keep in mind that net/ssh understands a
24
- # limited set of options, consult[net/ssh documentation](http://net-ssh.github.io/net-ssh/classes/Net/SSH.html#method-c-start).
25
- #
26
- # Global options
27
- # --------------
28
- # set :ssh_options, {
29
- # keys: %w(/home/rlisowski/.ssh/id_rsa),
30
- # forward_agent: false,
31
- # auth_methods: %w(password)
32
- # }
33
- #
34
- # And/or per server (overrides global)
35
- # ------------------------------------
36
- # server 'example.com',
37
- # user: 'user_name',
38
- # roles: %w{web app},
39
- # ssh_options: {
40
- # user: 'user_name', # overrides user setting above
41
- # keys: %w(/home/user_name/.ssh/id_rsa),
42
- # forward_agent: false,
43
- # auth_methods: %w(publickey password)
44
- # # password: 'please use keys'
45
- # }
8
+ #Uncomment if you want to use AWS auto discover feature
9
+ #autoscale "autoscale_group_name"
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: ongr_deploy
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.0
4
+ version: 0.1.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - Voldemaras Kadys
@@ -75,7 +75,6 @@ files:
75
75
  - lib/tasks/scm/rsync.rake
76
76
  - LICENSE
77
77
  - Rakefile
78
- - README.rdoc
79
78
  homepage: https://github.com/ongr-io/ongr_deploy
80
79
  licenses:
81
80
  - MIT
data/README.rdoc DELETED
@@ -1,3 +0,0 @@
1
- = OngrDeploy
2
-
3
- This project rocks and uses MIT-LICENSE.