Skip to content
Snippets Groups Projects
Commit 0cb43789 authored by Daniel Black's avatar Daniel Black
Browse files

Manually hack release status/support status

As API unnormalized.
parent c801951f
Branches
No related tags found
No related merge requests found
...@@ -56,7 +56,7 @@ LABEL org.opencontainers.image.authors="MariaDB Community" \ ...@@ -56,7 +56,7 @@ LABEL org.opencontainers.image.authors="MariaDB Community" \
# bashbrew-architectures: amd64 arm64v8 ppc64le s390x # bashbrew-architectures: amd64 arm64v8 ppc64le s390x
ARG MARIADB_VERSION=11.5.1 ARG MARIADB_VERSION=11.5.1
ENV MARIADB_VERSION=$MARIADB_VERSION ENV MARIADB_VERSION=$MARIADB_VERSION
# release-status:RC # release-status:Stable
# release-support-type:Short Term Support # release-support-type:Short Term Support
# (https://downloads.mariadb.org/rest-api/mariadb/) # (https://downloads.mariadb.org/rest-api/mariadb/)
......
...@@ -81,7 +81,7 @@ LABEL org.opencontainers.image.authors="MariaDB Community" \ ...@@ -81,7 +81,7 @@ LABEL org.opencontainers.image.authors="MariaDB Community" \
# bashbrew-architectures: amd64 arm64v8 ppc64le s390x # bashbrew-architectures: amd64 arm64v8 ppc64le s390x
ARG MARIADB_VERSION=1:11.5.1+maria~ubu2404 ARG MARIADB_VERSION=1:11.5.1+maria~ubu2404
ENV MARIADB_VERSION $MARIADB_VERSION ENV MARIADB_VERSION $MARIADB_VERSION
# release-status:RC # release-status:Stable
# release-support-type:Short Term Support # release-support-type:Short Term Support
# (https://downloads.mariadb.org/rest-api/mariadb/) # (https://downloads.mariadb.org/rest-api/mariadb/)
......
...@@ -56,8 +56,8 @@ LABEL org.opencontainers.image.authors="MariaDB Community" \ ...@@ -56,8 +56,8 @@ LABEL org.opencontainers.image.authors="MariaDB Community" \
# bashbrew-architectures: amd64 arm64v8 ppc64le s390x # bashbrew-architectures: amd64 arm64v8 ppc64le s390x
ARG MARIADB_VERSION=11.6.0 ARG MARIADB_VERSION=11.6.0
ENV MARIADB_VERSION=$MARIADB_VERSION ENV MARIADB_VERSION=$MARIADB_VERSION
# release-status:Unknown # release-status:RC
# release-support-type:Unknown # release-support-type:Short Term Support
# (https://downloads.mariadb.org/rest-api/mariadb/) # (https://downloads.mariadb.org/rest-api/mariadb/)
# missing pwgen(epel), jemalloc(epel) (as entrypoint/user extensions) # missing pwgen(epel), jemalloc(epel) (as entrypoint/user extensions)
......
...@@ -81,8 +81,8 @@ LABEL org.opencontainers.image.authors="MariaDB Community" \ ...@@ -81,8 +81,8 @@ LABEL org.opencontainers.image.authors="MariaDB Community" \
# bashbrew-architectures: amd64 arm64v8 ppc64le s390x # bashbrew-architectures: amd64 arm64v8 ppc64le s390x
ARG MARIADB_VERSION=1:11.6.0+maria~ubu2404 ARG MARIADB_VERSION=1:11.6.0+maria~ubu2404
ENV MARIADB_VERSION $MARIADB_VERSION ENV MARIADB_VERSION $MARIADB_VERSION
# release-status:Alpha # release-status:RC
# release-support-type:Unknown # release-support-type:Short Term Support
# (https://downloads.mariadb.org/rest-api/mariadb/) # (https://downloads.mariadb.org/rest-api/mariadb/)
# Allowing overriding of REPOSITORY, a URL that includes suite and component for testing and Enterprise Versions # Allowing overriding of REPOSITORY, a URL that includes suite and component for testing and Enterprise Versions
......
...@@ -246,6 +246,20 @@ for version in "${versions[@]}"; do ...@@ -246,6 +246,20 @@ for version in "${versions[@]}"; do
| jq -r --arg version "${version%-*}" '.major_releases[] | select(.release_id == $version) | [ .release_status ] , [ .release_support_type ] | @tsv')" | jq -r --arg version "${version%-*}" '.major_releases[] | select(.release_id == $version) | [ .release_status ] , [ .release_support_type ] | @tsv')"
releaseStatus=${release[0]:-Unknown} releaseStatus=${release[0]:-Unknown}
supportType=${release[1]:-Unknown} supportType=${release[1]:-Unknown}
if [ "$releaseStatus" == Unknown ]; then
case "$version" in
11.5*)
releaseStatus=Stable
;;
11.6*)
releaseStatus=RC
;;
main*)
releaseStatus=Alpha
;;
esac
supportType="Short Term Support"
fi
update_version update_version
done done
...@@ -115,7 +115,7 @@ ...@@ -115,7 +115,7 @@
"milestone": "11.5", "milestone": "11.5",
"version": "11.5.1", "version": "11.5.1",
"fullVersion": "1:11.5.1+maria~ubu2404", "fullVersion": "1:11.5.1+maria~ubu2404",
"releaseStatus": "RC", "releaseStatus": "Stable",
"supportType": "Short Term Support", "supportType": "Short Term Support",
"base": "ubuntu:noble", "base": "ubuntu:noble",
"arches": [ "arches": [
...@@ -129,6 +129,34 @@ ...@@ -129,6 +129,34 @@
"milestone": "11.5", "milestone": "11.5",
"version": "11.5.1", "version": "11.5.1",
"fullVersion": "11.5.1", "fullVersion": "11.5.1",
"releaseStatus": "Stable",
"supportType": "Short Term Support",
"base": "ubi9",
"arches": [
"amd64",
"arm64v8",
"ppc64le",
"s390x"
]
},
"11.6": {
"milestone": "11.6",
"version": "11.6.0",
"fullVersion": "1:11.6.0+maria~ubu2404",
"releaseStatus": "RC",
"supportType": "Short Term Support",
"base": "ubuntu:noble",
"arches": [
"amd64",
"arm64v8",
"ppc64le",
"s390x"
]
},
"11.6-ubi": {
"milestone": "11.6",
"version": "11.6.0",
"fullVersion": "11.6.0",
"releaseStatus": "RC", "releaseStatus": "RC",
"supportType": "Short Term Support", "supportType": "Short Term Support",
"base": "ubi9", "base": "ubi9",
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment