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
Steven Gueguen
slapos
Commits
cfeadb3a
Commit
cfeadb3a
authored
Jan 27, 2023
by
Joanne Hugé
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
ors-amarisoft: use latest available amarisoft version
parent
615b9735
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
3 additions
and
3 deletions
+3
-3
software/ors-amarisoft/buildout.hash.cfg
software/ors-amarisoft/buildout.hash.cfg
+1
-1
software/ors-amarisoft/instance.cfg
software/ors-amarisoft/instance.cfg
+2
-2
No files found.
software/ors-amarisoft/buildout.hash.cfg
View file @
cfeadb3a
...
...
@@ -16,7 +16,7 @@
[template]
filename = instance.cfg
md5sum =
61e9685d6aa973ae0c45c45ca357458a
md5sum =
b457f582aa7fd5c0773c94bea4b58b49
[amarisoft-stats.jinja2.py]
_update_hash_filename_ = amarisoft-stats.jinja2.py
...
...
software/ors-amarisoft/instance.cfg
View file @
cfeadb3a
...
...
@@ -31,8 +31,8 @@ context =
[amarisoft]
recipe = slapos.recipe.build
init =
import os
lte_version =
"2021-09-18"
import os
, re
lte_version =
sorted(filter(lambda x: re.match(r"v[0-9]{4}-[0-9]{2}-[0-9]{2}", x), os.listdir('/opt/amarisoft')))[-1][1:]
path = "/opt/amarisoft/v" + lte_version
options['lte-version'] = lte_version
options['path'] = path
...
...
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