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
76fd3aa2
Commit
76fd3aa2
authored
Oct 08, 2024
by
Léo-Paul Géneau
👾
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
software/js-drone: fix Subscriber naming
parent
54068e1b
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
2 additions
and
2 deletions
+2
-2
software/js-drone/buildout.hash.cfg
software/js-drone/buildout.hash.cfg
+1
-1
software/js-drone/instance-root.cfg.jinja2
software/js-drone/instance-root.cfg.jinja2
+1
-1
No files found.
software/js-drone/buildout.hash.cfg
View file @
76fd3aa2
...
...
@@ -26,7 +26,7 @@ md5sum = 87968c91591db2c0778f41f7404700c7
[instance-root]
filename = instance-root.cfg.jinja2
md5sum =
2372a1cf3616ccbd97ada047a645cb32
md5sum =
5ad09da22a39ed1f71eda67017235acc
[instance-subscriber]
filename = instance-subscriber.cfg.in
...
...
software/js-drone/instance-root.cfg.jinja2
View file @
76fd3aa2
...
...
@@ -16,7 +16,7 @@ recipe = slapos.cookbook:request.serialised
name = Drone{{ id }}_{{ guid }}
{% else -%}
{% set sr_name = 'subscriber' -%}
name = Subscriber{{
len(parameter_dict['droneList']) - id
}}_{{ guid }}
name = Subscriber{{
id - len(parameter_dict['droneList'])
}}_{{ guid }}
{% endif -%}
software-url = {{ '/'.join(software_url.split('/')[:-1]) + '/software-%s.cfg' % sr_name }}
return = instance-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