@@ -369,7 +369,7 @@ class CliProxyTest < CliTestCase
369
369
run_command ( "boot_config" , "set" , "--metrics_port" , "9000" , "--debug" , "true" ) . tap do |output |
370
370
%w[ 1.1.1.1 1.1.1.2 ] . each do |host |
371
371
assert_match "Running /usr/bin/env mkdir -p .kamal/proxy on #{ host } " , output
372
- assert_match "Running /usr/bin/env rm .kamal/proxy/options on #{ host } " , output
372
+ assert_match "Uploading \" --publish 80:80 --publish 443:443 --log-opt max-size=10m --expose=9000 \" to .kamal/proxy/options on #{ host } " , output
373
373
assert_match "Running /usr/bin/env rm .kamal/proxy/image on #{ host } " , output
374
374
assert_match "Running /usr/bin/env rm .kamal/proxy/image_version on #{ host } " , output
375
375
assert_match "Uploading \" kamal-proxy run --debug --metrics-port \\ \" 9000\\ \" \" to .kamal/proxy/run_command on #{ host } " , output
@@ -380,7 +380,7 @@ class CliProxyTest < CliTestCase
380
380
test "boot_config set all" do
381
381
run_command ( "boot_config" , "set" , "--docker_options" , "label=foo=bar" , "--registry" , "myreg" , "--repository" , "myrepo" , "--image_version" , "0.9.9" , "--metrics_port" , "9000" , "--debug" , "true" ) . tap do |output |
382
382
%w[ 1.1.1.1 1.1.1.2 ] . each do |host |
383
- assert_match "Uploading \" --publish 80:80 --publish 443:443 --log-opt max-size=10m --label=foo=bar\" to .kamal/proxy/options on #{ host } " , output
383
+ assert_match "Uploading \" --publish 80:80 --publish 443:443 --log-opt max-size=10m --expose=9000 -- label=foo=bar\" to .kamal/proxy/options on #{ host } " , output
384
384
assert_match "Uploading \" myreg/myrepo/kamal-proxy\" to .kamal/proxy/image on #{ host } " , output
385
385
assert_match "Uploading \" 0.9.9\" to .kamal/proxy/image_version on #{ host } " , output
386
386
assert_match "Uploading \" kamal-proxy run --debug --metrics-port \\ \" 9000\\ \" \" to .kamal/proxy/run_command on #{ host } " , output
0 commit comments