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
Lisa Casino
slapos
Commits
7174cf4a
Commit
7174cf4a
authored
Jun 23, 2021
by
Lisa Casino
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
html5as: add title parameter
parent
5fe3c196
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
11 additions
and
2 deletions
+11
-2
software/html5as/instance.cfg.in
software/html5as/instance.cfg.in
+6
-0
software/html5as/instance_html5as.cfg.in
software/html5as/instance_html5as.cfg.in
+3
-0
software/html5as/software.cfg
software/html5as/software.cfg
+2
-2
No files found.
software/html5as/instance.cfg.in
View file @
7174cf4a
...
...
@@ -22,6 +22,12 @@ context =
section buildout buildout
section parameter_list profile-common
key ipv6_random slap-configuration:ipv6-random
key slapparameter_dict slap-configuration:configuration
jsonkey default_parameter_dict :default-parameters
default-parameters =
{
"title": "Tutorial html5as"
}
[switch-softwaretype]
recipe = slapos.cookbook:switch-softwaretype
...
...
software/html5as/instance_html5as.cfg.in
View file @
7174cf4a
...
...
@@ -3,6 +3,8 @@
# Deploy html5as instance
#
#############################
{% set parameter_dict = dict(default_parameter_dict, **slapparameter_dict) %}
[buildout]
parts =
nginx_conf
...
...
@@ -129,3 +131,4 @@ command = rm -r ${html5as:docroot}/*; echo "Hello World!" > ${html5as:docroot}/
[publish-connection-information]
recipe = slapos.cookbook:publish
server_url = ${html5as:access_url}
title = Title {{ parameter_dict['title'] }}!
software/html5as/software.cfg
View file @
7174cf4a
...
...
@@ -27,7 +27,7 @@ recipe = slapos.recipe.template:jinja2
rendered = ${buildout:directory}/template.cfg
template = ${:_profile_base_location_}/${:filename}
filename = instance.cfg.in
md5sum =
77dff459e525c3d5e6e023cc58a3e000
md5sum =
19ad0dc9229bb15c1f618b0e93c00799
mode = 0644
context =
section buildout buildout
...
...
@@ -43,7 +43,7 @@ context =
recipe = slapos.recipe.build:download
url = ${:_profile_base_location_}/${:_update_hash_filename_}
_update_hash_filename_ = instance_html5as.cfg.in
md5sum =
c2f57b361a07d15a7fc57c8bb522d60b
md5sum =
5aa11c226d22965260b2715ed3534524
mode = 0644
[template_nginx_conf]
...
...
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