os versions
Some checks failed
/ job (push) Failing after 8m9s

This commit is contained in:
Marc Beninca 2024-07-12 23:24:50 +02:00
parent ed39bce697
commit cd2b4c2f86
Signed by: marc.beninca
GPG key ID: 9C7613450C80C24F
2 changed files with 15 additions and 15 deletions

View file

@ -16,26 +16,26 @@ from various contexts of CA, CI and OCI / OS.
* [ ] SourceHut * [ ] SourceHut
* Operating Systems * Operating Systems
* [X] Alma → Python 3.11 * [X] Alma → Python 3.11
* [X] 8
* [X] 9 * [X] 9
* [X] Alpine → Python 3.11 * [X] 8
* [X] 3.18 * [X] Alpine
* [X] 3.19 * [X] 3.20 → Python 3.12
* [X] 3.19 → Python 3.11
* [X] Arch → Python 3.12 * [X] Arch → Python 3.12
* [ ] 20231112
* [X] 20240101 * [X] 20240101
* [ ] 20231112
* [X] Debian * [X] Debian
* [ ] Bullseye (11) → Python 3.9
* [X] Bookworm (12) → Python 3.11 * [X] Bookworm (12) → Python 3.11
* [ ] Bullseye (11) → Python 3.9
* [X] Fedora → Python 3.12 * [X] Fedora → Python 3.12
* [X] 39
* [X] 40 * [X] 40
* [X] 39
* [X] Rocky → Python 3.11 * [X] Rocky → Python 3.11
* [X] 8
* [X] 9 * [X] 9
* [X] 8
* [X] Ubuntu * [X] Ubuntu
* [X] Jammy (22.04) → Python 3.10
* [X] Noble (24.04) → Python 3.12 * [X] Noble (24.04) → Python 3.12
* [X] Jammy (22.04) → Python 3.10
## How ## How

12
spcd.sh
View file

@ -94,37 +94,37 @@ spcd_set_environment_variables() {
case "${SPCD_OS_ID}" in case "${SPCD_OS_ID}" in
"${SPCD_OS_ALMA}" | "${SPCD_OS_ROCKY}") "${SPCD_OS_ALMA}" | "${SPCD_OS_ROCKY}")
case "${SPCD_OS_VERSION}" in case "${SPCD_OS_VERSION}" in
"8" | "9") ;; "9" | "8") ;;
*) spcd_error_os "SPCD_OS_VERSION" ;; *) spcd_error_os "SPCD_OS_VERSION" ;;
esac esac
;; ;;
"${SPCD_OS_ALPINE}") "${SPCD_OS_ALPINE}")
case "${SPCD_OS_VERSION}" in case "${SPCD_OS_VERSION}" in
"3.18" | "3.19") ;; "3.20" | "3.19") ;;
*) spcd_error_os "SPCD_OS_VERSION" ;; *) spcd_error_os "SPCD_OS_VERSION" ;;
esac esac
;; ;;
"${SPCD_OS_ARCH}") "${SPCD_OS_ARCH}")
case "${SPCD_OS_VERSION}" in case "${SPCD_OS_VERSION}" in
"20231112" | "20240101") ;; "20240101" | "20231112") ;;
*) spcd_error_os "SPCD_OS_VERSION" ;; *) spcd_error_os "SPCD_OS_VERSION" ;;
esac esac
;; ;;
"${SPCD_OS_DEBIAN}") "${SPCD_OS_DEBIAN}")
case "${SPCD_OS_VERSION}" in case "${SPCD_OS_VERSION}" in
"bookworm" | "bullseye") ;; "bullseye" | "bookworm") ;;
*) spcd_error_os "SPCD_OS_VERSION" ;; *) spcd_error_os "SPCD_OS_VERSION" ;;
esac esac
;; ;;
"${SPCD_OS_FEDORA}") "${SPCD_OS_FEDORA}")
case "${SPCD_OS_VERSION}" in case "${SPCD_OS_VERSION}" in
"39" | "40") ;; "40" | "39") ;;
*) spcd_error_os "SPCD_OS_VERSION" ;; *) spcd_error_os "SPCD_OS_VERSION" ;;
esac esac
;; ;;
"${SPCD_OS_UBUNTU}") "${SPCD_OS_UBUNTU}")
case "${SPCD_OS_VERSION}" in case "${SPCD_OS_VERSION}" in
"jammy" | "noble") ;; "noble" | "jammy") ;;
*) spcd_error_os "SPCD_OS_VERSION" ;; *) spcd_error_os "SPCD_OS_VERSION" ;;
esac esac
;; ;;