Skip to content
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

Release 11.4.2 /11.5.1 #589

Merged
merged 53 commits into from
May 30, 2024
Merged

Release 11.4.2 /11.5.1 #589

merged 53 commits into from
May 30, 2024

Conversation

grooverdan
Copy link
Member

No description provided.

grooverdan and others added 30 commits May 20, 2024 13:55
Need to resolve pmem dependencies in Dockerfile and complete the
container build.

update.sh mostly done.

generate-stackbrew not done.
This is a minor API change when using UBI based container images.
Have same host-cache-size and skip-name-resolve settings as Ubuntu base images.

Also use a socket location that is outside of the datadir which was the default for RPM distos and not Deb distros.
curl was in ubi9 base image and wget wasn't so use that. We use --location to follow the github redirect.

Copy the verification step of gosu from Ubuntu base image.

Best practices - consolidate common things so layers common to multiple images
can occur.

For compatibility with previous image install:
* jemalloc (epel)
* pwgen (epel) - secure passwords

Liburing from AlmaLinux (messy - requested UBI inclusion https://issues.redhat.com/browse/RHEL-36705)
This facilitates and upgrade from mysql container where that is the uid used.
key for EPEL rpm to verify added.

ARG/ENV for MARIADB_VERSION required for upgrade MARIADB_AUTO_UPGRADE.

Remove pmem deps as they are now gone from RHEL9 releases.

Trim down dependency list.

Unfortunately boost-program-options still needed by galera even though only used for garb.

procps-ng added for ps dependency in galera sst scripts.

Add galera library symlink so will work with same configuration as Ubuntu base.

Add healthcheck.sh script, same as others.

Use mariadbd as command as we don't need to backwards compat anything.
Added thanks to Red Hat - RHEL-38361
Precreate /var/lib/mysql/mysql as this is what support-files/rpm/server-postin.sh
in the server uses to determine if MariaDB is installed or not. Fake it,
its the entrypoint's responsibility to create datadirectories.

Also remove /var/run/mysql handling, its part of packaging.
grooverdan and others added 23 commits May 24, 2024 17:49
/run/mariadb should be able to be written by any user in
an unpriv mode, but that socket written there shouldn't be
deletable by anyone, so sticky bit restricts this to the creating
user.

Align comments around galera and clarify that its the deb/rpm
packaging differences that result in different locations.
Also link to gosu license, by name at least.

Test name: HasLicenses from Red Hat OpenShift Software Certification Policy Guide
This looks a bit outdates compared to the OCI standard, but its
still part of OpenShift certification.

The release gets populated with the Docker Official Images build.
For the moment hard code it, but using docker manifest inspect is almost
there if something more automated is required.
ignore to top of file as its frequently edited near release
All changes needed to make a set of tags for ubi
@grooverdan grooverdan merged commit bd76785 into master May 30, 2024
11 of 14 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

Successfully merging this pull request may close these issues.

3 participants