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
Lu Xu
slapos
Commits
7c861be6
Commit
7c861be6
authored
Dec 27, 2023
by
Kirill Smelkov
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
.
parent
599c3518
Changes
4
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
14 additions
and
6 deletions
+14
-6
software/ors-amarisoft/buildout.hash.cfg
software/ors-amarisoft/buildout.hash.cfg
+3
-3
software/ors-amarisoft/instance.cfg
software/ors-amarisoft/instance.cfg
+1
-0
software/ors-amarisoft/ru/libinstance.jinja2.cfg
software/ors-amarisoft/ru/libinstance.jinja2.cfg
+9
-2
software/ors-amarisoft/ru/lopcomm/libinstance.jinja2.cfg
software/ors-amarisoft/ru/lopcomm/libinstance.jinja2.cfg
+1
-1
No files found.
software/ors-amarisoft/buildout.hash.cfg
View file @
7c861be6
...
...
@@ -16,7 +16,7 @@
[template]
filename = instance.cfg
md5sum =
1186464b43fc15cceb6084e54f8c7ff7
md5sum =
f7c9582099537c507b2a25e537b17716
[template-ors]
filename = instance-ors.cfg
...
...
@@ -28,7 +28,7 @@ md5sum = dc3bff7742d78a7831748a51659f63a4
[ru_libinstance.jinja2.cfg]
_update_hash_filename_ = ru/libinstance.jinja2.cfg
md5sum =
e8eeeb424932cb189f84756a34b65e36
md5sum =
8232657281b5cc2281d9e281ba2701e2
[ru_sdr_libinstance.jinja2.cfg]
_update_hash_filename_ = ru/sdr/libinstance.jinja2.cfg
...
...
@@ -36,7 +36,7 @@ md5sum = b7906ca3a6b17963f78f680fc0842b74
[ru_lopcomm_libinstance.jinja2.cfg]
_update_hash_filename_ = ru/lopcomm/libinstance.jinja2.cfg
md5sum =
0a64b39a24484ca5c67ff1fe91b9667a
md5sum =
89a0c95fa8357032fcd1867ba2b792d1
[ru_sunwave_libinstance.jinja2.cfg]
_update_hash_filename_ = ru/sunwave/libinstance.jinja2.cfg
...
...
software/ors-amarisoft/instance.cfg
View file @
7c861be6
...
...
@@ -26,6 +26,7 @@ output = $${buildout:directory}/$${:filename}
extra-context =
depends = $${activate-eggs:recipe}
context =
import xbuildout xbuildout
import json_module json
import xearfcn_module xlte.earfcn
import xnrarfcn_module xlte.nrarfcn
...
...
software/ors-amarisoft/ru/libinstance.jinja2.cfg
View file @
7c861be6
...
...
@@ -24,11 +24,18 @@
{%- macro buildout() %}
{%- set root = slap_configuration['instance-title'] %}
{#- B returns buildout-encoded name %}
{#- set B = xbuildout.encode #}
{%- macro B(name) %}
{#- always add some prefix to catch mismatched references without B() #}
{{- 'B' + xbuildout.encode(name) -}}
{%- endmacro %}
{#- part emits new buildout section and registers it into buildout.parts #}
{%- set parts_list = [] %}
{%- macro part(name) %}
{%- do parts_list.append(
name
) %}
[{{
name
}}]
{%- do parts_list.append(
B(name)
) %}
[{{
B(name)
}}]
{%- endmacro %}
{#- promise emits new buildout section for a promise #}
...
...
software/ors-amarisoft/ru/lopcomm/libinstance.jinja2.cfg
View file @
7c861be6
...
...
@@ -20,7 +20,7 @@ config-port = 830
{#- push firmware to RU #}
[{{
ru_ref}}-software-template
]
[{{
B('%s-software-template' % ru_ref) }}
]
recipe = slapos.recipe.template:jinja2
extensions = jinja2.ext.do
_logbase = ${directory:var}/log/{{ru_ref}}-software
...
...
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