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
Labels
Merge Requests
104
Merge Requests
104
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Analytics
Analytics
CI / CD
Repository
Value Stream
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Jobs
Commits
Open sidebar
nexedi
slapos
Commits
cf0669f9
Commit
cf0669f9
authored
Sep 29, 2023
by
Thomas Gambier
🚴🏼
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
software/re6stnet: fix restart of registry
this is a fixup of
54a08186
parent
5f086912
Pipeline
#30135
running with stage
Changes
2
Pipelines
1
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
14 additions
and
1 deletion
+14
-1
software/re6stnet/buildout.hash.cfg
software/re6stnet/buildout.hash.cfg
+1
-1
software/re6stnet/instance-re6stnet.cfg.in
software/re6stnet/instance-re6stnet.cfg.in
+13
-0
No files found.
software/re6stnet/buildout.hash.cfg
View file @
cf0669f9
...
@@ -18,7 +18,7 @@ md5sum = 7be0c21751f8385ef876c3d7192d4057
...
@@ -18,7 +18,7 @@ md5sum = 7be0c21751f8385ef876c3d7192d4057
[template-re6stnet]
[template-re6stnet]
filename = instance-re6stnet.cfg.in
filename = instance-re6stnet.cfg.in
md5sum =
01a24f1983a1d40f31c4b36b7a2448fe
md5sum =
6936c2d6c9e5dc707da761caf6d977af
[template-apache-conf]
[template-apache-conf]
filename = apache.conf.in
filename = apache.conf.in
...
...
software/re6stnet/instance-re6stnet.cfg.in
View file @
cf0669f9
...
@@ -96,7 +96,20 @@ inline =
...
@@ -96,7 +96,20 @@ inline =
output = ${re6stnet-dirs:conf}/community.conf
output = ${re6stnet-dirs:conf}/community.conf
{%- endif %}
{%- endif %}
[re6st-registry-conf-init]
recipe = slapos.recipe.build
init =
# pre-create a file at the path of the conf,
# so that we can use hash-existing-files options
import os
conf_file = self.buildout['re6st-registry-conf']['output']
if not os.path.exists(os.path.dirname(conf_file)):
os.makedirs(os.path.dirname(conf_file))
if not os.path.exists(conf_file):
open(conf_file, 'a').close()
[re6st-registry-conf]
[re6st-registry-conf]
init = ${re6st-registry-conf-init:init}
recipe = slapos.recipe.template:jinja2
recipe = slapos.recipe.template:jinja2
url = {{ parameter_dict['template-re6st-registry-conf'] }}
url = {{ parameter_dict['template-re6st-registry-conf'] }}
output = ${re6stnet-dirs:conf}/registry.conf
output = ${re6stnet-dirs:conf}/registry.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