Skip to content

Commit

Permalink
fix: remove references to old deep-oc-generic-dev
Browse files Browse the repository at this point in the history
  • Loading branch information
IgnacioHeredia committed Aug 20, 2024
1 parent 21be7a2 commit 9129dbd
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 5 deletions.
5 changes: 1 addition & 4 deletions ai4papi/routers/v1/catalog/modules.py
Original file line number Diff line number Diff line change
Expand Up @@ -64,10 +64,7 @@ def get_config(
conf["general"]["docker_tag"]["value"] = tags[0]

# Custom conf for development environment
if item_name == 'ai4os-dev-env' or item_name == 'deep-oc-generic-dev':
#TODO: remove second condition when 'deep-oc-generic-dev' is removed from the
# modules catalog

if item_name == 'ai4os-dev-env':
# For dev-env, order the tags in "Z-A" order instead of "newest"
# This is done because builds are done in parallel, so "newest" is meaningless
# (Z-A + natsort) allows to show more recent semver first
Expand Down
2 changes: 1 addition & 1 deletion tests/catalog/modules.py
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@
not_tags_any=None,
)
assert isinstance(modules_list2, list)
assert 'deep-oc-generic-dev' in modules_list2
assert 'ai4os-dev-env' in modules_list2

# Get modules summaries
modules_sum = Modules.get_summary(
Expand Down

0 comments on commit 9129dbd

Please sign in to comment.