-
Notifications
You must be signed in to change notification settings - Fork 25
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Extend galera artifacts to lunar and mantic #258
Conversation
Please use |
|
This is only affecting trixie (not sure why) and sid (which is handled differently anyway). And we want to avoid such errors. Or the typo in the title of this PR. |
7d837a0
to
a2d13a2
Compare
Answer in above link. Seems trixie is handled like sid in Debian, looking at https://packages.debian.org/trixie/mariadb-server there's no version 13 on the file while released version have debXu1.
I agree. Its a good move if available.
Or the two (just corrected) in the commit message. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Ok, let's use VERSION_ID if available.
That should be the case for all distribution but Debian testing and unstable (respectively Trixie and Sid ATM).
I find it anyway much easier to remember CODENAME on Debian since the Release rhythm is at least 4 times more frequent for Ubuntu.
ci_build_images/debian.Dockerfile
Outdated
@@ -30,8 +30,8 @@ RUN . /etc/os-release; \ | |||
&& if [ "${VERSION_ID}" = "20.04" ]; then apt-get -y install --no-install-recommends g++-10; fi \ | |||
&& if [ "$(arch)" = "x86_64" ]; then ARCH="amd64"; else ARCH=$(arch); fi \ | |||
&& curl -s "https://ci.mariadb.org/galera/mariadb-4.x-latest-gal-${ARCH}-${ID}-$(echo "$VERSION_ID" | sed 's/\.//').sources" >/etc/apt/sources.list.d/galera-4.sources \ | |||
&& if [ "${VERSION_CODENAME}" = lunar ] && [ "$ARCH" = aarch64 ]; then rm /etc/apt/sources.list.d/galera-4.sources; fi \ | |||
&& if [ "${VERSION_CODENAME}" = trixie ] || [ "${VERSION_CODENAME}" = mantic ] || [ "$(getconf LONG_BIT)" = 32 ]; then rm /etc/apt/sources.list.d/galera-4.sources; fi \ | |||
# VERSION_ID=13 once relesed \ |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
typo
Should have been included in MariaDB#221 change
a2d13a2
to
52a4b45
Compare
Should have been included in #221 change
They are in the artifacts buillt on galera.