We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents 031f55e + 2c1d6ed commit f62c1a5Copy full SHA for f62c1a5
lib/kamal/cli/build.rb
@@ -14,6 +14,10 @@ def deliver
14
def push
15
cli = self
16
17
+ # Ensure pre-connect hooks run before the build, they may needed for a remote builder
18
+ # or the pre-build hooks.
19
+ pre_connect_if_required
20
+
21
ensure_docker_installed
22
login_to_registry_locally
23
test/cli/build_test.rb
@@ -21,6 +21,7 @@ class CliBuildTest < CliTestCase
.returns("")
run_command("push", "--verbose").tap do |output|
24
+ assert_hook_ran "pre-connect", output
25
assert_hook_ran "pre-build", output
26
assert_match /Cloning repo into build directory/, output
27
assert_match /git -C #{Dir.tmpdir}\/kamal-clones\/app-#{pwd_sha} clone #{Dir.pwd}/, output
0 commit comments