Commit 6ea77eae authored by Łukasz Nowak's avatar Łukasz Nowak

caddy-frontend: Run kedifa-updater with prepare

During buildout run no network communication is required in order to prepare
fallback certificates, so call kedifa-updater with --prepare-only
parent b2acfd4c
...@@ -30,7 +30,7 @@ md5sum = d62aefe002ec13875924e4c219914795 ...@@ -30,7 +30,7 @@ md5sum = d62aefe002ec13875924e4c219914795
[template-slave-list] [template-slave-list]
filename = templates/apache-custom-slave-list.cfg.in filename = templates/apache-custom-slave-list.cfg.in
md5sum = 57f562311bac6dbf85cd35891eaa6743 md5sum = e0d0c9fc7d4bf95dac580bbc1d2a4d93
[template-slave-configuration] [template-slave-configuration]
filename = templates/custom-virtualhost.conf.in filename = templates/custom-virtualhost.conf.in
......
...@@ -446,7 +446,7 @@ hash-files = ${buildout:directory}/software_release/buildout.cfg ...@@ -446,7 +446,7 @@ hash-files = ${buildout:directory}/software_release/buildout.cfg
recipe = plone.recipe.command recipe = plone.recipe.command
# unfortunately slapos.cookbook:wrapper does not return generated wrapper path # unfortunately slapos.cookbook:wrapper does not return generated wrapper path
# so it is needed to access it via service directory globbing # so it is needed to access it via service directory globbing
command = {{ service_directory }}/kedifa-updater* --once command = {{ service_directory }}/kedifa-updater* --prepare-only
update-command = ${:command} update-command = ${:command}
[kedifa-updater-mapping] [kedifa-updater-mapping]
......
...@@ -5521,6 +5521,7 @@ class TestSlaveSlapOSMasterCertificateCompatibilityUpdate( ...@@ -5521,6 +5521,7 @@ class TestSlaveSlapOSMasterCertificateCompatibilityUpdate(
}) })
self.runComputerPartition(max_quantity=1) self.runComputerPartition(max_quantity=1)
self.runKedifaUpdater()
result = self.fakeHTTPSResult( result = self.fakeHTTPSResult(
parameter_dict['domain'], parameter_dict['public-ipv4'], 'test-path') parameter_dict['domain'], parameter_dict['public-ipv4'], 'test-path')
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment