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
Carlos Ramos Carreño
slapos
Commits
dec8f5cf
Commit
dec8f5cf
authored
Feb 14, 2024
by
Thomas Gambier
🚴🏼
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
software/textsynth: add new SR for Textsynth
parent
c16a8274
Changes
4
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
115 additions
and
0 deletions
+115
-0
software/textsynth/README.md
software/textsynth/README.md
+7
-0
software/textsynth/buildout.hash.cfg
software/textsynth/buildout.hash.cfg
+20
-0
software/textsynth/instance.cfg.in
software/textsynth/instance.cfg.in
+70
-0
software/textsynth/software.cfg
software/textsynth/software.cfg
+18
-0
No files found.
software/textsynth/README.md
0 → 100644
View file @
dec8f5cf
# Testsynth Server #
## Presentation ##
*
Running textsynth from https://bellard.org/ts_server/
*
For now doesn't download the models automatically
software/textsynth/buildout.hash.cfg
0 → 100644
View file @
dec8f5cf
# To learn more about how to generate this file read
# ../../README.update-hash.rst
# THIS IS NOT A BUILDOUT FILE, despite purposedly using a compatible syntax.
# The only allowed lines here are (regexes):
# - "^#" comments, copied verbatim
# - "^[" section beginings, copied verbatim
# - lines containing an "=" sign which must fit in the following categorie.
# - "^\s*filename\s*=\s*path\s*$" where "path" is relative to this file
# Copied verbatim.
# - "^\s*hashtype\s*=.*" where "hashtype" is one of the values supported
# by the re-generation script.
# Re-generated.
# - other lines are copied verbatim
# Substitution (${...:...}), extension ([buildout] extends = ...) and
# section inheritance (< = ...) are NOT supported (but you should really
# not need these here).
[instance-cfg]
filename = instance.cfg.in
md5sum = a2ed78775f50d9e218d91666be7f630a
software/textsynth/instance.cfg.in
0 → 100644
View file @
dec8f5cf
[buildout]
parts =
textsynth-service
textsynth-promise
publish-connection-information
extends = ${monitor2-template:output}
eggs-directory = ${buildout:eggs-directory}
develop-eggs-directory = ${buildout:develop-eggs-directory}
offline = true
# Create all needed directories, depending on your needs
[directory]
recipe = slapos.cookbook:mkdirectory
home = $${buildout:directory}
etc = $${:home}/etc
var = $${:home}/var
srv = $${:home}/srv
service = $${:etc}/service
[textsynth-config]
ip = $${slap-configuration:public-ipv4}
port = 12345
url = $${:ip}:$${:port}
[textsynth-service]
recipe = slapos.cookbook:wrapper
command-line = sh -c 'cd /srv/slapgrid/slappart9/srv/project/ts_server-2024-01-20; ./ts_server ts_server_rapidspace.cfg'
hash-existing-files = $${buildout:directory}/buildout.cfg
wrapper-path = $${directory:service}/textsynth
[textsynth-promise]
<= monitor-promise-base
promise = check_socket_listening
name = textsynth.py
config-host = $${textsynth-config:ip}
config-port = $${textsynth-config:port}
[textsynth-frontend]
<= slap-connection
recipe = slapos.cookbook:requestoptional
name = textsynth frontend
software-url = http://git.erp5.org/gitweb/slapos.git/blob_plain/HEAD:/software/apache-frontend/software.cfg
# It is not a dedicated instance but an instance allocated on a shared instance
shared = true
config-url = $${textsynth-config:url}
return = domain secure_access
[textsynth-frontend-promise]
<= monitor-promise-base
promise = check_url_available
name = textsynth-http-frontend.py
url = $${textsynth-frontend:connection-secure_access}
config-url = $${:url}
[slap-configuration]
recipe = slapos.cookbook:slapconfiguration.serialised
computer = $${slap-connection:computer-id}
partition = $${slap-connection:partition-id}
url = $${slap-connection:server-url}
key = $${slap-connection:key-file}
cert = $${slap-connection:cert-file}
public-ipv4 = 85.236.52.77
[publish-connection-information]
recipe = slapos.cookbook:publish.serialised
<= monitor-publish
backend-url = $${textsynth-config:url}
url = $${textsynth-frontend-promise:url}
software/textsynth/software.cfg
0 → 100644
View file @
dec8f5cf
[buildout]
extends =
buildout.hash.cfg
../../stack/slapos.cfg
../../stack/monitor/buildout.cfg
parts =
slapos-cookbook
instance-cfg
[instance-cfg]
recipe = slapos.recipe.template
output = ${buildout:directory}/instance.cfg
url = ${:_profile_base_location_}/${:filename}
context =
section buildout buildout
key template_monitor monitor2-template:output
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