kamal 1.8.1 → 1.8.3

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: 6586f8ce83674c95b6e7cd4172b1925586fc98cf8e7faac78b9b7fe0122752bb
4
- data.tar.gz: ba02a0a974161f4f8ceb1dd38fb91920b2759904b01398edede27e1e1a42e8bd
3
+ metadata.gz: 67aa8d9022e0dd44e1be0a0ab8c26f20dd458fb469cf5e9d461dd58871712d8d
4
+ data.tar.gz: 286d81788711c43f783e7a4bebc861bf89eeb948f7bebb622686e9947151296d
5
5
  SHA512:
6
- metadata.gz: 7bad7fe1bab6996df978a5814f05af2d3bd4845c17f480c5a5ceadedfbf23c5a8f5c33682dfc89e7eee87a6dd8adcb130a79de015e5d16217413d95cc498d745
7
- data.tar.gz: 546762e7e5855e45d6a7e1cf97874a3241d591efb7ac35aa8ec81f87a9afbd5cb08d6eea07f46c18fc752aa34169f404d0b97fbad2180fe53eda674726a662e4
6
+ metadata.gz: dad7512c1f60ab760bb4cbe5183f8af92b8388697d7778fef2def69bed50be1e90befa09e765e30ad60af58548db69e8184df82053c6f9c1c28e3fa1549373de
7
+ data.tar.gz: 75b5950ba4d744e9c7040c0531efcc2c781d13b1910d14226f6241424a6aba87aa0b24dcc249e13248f9c6da64fe2248fadffffbda630033a71ba78a2b3dd4c6
@@ -6,7 +6,7 @@ module Kamal::Commands::Builder::Clone
6
6
  end
7
7
 
8
8
  def clone
9
- git :clone, Kamal::Git.root, path: clone_directory
9
+ git :clone, Kamal::Git.root, "--recurse-submodules", path: clone_directory
10
10
  end
11
11
 
12
12
  def clone_reset_steps
@@ -14,7 +14,8 @@ module Kamal::Commands::Builder::Clone
14
14
  git(:remote, "set-url", :origin, Kamal::Git.root, path: build_directory),
15
15
  git(:fetch, :origin, path: build_directory),
16
16
  git(:reset, "--hard", Kamal::Git.revision, path: build_directory),
17
- git(:clean, "-fdx", path: build_directory)
17
+ git(:clean, "-fdx", path: build_directory),
18
+ git(:submodule, :update, "--init", path: build_directory)
18
19
  ]
19
20
  end
20
21
 
@@ -58,4 +58,8 @@ class Kamal::Commands::Builder::Multiarch::Remote < Kamal::Commands::Builder::Mu
58
58
  def remove_context(arch)
59
59
  docker :context, :rm, builder_name_with_arch(arch)
60
60
  end
61
+
62
+ def platform_names
63
+ "linux/#{local_arch},linux/#{remote_arch}"
64
+ end
61
65
  end
@@ -29,7 +29,7 @@ env:
29
29
  # To pass the secrets you should list them under the `secret` key. When you do this the
30
30
  # other variables need to be moved under the `clear` key.
31
31
  #
32
- # Unlike clear valies, secrets are not passed directly to the container,
32
+ # Unlike clear values, secrets are not passed directly to the container,
33
33
  # but are stored in an env file on the host
34
34
  # The file is not updated when deploying, only when running `kamal envify` or `kamal env push`.
35
35
  env:
data/lib/kamal/version.rb CHANGED
@@ -1,3 +1,3 @@
1
1
  module Kamal
2
- VERSION = "1.8.1"
2
+ VERSION = "1.8.3"
3
3
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: kamal
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.8.1
4
+ version: 1.8.3
5
5
  platform: ruby
6
6
  authors:
7
7
  - David Heinemeier Hansson
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2024-07-29 00:00:00.000000000 Z
11
+ date: 2024-09-02 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: activesupport