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
10f10617
Commit
10f10617
authored
Apr 29, 2022
by
HongzheWang
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
software:add file buildout.hash.cfg for some software
parent
f20f2c06
Changes
6
Hide whitespace changes
Inline
Side-by-side
Showing
6 changed files
with
29 additions
and
12 deletions
+29
-12
software/hellorina/buildout.hash.cfg
software/hellorina/buildout.hash.cfg
+15
-0
software/hellorina/software.cfg
software/hellorina/software.cfg
+4
-7
software/postgres/buildout.hash.cfg
software/postgres/buildout.hash.cfg
+3
-0
software/postgres/software.cfg
software/postgres/software.cfg
+2
-3
software/zabbix-agent/buildout.hash.cfg
software/zabbix-agent/buildout.hash.cfg
+3
-0
software/zabbix-agent/software.cfg
software/zabbix-agent/software.cfg
+2
-2
No files found.
software/hellorina/buildout.hash.cfg
0 → 100644
View file @
10f10617
[template]
filename = instance.cfg.in
md5sum = d7506e861ef87977eaa554b8928d2c99
[instance-root]
filename = instance-root.cfg.in
md5sum = 1c0e222aab51dfc598094e972f1d1482
[instance-server]
filename = instance-server.cfg.in
md5sum = 88a451b0f7f8def12713b92b91659b98
[proxy]
filename = proxy
md5sum = 78b77a6bda9958f547f7d89b747731e3
software/hellorina/software.cfg
View file @
10f10617
[buildout]
[buildout]
extends =
extends =
buildout.hash.cfg
../../stack/slapos.cfg
../../stack/slapos.cfg
../../component/rina-tools/buildout.cfg
../../component/rina-tools/buildout.cfg
parts =
parts =
...
@@ -16,8 +17,7 @@ environment +=
...
@@ -16,8 +17,7 @@ environment +=
[template]
[template]
recipe = slapos.recipe.template:jinja2
recipe = slapos.recipe.template:jinja2
url = ${:_profile_base_location_}/instance.cfg.in
url = ${:_profile_base_location_}/${:filename}
md5sum = d7506e861ef87977eaa554b8928d2c99
# XXX: "template.cfg" is hardcoded in instanciation recipe
# XXX: "template.cfg" is hardcoded in instanciation recipe
output = ${buildout:directory}/template.cfg
output = ${buildout:directory}/template.cfg
context =
context =
...
@@ -30,21 +30,18 @@ context =
...
@@ -30,21 +30,18 @@ context =
[download-base]
[download-base]
recipe = slapos.recipe.build:download
recipe = slapos.recipe.build:download
url = ${:_profile_base_location_}/${:
_buildout_section_name_}.cfg.in
url = ${:_profile_base_location_}/${:
filename}
[instance-root]
[instance-root]
<= download-base
<= download-base
md5sum = 1c0e222aab51dfc598094e972f1d1482
[instance-server]
[instance-server]
<= download-base
<= download-base
md5sum = 88a451b0f7f8def12713b92b91659b98
[proxy]
[proxy]
recipe = slapos.recipe.build
recipe = slapos.recipe.build
location = ${buildout:bin-directory}/${:_buildout_section_name_}
location = ${buildout:bin-directory}/${:_buildout_section_name_}
url = ${:_profile_base_location_}/${:_buildout_section_name_}
url = ${:_profile_base_location_}/${:filename}
md5sum = 78b77a6bda9958f547f7d89b747731e3
install =
install =
import os, sys
import os, sys
with open(self.download(options['url'], options['md5sum'])) as src, \
with open(self.download(options['url'], options['md5sum'])) as src, \
...
...
software/postgres/buildout.hash.cfg
0 → 100644
View file @
10f10617
[instance]
filename = instance.cfg.in
md5sum = f55bd8f13859a6fc16db90fe5ffad52c
software/postgres/software.cfg
View file @
10f10617
[buildout]
[buildout]
extends =
extends =
buildout.hash.cfg
../../stack/slapos.cfg
../../stack/slapos.cfg
../../component/postgresql/buildout.cfg
../../component/postgresql/buildout.cfg
...
@@ -9,12 +10,10 @@ parts =
...
@@ -9,12 +10,10 @@ parts =
instance
instance
postgresql
postgresql
#----------------
#----------------
#-- Instance-level buildout profiles.
#-- Instance-level buildout profiles.
[instance]
[instance]
recipe = slapos.recipe.template
recipe = slapos.recipe.template
url = ${:_profile_base_location_}/
instance.cfg.in
url = ${:_profile_base_location_}/
${:filename}
output = ${buildout:directory}/instance.cfg
output = ${buildout:directory}/instance.cfg
md5sum = d8b833a2054b82b6031a9420008b58fd
software/zabbix-agent/buildout.hash.cfg
0 → 100644
View file @
10f10617
[template]
filename = instance.cfg
md5sum = 98a680fe8fddce5dcee455e65c228fde
software/zabbix-agent/software.cfg
View file @
10f10617
[buildout]
[buildout]
extends =
extends =
buildout.hash.cfg
../../component/dcron/buildout.cfg
../../component/dcron/buildout.cfg
../../component/logrotate/buildout.cfg
../../component/logrotate/buildout.cfg
../../component/zabbix/buildout.cfg
../../component/zabbix/buildout.cfg
...
@@ -13,6 +14,5 @@ parts =
...
@@ -13,6 +14,5 @@ parts =
[template]
[template]
# Default template for the instance.
# Default template for the instance.
recipe = slapos.recipe.template
recipe = slapos.recipe.template
url = ${:_profile_base_location_}/instance.cfg
url = ${:_profile_base_location_}/${:filename}
md5sum = 98a680fe8fddce5dcee455e65c228fde
output = ${buildout:directory}/template.cfg
output = ${buildout:directory}/template.cfg
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