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
HongzheWang
slapos
Commits
a5ae56ed
Commit
a5ae56ed
authored
May 27, 2014
by
Marco Mariani
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
abilian: extranet service + promise
parent
c763596c
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
29 additions
and
0 deletions
+29
-0
software/abilian/extranet_spr/instance-environment.cfg.in
software/abilian/extranet_spr/instance-environment.cfg.in
+3
-0
software/abilian/extranet_spr/instance-extranet.cfg.in
software/abilian/extranet_spr/instance-extranet.cfg.in
+24
-0
software/abilian/extranet_spr/instance.cfg.in
software/abilian/extranet_spr/instance.cfg.in
+2
-0
No files found.
software/abilian/extranet_spr/instance-environment.cfg.in
View file @
a5ae56ed
...
...
@@ -14,6 +14,8 @@ EXTRANET_INSTANCE_PATH=$${directories:extranet_spr-instance}
ABILIAN_CONFIG_EXTRA_PYTHON=$${config-staging-py:rendered}
ABILIAN_CONFIG_EXTRA_JSON=$${buildout:directory}/partition-parameters.json:$${json-extra-configuration:json-output}
LD_LIBRARY_PATH=${cairo:location}/lib:${glib:location}/lib:${pango:location}/lib
# abilian/services/conversion.py does not like it, if PATH does not exist
PATH=/usr/sbin:/usr/bin:/sbin:/bin
...
...
@@ -29,6 +31,7 @@ inline =
export ABILIAN_CONFIG_EXTRA_PYTHON=$${instance-environment:ABILIAN_CONFIG_EXTRA_PYTHON}
export ABILIAN_CONFIG_EXTRA_JSON=$${instance-environment:ABILIAN_CONFIG_EXTRA_JSON}
export LD_LIBRARY_PATH=$${instance-environment:LD_LIBRARY_PATH}
export PATH=$${instance-environment:PATH}
output = $${buildout:directory}/environment.sh
software/abilian/extranet_spr/instance-extranet.cfg.in
View file @
a5ae56ed
...
...
@@ -2,6 +2,8 @@
parts =
extranet-symlinks
extranet-service
extranet-promise
config-staging-py
...
...
@@ -12,6 +14,27 @@ link-binary =
${buildout:directory}/bin/abilian
[extranet-service]
recipe = slapos.recipe.template:jinja2
template = inline:
#!/bin/sh
. {{environment}}
exec {{abilian}} run
rendered = $${directories:services}/abilian-start
mode = 700
context =
raw environment $${buildout:directory}/environment.sh
raw abilian ${buildout:directory}/bin/abilian
[extranet-promise]
recipe = slapos.cookbook:check_port_listening
path = $${directories:promises}/extranet
hostname = $${instance-parameters:ipv6-random}
port = 5000
[config-staging-py]
recipe = slapos.recipe.template:jinja2
template = ${config-staging-py-template:location}/${config-staging-py-template:filename}
...
...
@@ -20,3 +43,4 @@ mode = 600
#context =
# section config config-staging
software/abilian/extranet_spr/instance.cfg.in
View file @
a5ae56ed
...
...
@@ -17,6 +17,8 @@ parts =
postgres-promise
postgres-symlinks
extranet-symlinks
extranet-service
extranet-promise
config-staging-py
json-configuration
json-extra-configuration
...
...
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