fix monitor in jupyter: allow erp5 sr to compile first
... | @@ -2,27 +2,6 @@ | ... | @@ -2,27 +2,6 @@ |
parts = | parts = | ||
instance | instance | ||
publish-connection-parameter | publish-connection-parameter | ||
## Monitoring part XXX whe should not have to specify all parts like this | |||
## Parts to add for monitoring | |||
certificate-authority | |||
cron | |||
cron-entry-monitor | |||
cron-entry-rss | |||
deploy-index | |||
deploy-settings-cgi | |||
deploy-status-cgi | |||
deploy-status-history-cgi | |||
setup-static-files | |||
certificate-authority | |||
zero-parameters | |||
public-symlink | |||
cgi-httpd-wrapper | |||
cgi-httpd-graceful-wrapper | |||
monitor-promise | |||
monitor-instance-log-access | |||
## Monitor for ipython | |||
monitor-current-log-access | |||
monitor-deploy-set-password-cgi | |||
erp5-kernel | erp5-kernel | ||
kernel-json | kernel-json | ||
custom-js | custom-js | ||
... | @@ -101,20 +80,21 @@ mode = 0744 | ... | @@ -101,20 +80,21 @@ mode = 0744 |
context = | context = | ||
raw config_cfg ${buildout:directory}/knowledge0.cfg | raw config_cfg ${buildout:directory}/knowledge0.cfg | ||
[monitor-current-log-access] | [monitor-conf-parameters] | ||
< = monitor-directory-access | private-path-list += | ||
source = ${instance-parameter:logfile} | ${instance-parameter:logfile} | ||
# XXX first allow test to run | |||
[monitor-deploy-set-password-cgi] | [monitor-deploy-set-password-cgi] | ||
<= dynamic-jinja2-template-base | <= dynamic-jinja2-template-base | ||
template = {{ ipython_notebook_set_password_location }}/{{ ipython_notebook_set_password_filename }} | template = {{ ipython_notebook_set_password_location }}/{{ ipython_notebook_set_password_filename }} | ||
rendered = ${monitor-directory:knowledge0-cgi}/${:filename} | rendered = ${directory:etc}/${:filename} | ||
filename = ipython-notebook-password.cgi | filename = ipython-notebook-password.cgi | ||
mode = 0744 | mode = 0744 | ||
context = | context = | ||
raw config_cfg ${buildout:directory}/knowledge0.cfg | raw config_cfg ${buildout:directory}/knowledge0.cfg | ||
raw python_executable {{ bin_directory }}/ipython | raw python_executable {{ bin_directory }}/ipython | ||
key pwd monitor-directory:knowledge0-cgi | # key pwd monitor-directory:knowledge0-cgi | ||
key this_file :filename | key this_file :filename | ||
key httpd_graceful cgi-httpd-graceful-wrapper:rendered | key httpd_graceful cgi-httpd-graceful-wrapper:rendered | ||
... | @@ -136,7 +116,10 @@ erp5_kernel_dir = ${:ipython_kernel_dir}/ERP5 | ... | @@ -136,7 +116,10 @@ erp5_kernel_dir = ${:ipython_kernel_dir}/ERP5 |
[publish-connection-parameter] | [publish-connection-parameter] | ||
recipe = slapos.cookbook:publish.serialised | recipe = slapos.cookbook:publish.serialised | ||
url = https://[${instance-parameter:host}]:${instance-parameter:port} | url = https://[${instance-parameter:host}]:${instance-parameter:port} | ||
monitor_url = ${monitor-parameters:url} | monitor-base-url = ${publish:monitor-base-url} | ||
monitor-url = ${publish:monitor-url} | |||
monitor-user = ${publish:monitor-user} | |||
monitor-password = ${publish:monitor-password} | |||
|
|||
[erp5-kernel] | [erp5-kernel] | ||
<= dynamic-jinja2-template-base | <= dynamic-jinja2-template-base | ||
... | ... |