Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
slapos
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Titouan Soulard
slapos
Commits
48f6feeb
Commit
48f6feeb
authored
Apr 01, 2016
by
Alain Takoudjou
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
fix monitor in jupyter: allow erp5 sr to compile first
parent
fdd3c8a7
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
12 additions
and
29 deletions
+12
-29
software/ipython_notebook/instance.cfg.in
software/ipython_notebook/instance.cfg.in
+10
-27
software/ipython_notebook/software.cfg
software/ipython_notebook/software.cfg
+2
-2
No files found.
software/ipython_notebook/instance.cfg.in
View file @
48f6feeb
...
@@ -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-c
urrent-log-acces
s]
[monitor-c
onf-parameter
s]
< = 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
...
...
software/ipython_notebook/software.cfg
View file @
48f6feeb
...
@@ -60,12 +60,12 @@ recipe = slapos.recipe.template:jinja2
...
@@ -60,12 +60,12 @@ recipe = slapos.recipe.template:jinja2
template = ${:_profile_base_location_}/instance.cfg.in
template = ${:_profile_base_location_}/instance.cfg.in
rendered = ${buildout:directory}/template.cfg
rendered = ${buildout:directory}/template.cfg
mode = 0644
mode = 0644
md5sum =
c6b82a386a72ed72301302c3132ffb71
md5sum =
18191556b80360c1e8632ca759e17385
context =
context =
key bin_directory buildout:bin-directory
key bin_directory buildout:bin-directory
key develop_eggs_directory buildout:develop-eggs-directory
key develop_eggs_directory buildout:develop-eggs-directory
key eggs_directory buildout:eggs-directory
key eggs_directory buildout:eggs-directory
key monitor_template monitor-template:
output
key monitor_template monitor-template:
rendered
key openssl_output openssl-output:openssl
key openssl_output openssl-output:openssl
key python_executable python2.7:executable
key python_executable python2.7:executable
key ipython_notebook_config_location ipython-notebook-config:location
key ipython_notebook_config_location ipython-notebook-config:location
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment