Commit cb40e46f authored by Xavier Thompson's avatar Xavier Thompson

software/theia: Add switch-softwaretype

This defers the rendering of `instance-theia.cfg.in` to the instance
creation time instead of the software installation time, which will
allow buildout sections to be added based on the instance parameters.

See merge request !981
parent 7ae4d31a
......@@ -13,9 +13,13 @@
# section inheritance (< = ...) are NOT supported (but you should really
# not need these here).
[instance-theia]
filename = instance-theia.cfg.jinja.in
md5sum = a5a7db274eb11c022a12142fabc9a355
[instance]
filename = instance.cfg.in
md5sum = bfd488ba023f505be25d947ec830bab3
md5sum = eb4ee219603da65b748cb912685b9b17
[yarn.lock]
filename = yarn.lock
......
This diff is collapsed.
This diff is collapsed.
......@@ -22,6 +22,7 @@ extends =
parts =
theia-wrapper
slapos-cookbook
instance-theia
instance
# default for slapos-standalone
......@@ -323,6 +324,10 @@ template =
#!/bin/sh
exec ${nodejs:location}/bin/node ${theia:location}/node_modules/.bin/theia-open "$@"
[instance-theia]
<= template-base
output = ${buildout:directory}/instance-theia.cfg.jinja
[instance]
<= template-base
output = ${buildout:directory}/instance.cfg
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