@@ -161,7 +161,11 @@ def pretty_os_version_no_dash(self) -> str:
161
161
162
162
#: Operating system versions that have the label ``com.suse.release-stage`` set
163
163
#: to ``released``.
164
- RELEASED_OS_VERSIONS = [OsVersion .SP4 , OsVersion .SP5 , OsVersion .TUMBLEWEED ]
164
+ RELEASED_OS_VERSIONS = [OsVersion .SP3 ] + [
165
+ OsVersion .SP4 ,
166
+ OsVersion .SP5 ,
167
+ OsVersion .TUMBLEWEED ,
168
+ ]
165
169
166
170
# For which versions to create Application and Language Containers?
167
171
ALL_NONBASE_OS_VERSIONS = [OsVersion .SP5 , OsVersion .SP6 , OsVersion .TUMBLEWEED ]
@@ -233,6 +237,8 @@ def _build_tag_prefix(os_version: OsVersion) -> str:
233
237
return "opensuse/bci"
234
238
if os_version == OsVersion .BASALT :
235
239
return "alp/bci"
240
+ if os_version == OsVersion .SP3 :
241
+ return "suse/ltss/sle15.3"
236
242
return "bci"
237
243
238
244
@@ -261,6 +267,9 @@ class ImageProperties:
261
267
#: Url to the vendor's home page
262
268
url : str
263
269
270
+ #: The EULA identifier to set
271
+ eula : str
272
+
264
273
#: Url to learn about the support lifecycle of the image
265
274
lifecycle_url : str
266
275
@@ -284,6 +293,7 @@ class ImageProperties:
284
293
vendor = "openSUSE Project" ,
285
294
registry = "registry.opensuse.org" ,
286
295
url = "https://www.opensuse.org" ,
296
+ eula = "sle-bci" ,
287
297
lifecycle_url = "https://en.opensuse.org/Lifetime" ,
288
298
label_prefix = "org.opensuse" ,
289
299
distribution_base_name = "openSUSE Tumbleweed" ,
@@ -297,18 +307,34 @@ class ImageProperties:
297
307
vendor = "SUSE LLC" ,
298
308
registry = "registry.suse.com" ,
299
309
url = "https://www.suse.com/products/server/" ,
310
+ eula = "sle-bci" ,
300
311
lifecycle_url = "https://www.suse.com/lifecycle#suse-linux-enterprise-server-15" ,
301
312
label_prefix = "com.suse" ,
302
313
distribution_base_name = "SLE" ,
303
314
build_tag_prefix = _build_tag_prefix (OsVersion .SP5 ),
304
315
application_container_build_tag_prefix = "suse" ,
305
316
)
306
317
318
+ #: Image properties for SUSE Linux Enterprise 15 SP3 LTSS images
319
+ _SLE_15_SP3_LTSS_IMAGE_PROPS = ImageProperties (
320
+ maintainer = "SUSE LLC (https://www.suse.com/)" ,
321
+ vendor = "SUSE LLC" ,
322
+ registry = "registry.suse.com" ,
323
+ url = "https://www.suse.com/products/server/" ,
324
+ eula = "sle-eula" ,
325
+ lifecycle_url = "https://www.suse.com/lifecycle#suse-linux-enterprise-server-15" ,
326
+ label_prefix = "com.suse" ,
327
+ distribution_base_name = "SLE LTSS" ,
328
+ build_tag_prefix = _build_tag_prefix (OsVersion .SP3 ),
329
+ application_container_build_tag_prefix = "suse" ,
330
+ )
331
+
307
332
_BASALT_IMAGE_PROPS = ImageProperties (
308
333
maintainer = "SUSE LLC (https://www.suse.com/)" ,
309
334
vendor = "SUSE LLC" ,
310
335
registry = "registry.suse.com" ,
311
336
url = "https://susealp.io/" ,
337
+ eula = "sle-bci" ,
312
338
lifecycle_url = "https://www.suse.com/lifecycle" ,
313
339
label_prefix = "com.suse.basalt" ,
314
340
distribution_base_name = "Basalt Project" ,
@@ -481,6 +507,8 @@ def __post_init__(self) -> None:
481
507
self ._image_properties = _OPENSUSE_IMAGE_PROPS
482
508
elif self .os_version == OsVersion .BASALT :
483
509
self ._image_properties = _BASALT_IMAGE_PROPS
510
+ elif self .os_version == OsVersion .SP3 :
511
+ self ._image_properties = _SLE_15_SP3_LTSS_IMAGE_PROPS
484
512
else :
485
513
self ._image_properties = _SLE_IMAGE_PROPS
486
514
@@ -518,6 +546,10 @@ def build_version(self) -> Optional[str]:
518
546
return f"15.{ epoch } { int (self .os_version .value )} "
519
547
return None
520
548
549
+ @property
550
+ def eula (self ) -> str :
551
+ return self ._image_properties .eula
552
+
521
553
@property
522
554
def lifecycle_url (self ) -> str :
523
555
return self ._image_properties .lifecycle_url
0 commit comments