-
Notifications
You must be signed in to change notification settings - Fork 807
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
Update docker support for s390x #466
base: master
Are you sure you want to change the base?
Conversation
a336060
to
eaf3e74
Compare
install.sh
Outdated
sles) | ||
if [ "$(uname -m)" != "s390x" ]; then |
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.
Could we also print some message with an explanation?
Is it okay to drop support for installing versions that were already released for SLES?
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.
Is it okay to drop support for installing versions that were already released for SLES?
Yes we can drop support.
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.
Could we still print an error here saying that SLES packages are no longer supported?
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.
Sorry, I missed this PR!
Curious; is the plan to drop immediately, or with the next major release (docker v28)? Wondering if that would be an option, so that it can be more clearly communicated that "starting with v28, SLES on s390x is no longer supported" (or something along those lines).
Could we still print an error here saying that SLES packages are no longer supported?
Yeah, probably could use a message added here;
Lines 469 to 492 in 24f7a31
# Print deprecation warnings for distro versions that recently reached EOL, | |
# but may still be commonly used (especially LTS versions). | |
case "$lsb_dist.$dist_version" in | |
centos.8|centos.7|rhel.7) | |
deprecation_notice "$lsb_dist" "$dist_version" | |
;; | |
debian.buster|debian.stretch|debian.jessie) | |
deprecation_notice "$lsb_dist" "$dist_version" | |
;; | |
raspbian.buster|raspbian.stretch|raspbian.jessie) | |
deprecation_notice "$lsb_dist" "$dist_version" | |
;; | |
ubuntu.bionic|ubuntu.xenial|ubuntu.trusty) | |
deprecation_notice "$lsb_dist" "$dist_version" | |
;; | |
ubuntu.mantic|ubuntu.lunar|ubuntu.kinetic|ubuntu.impish|ubuntu.hirsute|ubuntu.groovy|ubuntu.eoan|ubuntu.disco|ubuntu.cosmic) | |
deprecation_notice "$lsb_dist" "$dist_version" | |
;; | |
fedora.*) | |
if [ "$dist_version" -lt 40 ]; then | |
deprecation_notice "$lsb_dist" "$dist_version" | |
fi | |
;; | |
esac |
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.
We plan to drop support immediately. When the installation is tried on SLES and RHEL (for s390x), we can add a note rather than a deprecation notice. The note will mention "Effective v27.5, please consult SLES distro statement for s390x support."
fccc405
to
8e97651
Compare
) | ||
echo_docker_as_nonroot | ||
exit 0 | ||
echo "Effective v27.5, please consult SLES distro statement for s390x support." |
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.
Shouldn't this still allow to install versions prior to v27.5?
Currently it will error out even if the script is called with VERSION=v27.4.1
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.
Yes, we don't want to allow users to install versions before v27.5
8e97651
to
a59be53
Compare
Signed-off-by: Prabhav Thali <[email protected]>
a59be53
to
4cccc20
Compare
- What I did
- How I did it
- How to verify it
- Description for the changelog
- A picture of a cute animal (not mandatory but encouraged)