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
Nirina Malard
slapos
Commits
df1005cc
Commit
df1005cc
authored
Aug 18, 2023
by
Lu Xu
👀
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
wip
parent
6bb15efa
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
4 additions
and
4 deletions
+4
-4
software/ors-amarisoft/buildout.hash.cfg
software/ors-amarisoft/buildout.hash.cfg
+2
-2
software/ors-amarisoft/instance-enb.jinja2.cfg
software/ors-amarisoft/instance-enb.jinja2.cfg
+1
-1
software/ors-amarisoft/lopcomm-rrh-software.jinja2.py
software/ors-amarisoft/lopcomm-rrh-software.jinja2.py
+1
-1
No files found.
software/ors-amarisoft/buildout.hash.cfg
View file @
df1005cc
...
...
@@ -36,11 +36,11 @@ md5sum = b34fe47a73890097fbc6ea6374aeb38d
[lopcomm-rrh-software.jinja2.py]
_update_hash_filename_ = lopcomm-rrh-software.jinja2.py
md5sum =
eea9fff153aa135bf1d2a46815a05a30
md5sum =
2ef31f3d2482250a377d305dda07cb02
[template-enb]
_update_hash_filename_ = instance-enb.jinja2.cfg
md5sum =
543e8f689cafae428c9af7e6b34e693
6
md5sum =
25c028813e756502d30a7fd6b446dea
6
[template-gnb]
_update_hash_filename_ = instance-gnb.jinja2.cfg
...
...
software/ors-amarisoft/instance-enb.jinja2.cfg
View file @
df1005cc
...
...
@@ -286,7 +286,7 @@ context =
raw testing {{ slapparameter_dict.get("testing", False) }}
raw python_path {{ buildout_directory}}/bin/pythonwitheggs
raw software_install_template {{ software_install_template }}
raw firmware_name
lopcomm-firmware-dl:filename
raw firmware_name
${lopcomm-firmware-dl:filename}
import netaddr netaddr
mode = 0775
url = {{ lopcomm_rrh_software_template }}
...
...
software/ors-amarisoft/lopcomm-rrh-software.jinja2.py
View file @
df1005cc
...
...
@@ -105,7 +105,7 @@ if __name__ == '__main__':
if
active_slot_name
and
nonactive_slot_name
:
# Check if the running slot's build-version is already in file-names of the active slot
if
active_slot_build_version
in
{{
firmware_name
}}
:
if
active_slot_build_version
in
"{{ firmware_name }}"
:
nc
.
logger
.
info
(
"Running slot's build-version is already updated. Skipping install."
)
else
:
# Install software in the non-active slot
...
...
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