Skip to content

Commit

Permalink
The name_prefix thing was perhaps a temporary issue... need to invest…
Browse files Browse the repository at this point in the history
…igate
  • Loading branch information
Kristoffer Grönlund committed Dec 22, 2019
1 parent e9ab291 commit 66ea13b
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 4 deletions.
8 changes: 4 additions & 4 deletions templates/map.json
Original file line number Diff line number Diff line change
Expand Up @@ -9,17 +9,17 @@
"obs://filesystems:ceph:nautilus": {
"variant": "leap15_1",
"registry": "registry.opensuse.org",
"name_prefix": "/filesystems/ceph/nautilus/images/"
"name_prefix": "/"
},
"obs://filesystems:ceph:octopus": {
"variant": "leap15_2",
"registry": "registry.opensuse.org",
"name_prefix": "/filesystems/ceph/octopus/images/"
"name_prefix": "/"
},
"obs://filesystems:ceph:master:upstream": {
"variant": "leap15_2",
"variant": "upstream",
"registry": "registry.opensuse.org",
"name_prefix": "/filesystems/ceph/master/upstream/images/"
"name_prefix": "/"
},
"ibs://Devel:Storage:6.0": {
"variant": "ses6",
Expand Down
3 changes: 3 additions & 0 deletions update-images.py
Original file line number Diff line number Diff line change
Expand Up @@ -101,6 +101,9 @@ def main():

for image in cfg["images"]:
for repo, data in cfg["repositories"].items():
if data.get("disabled") == "true":
print("{} disabled, skipping...".format(repo))
continue
variant = data["variant"]
registry = data["registry"]
prefix = data["name_prefix"]
Expand Down

0 comments on commit 66ea13b

Please sign in to comment.