Commit 38282357 authored by Xavier Thompson's avatar Xavier Thompson

software/theia: Add further improvements

See merge request nexedi/slapos!876
parents 84a54732 55628486
...@@ -15,7 +15,7 @@ ...@@ -15,7 +15,7 @@
[instance] [instance]
filename = instance.cfg.in filename = instance.cfg.in
md5sum = 1c60191f8724854f979a17d2624e65d8 md5sum = a3e4cb7d28daa7816f04359c8aa3445b
[yarn.lock] [yarn.lock]
filename = yarn.lock filename = yarn.lock
......
...@@ -5,6 +5,9 @@ parts = ...@@ -5,6 +5,9 @@ parts =
frontend-reload frontend-reload
tasks.json tasks.json
publish-connection-parameter publish-connection-parameter
slapos-repository
runner-link
settings.json
extends = ${monitor-template:rendered} extends = ${monitor-template:rendered}
...@@ -392,6 +395,36 @@ url = $${slap-connection:server-url} ...@@ -392,6 +395,36 @@ url = $${slap-connection:server-url}
key = $${slap-connection:key-file} key = $${slap-connection:key-file}
cert = $${slap-connection:cert-file} cert = $${slap-connection:cert-file}
[slapos-repository]
recipe = slapos.recipe.build:gitclone
repository = https://lab.nexedi.com/nexedi/slapos.git
location = $${directory:project}/slapos
branch = 1.0
develop = true
git-executable = ${git:location}/bin/git
[settings.json]
recipe = slapos.recipe.template:jinja2
rendered = $${directory:dot-theia}$${:_buildout_section_name_}
once = $${:rendered}
template =
inline:
{
"files.watcherExclude": {
"**/.eggs/**": true,
"**/.env/**": true,
"**/.git/**": true,
"**/node_modules/**": true,
"$${directory:runner}/**":true,
"$${directory:project}/runner/**":true
}
}
[runner-link]
recipe = slapos.cookbook:symbolic.link
target-directory = $${directory:project}
link-binary = $${directory:runner}
[directory] [directory]
recipe = slapos.cookbook:mkdirectory recipe = slapos.cookbook:mkdirectory
etc = $${buildout:directory}/etc etc = $${buildout:directory}/etc
......
...@@ -392,4 +392,4 @@ template = ...@@ -392,4 +392,4 @@ template =
output = ${buildout:directory}/instance.cfg output = ${buildout:directory}/instance.cfg
[versions] [versions]
slapos.recipe.template = 4.4 slapos.recipe.template = 4.5
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