File tree Expand file tree Collapse file tree 1 file changed +3
-10
lines changed Expand file tree Collapse file tree 1 file changed +3
-10
lines changed Original file line number Diff line number Diff line change 17
17
"""Generates the workbench software listings for https://access.redhat.com/articles/rhoai-supported-configs
18
18
using the Markdown variant described at https://access.redhat.com/articles/7056942"""
19
19
20
- """
21
- TODO:
22
- * separate reading data and printing output
23
- so that output can be properly sorted (by opendatahub.io/notebook-image-order probably)
24
- * don't repeat image name when printing multiple tags for it
25
- * run this in red-hat-data-services repo so we also have (or not have) Habana image
26
- * diff it with what's in the knowledge base now, to check if outputs match
27
- """
28
-
29
20
ROOT_DIR = pathlib .Path (__file__ ).parent .parent
30
21
31
22
@@ -130,7 +121,8 @@ def main():
130
121
sw_version = sw_version .lstrip ("v" )
131
122
software .append (f"{ sw_name } : { sw_version } " )
132
123
133
- maybe_techpreview = "" if name not in ('code-server' ,) else " (Technology Preview)"
124
+ # in 2.16.1 we only have RStudio as tech preview, and that is not a prebuilt image we ship
125
+ maybe_techpreview = "" if name not in () else " (Technology Preview)"
134
126
maybe_recommended = "" if not recommended or len (imagestream .tags ) == 1 else ' (Recommended)'
135
127
136
128
tabular_data .append ((
@@ -159,6 +151,7 @@ def main():
159
151
print (f'{ row [0 ]} | { row [1 ]} | { row [2 ]} ' )
160
152
print ('```' )
161
153
154
+
162
155
class TestManifest (unittest .TestCase ):
163
156
_data = yaml .safe_load (io .StringIO (package_versions_selftestdata .imagestream ))
164
157
manifest = Manifest (_data )
You can’t perform that action at this time.
0 commit comments