rails_deploy 0.5.9 → 0.6.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
  SHA256:
3
- metadata.gz: b04d9b9bbc51fc9ce552612d17966f7f8faeefee0b1e43e1ff34331e296c1763
4
- data.tar.gz: 5d2100a9e927b452cdde5621af1eb1910ed23a1dab102f3cd7e174abe5b08b01
3
+ metadata.gz: ea22a1079ac505c5770ca19017c0293e10ba70c14efb8dddd6c8dcc1b38d9e51
4
+ data.tar.gz: f8f435ebe62878063e8191599dd7e20d65bd8440cac7c73ab37d35f86d866e57
5
5
  SHA512:
6
- metadata.gz: fcd8f6ddd762663068d0d82a141b3ba169b8e164645d506a26a82c251a511d29baac7a2bfea7b9724ff103dcccf55b4b9e749106b1887d196ce247fec4e951aa
7
- data.tar.gz: 8b91c6d8231534fd0e8026d619fad4c9a5220a0bf4a932484d76f68ea3f6631126e33b68d7bc1faa000ff9dccce84714c2f42c5a05211957ce5bed1b010f5b90
6
+ metadata.gz: fe6f2b4ae3cc16cc5c912e31435806bbbc345073a550f8eafe05a7288bcf25c3fea9ac35c47834b962cf47317da2b79a18547ec026f24f3087d8c23d324b5b23
7
+ data.tar.gz: a74bc5f66f2b109ebccb30df853c116a70df1e7f637c5e2c463b91788516d608a3c00e1bf76ad3c3a233479a04004489dd49d34d134a203258b75496f081ca6e
@@ -0,0 +1,11 @@
1
+ module KamalOverride
2
+ module Clone
3
+
4
+ def clone
5
+ git :clone, escaped_root, '--recurse-submodules=vendor/engine', '--shallow-submodules', path: config.builder.clone_directory.shellescape
6
+ end
7
+
8
+ end
9
+ end
10
+
11
+ Kamal::Commands::Builder::Clone.prepend KamalOverride::Clone
@@ -0,0 +1,21 @@
1
+ module KamalOverride
2
+ module Proxy
3
+
4
+ def run
5
+ docker(
6
+ :run,
7
+ '--name', container_name,
8
+ '--network', 'kamal',
9
+ '--detach',
10
+ '--restart', 'unless-stopped',
11
+ '--volume', 'kamal-proxy-config:/home/kamal-proxy/.config/kamal-proxy',
12
+ '--volume', '~/app/acme:/certs',
13
+ "\$\(#{get_boot_options.join(' ')}\)",
14
+ config.proxy_image
15
+ )
16
+ end
17
+
18
+ end
19
+ end
20
+
21
+ Kamal::Commands::Proxy.prepend KamalOverride::Proxy
@@ -1,2 +1,3 @@
1
1
  require 'kamal_override/configuration'
2
- require 'kamal_override/docker'
2
+ require 'kamal_override/docker'
3
+ require 'kamal_override/proxy'
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: rails_deploy
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.5.9
4
+ version: 0.6.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - Mingyuan Qin
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2024-10-17 00:00:00.000000000 Z
11
+ date: 2024-11-12 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: bundler
@@ -49,8 +49,10 @@ files:
49
49
  - README.md
50
50
  - lib/deploy.rb
51
51
  - lib/kamal_override.rb
52
+ - lib/kamal_override/clone.rb
52
53
  - lib/kamal_override/configuration.rb
53
54
  - lib/kamal_override/docker.rb
55
+ - lib/kamal_override/proxy.rb
54
56
  homepage: https://github.com/work-design/rails_deploy
55
57
  licenses:
56
58
  - MIT