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
Léo-Paul Géneau
slapos
Commits
288a9faf
Commit
288a9faf
authored
Apr 27, 2020
by
Rafael Monnerat
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
runner: Support suffix for slapos-st-testing environments
parent
8a6fc7fa
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
2 additions
and
2 deletions
+2
-2
software/slaprunner/buildout.hash.cfg
software/slaprunner/buildout.hash.cfg
+1
-1
software/slaprunner/template/runner-import.sh.jinja2
software/slaprunner/template/runner-import.sh.jinja2
+1
-1
No files found.
software/slaprunner/buildout.hash.cfg
View file @
288a9faf
...
@@ -22,7 +22,7 @@ md5sum = 73f8d2e4dda8f46b83cb45cacd7434f7
...
@@ -22,7 +22,7 @@ md5sum = 73f8d2e4dda8f46b83cb45cacd7434f7
[template-runner-import-script]
[template-runner-import-script]
filename = template/runner-import.sh.jinja2
filename = template/runner-import.sh.jinja2
md5sum =
2852689640b632fc713d7a603ce6620
7
md5sum =
f2e2493bc5da90a53f86e5bcf64d2d5
7
[instance-runner-import]
[instance-runner-import]
filename = instance-runner-import.cfg.in
filename = instance-runner-import.cfg.in
...
...
software/slaprunner/template/runner-import.sh.jinja2
View file @
288a9faf
...
@@ -173,7 +173,7 @@ if 1:
...
@@ -173,7 +173,7 @@ if 1:
# We want to replace the last occurence only
# We want to replace the last occurence only
old_software_release, partition = sys.argv[1], sys.argv[2]
old_software_release, partition = sys.argv[1], sys.argv[2]
for match in re.finditer("(slappart|test0-)[0-9][0-9]*", old_software_release):
for match in re.finditer("(slappart|test0-
|s
)[0-9][0-9]*", old_software_release):
start, end = match.start(), match.end()
start, end = match.start(), match.end()
print old_software_release[:start] + partition + old_software_release[end:]
print old_software_release[:start] + partition + old_software_release[end:]
...
...
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