Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
S
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
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Ayush Tiwari
slapos
Commits
d91f7277
Commit
d91f7277
authored
Sep 14, 2015
by
Ayush Tiwari
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Hello World: Add cgi_httpd_graceful
TODO: Add correct cgi for reload possiblity of hello world webservice.
parent
707fce90
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
23 additions
and
2 deletions
+23
-2
software/helloworld/instance.cfg.in
software/helloworld/instance.cfg.in
+20
-1
software/helloworld/software.cfg
software/helloworld/software.cfg
+3
-1
No files found.
software/helloworld/instance.cfg.in
View file @
d91f7277
...
@@ -10,7 +10,24 @@ parts =
...
@@ -10,7 +10,24 @@ parts =
hello-world-promise
hello-world-promise
publish-connection-parameter
publish-connection-parameter
render-template
render-template
# Monitoring parts
certificate-authority
cron
cron
cron-entry-monitor
cron-entry-rss
deploy-index
deploy-settings-cgi
deploy-status-cgi
deploy-status-history-cgi
setup-static-files
certificate-authority
zero-parameters
public-symlink
cgi-httpd-wrapper
cgi-httpd-graceful-wrapper
monitor-promise
monitor-instance-log-access
# Logrotate parts
cron-entry-logrotate
cron-entry-logrotate
logrotate
logrotate
logrotate-entry
logrotate-entry
...
@@ -18,6 +35,7 @@ parts =
...
@@ -18,6 +35,7 @@ parts =
# Define egg directories to be the one from Software Release
# Define egg directories to be the one from Software Release
# (/opt/slapgrid/...)
# (/opt/slapgrid/...)
# Always the same.
# Always the same.
extends = ${monitor-template:output}
eggs-directory = ${buildout:eggs-directory}
eggs-directory = ${buildout:eggs-directory}
develop-eggs-directory = ${buildout:develop-eggs-directory}
develop-eggs-directory = ${buildout:develop-eggs-directory}
offline = true
offline = true
...
@@ -49,6 +67,7 @@ configuration.name = John Doe
...
@@ -49,6 +67,7 @@ configuration.name = John Doe
# Add parameter title to be provided by user/developer, would be None in case user fails to give anything
# Add parameter title to be provided by user/developer, would be None in case user fails to give anything
configuration.title =
configuration.title =
configuration.repetition_number =
configuration.repetition_number =
configuration.port = 7777
# Create all needed directories, depending on your needs
# Create all needed directories, depending on your needs
[directory]
[directory]
...
@@ -131,7 +150,7 @@ create = true
...
@@ -131,7 +150,7 @@ create = true
# address, it is ok to fix the port - different hello-world instances will have
# address, it is ok to fix the port - different hello-world instances will have
# different IPv6 addresses and they all will be accessible at the same time.
# different IPv6 addresses and they all will be accessible at the same time.
ipv6 = $${instance-parameter:ipv6-random}
ipv6 = $${instance-parameter:ipv6-random}
port =
7777
port =
$${instance-parameter:configuration.port}
# full URL - for convenience
# full URL - for convenience
url = http://[$${:ipv6}]:$${:port}
url = http://[$${:ipv6}]:$${:port}
...
...
software/helloworld/software.cfg
View file @
d91f7277
...
@@ -4,6 +4,7 @@ extends =
...
@@ -4,6 +4,7 @@ extends =
# "slapos" stack describes basic things needed for 99.9% of SlapOS Software
# "slapos" stack describes basic things needed for 99.9% of SlapOS Software
# Releases
# Releases
../../stack/slapos.cfg
../../stack/slapos.cfg
../../stack/monitor/buildout.cfg
# Extend here component profiles, like openssl, apache, mariadb, curl...
# Extend here component profiles, like openssl, apache, mariadb, curl...
# Or/and extend a stack (lamp, tomcat) that does most of the work for you
# Or/and extend a stack (lamp, tomcat) that does most of the work for you
# In this example we don't need anything more than python which is provided by
# In this example we don't need anything more than python which is provided by
...
@@ -16,6 +17,8 @@ extends =
...
@@ -16,6 +17,8 @@ extends =
../../component/gzip/buildout.cfg
../../component/gzip/buildout.cfg
parts =
parts =
# Monitor parts
monitor-eggs
# Call installation of slapos.cookbook egg defined in stack/slapos.cfg (needed
# Call installation of slapos.cookbook egg defined in stack/slapos.cfg (needed
# in 99,9% of Slapos Software Releases)
# in 99,9% of Slapos Software Releases)
slapos-cookbook
slapos-cookbook
...
@@ -30,7 +33,6 @@ parts =
...
@@ -30,7 +33,6 @@ parts =
dcron
dcron
logrotate
logrotate
# Download instance.cfg.in (buildout profile used to deployment of instance),
# Download instance.cfg.in (buildout profile used to deployment of instance),
# replace all ${foo:bar} parameters by real values, and change $${foo:bar} to
# replace all ${foo:bar} parameters by real values, and change $${foo:bar} to
# ${foo:bar}
# ${foo:bar}
...
...
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