This repository was archived by the owner on Jul 2, 2024. It is now read-only.
Releases: jdeathe/centos-ssh-mysql
Releases · jdeathe/centos-ssh-mysql
centos-6-1.7.2
CentOS-6 6.8 x86_64 - MySQL.
Release changes
- Adds Makefile help target with usage instructions.
- Splits up the Makefile targets into internal and public types.
- Adds correct
scmipath in usage instructions. - Changes
PACKAGE_PATHtoDIST_PATHin line with the Makefile environment include. Not currently used byscmibut changing for consistency. - Changes
DOCKER_CONTAINER_PARAMETERS_APPENDtoDOCKER_CONTAINER_OPTSfor usability. This is a potentially breaking change that could affect systemd service configurations if using the Environment variable in a drop-in customisation. However, if using the systemd template unit-files it should be pinned to a specific version tag. The Makefile should only be used for development/testing and usage inscmiis internal only as the--setoptparameter is used to build up the optional container parameters. - Removes X-Fleet section from template unit-file.
Download then load the docker image using:
$ xz -dc centos-ssh-mysql.centos-6-1.7.2.tar.xz | docker load
centos-6-1.7.1
CentOS-6 6.8 x86_64 - MySQL.
Release changes
- Adds scmi and systemd configuration files to image.
- Adds option to disable publishing of 3306 in make/scmi and systemd templates.
- Updated README with some minor corrections and changes for consistency.
- Updates the install/uninstall metadata labels to use the correct path to the scmi script on the image to allow the atomic install/uninstall feature to work as expected.
- Updates README examples to use the 1.7.1 release version.
- Adds new
mysqld-wrapperscript which is more easily maintained than using inline code in the supervisord configuration. - Adds general consistency improvements to the
mysqld-bootstrapscript.
Download then load the docker image using:
$ xz -dc centos-ssh-mysql.centos-6-1.7.1.tar.xz | docker load
centos-6-1.7.0
CentOS-6 6.8 x86_64 - MySQL.
Release changes
- Updates upstream source to 1.7.0 tag.
- Adds
scmiand metadata for atomic install/uninstall usage. - Removes deprecated run.sh and build.sh helper scripts. These have been replaced with the make targets
make(ormake build) andmake install start. - Removes support for and documentation on configuration volumes. These can still be implemented by making use of the
DOCKER_CONTAINER_PARAMETERS_APPENDenvironment variable or using thescmioption--setoptto append additional docker parameters to the default docker create template. - Changes systemd template unit-file environment variable for
DOCKER_IMAGE_PACKAGE_PATHnow defaults to the path/var/opt/scmi/packagesinstead of/var/services-packageshowever this can be reverted back using thescmioption--env='DOCKER_IMAGE_PACKAGE_PATH="/var/services-packages"'if necessary. - Changes the recommended data volume name for mapping to the container path:
/var/lib/mysqlfromvolume-data.mysql.pool-1.1.1tomysql.pool-1.1.1.data-mysql. This makes it easier to sort output ofdocker volume ls.
Download then load the docker image using:
$ xz -dc centos-ssh-mysql.centos-6-1.7.0.tar.xz | docker load
centos-6-1.6.0
CentOS-6 6.8 x86_64 - MySQL.
Release changes
- Updates upstream source image to 1.6.0 tag (i.e. CentOS-6.8).
- Improves readability of Dockerfile.
- Updates Makefile to fix issue running
make distwithout first creating thePACKAGE_PATH, (./packages/jdeathe), directory. - Adds
DOCKER_CONTAINER_PARAMETERS_APPENDto the Makefile create template. - Adds an improvements to the optional etcd register template unit-file used in systemd installations.
- Adds
DOCKER_USERto the systemd template unit-file environment variables and removes the docker username from theDOCKER_IMAGE_NAMEfor consistency.
Deprecation notice
build.shandrun.share to be removed in the next release. They have been replaced withmake allormake build install start- Support for configuration volumes will be removed in the next release. Configuration should now be possible without requirement for a configuration data volume by using the environment variables. If a specific case is required then a data volume can still be used but will not be handled by the installation and/or systemd helper scripts.
- The systemd template unit file
mysql.pool-1.1.1@3306.servicewill be removed in the next release. This has been replaced withmysql.pool-1@.serviceand etcd registration can be enabled with the companion service unit file templatemysql.pool-1.register@.service.
Download then load the docker image using:
$ xz -dc centos-ssh-mysql.centos-6-1.6.0.tar.xz | docker load
centos-6-1.5.0
CentOS-6 6.7 x86_64 - MySQL.
Release changes
- Updates upstream source image to 1.5.3 tag.
- Updates mysql-server package to version 5.1.73-7.el6.
- Changes supervisord configuration and
mysqld-bootstrapscript. - Splits out the docker helper functions used by the
build.shandrun.shscripts. - Changes to start mysqld process after
mysqld-boostrapcompletes successfully. - Adds make files for docker build/run jobs.
- Adds updated systemd unit file template with optional etcd register companion service.
- Adds change to skip networking during
mysql-boostrapinitialisation. - Adds
skip-name-resolveto the default MySQL configuration to mitigate resolver issues causing database authentication failures. - Adds support for multiline initialisation SQL.
- Adds more informative output to logs from
mysql-bootstrap. - Changes the SQL used to generate database,user,grants to be outside of the configuration file.
- Adds
MYSQL_ROOT_PASSWORD_HASHEDto allow for the use of a hashed root password. - Adds
MYSQL_USER_PASSWORD_HASHEDto allow for the use of a hashed user password. - Adds feature to redact password values from log output if operator supplied.
Deprecation notice
build.shandrun.share to be removed in the next release. They have been replaced withmake allormake build install start- Support for configuration volumes will be removed in the next release. Configuration should now be possible without requirement for a configuration data volume by using the environment variables. If a specific case is required then a data volume can still be used but will not be handled by the installation and/or systemd helper scripts.
- The systemd template unit file
mysql.pool-1.1.1@3306.servicewill be removed in the next release. This has been replaced withmysql.pool-1@.serviceand etcd registration can be enabled with the companion service unit file templatemysql.pool-1.register@.service.
Download then load the docker image using:
$ xz -dc centos-ssh-mysql.centos-6-1.5.0.tar.xz | docker load
centos-6-1.4.2
CentOS-6 6.7 x86_64 - MySQL.
- Updates documentation with revised steps on how to implement the optional configuration "data" volume. Also revised for the application data volume.
- Updates the Systemd installation and definition scripts - no longer require the busybox image and made the installation easier to visualise by tailing the unit logs. Removes the necessity to create and populate the configuration data volume directory mount points.
- Removes the
run.shfeature to automatically mount the configuration volume on the docker host using a full path and attempt to populate the directory locally. This was problematic since the path on the Docker host might not exist and the feature to automatically create paths when adding a volume mount is deprecated. Usingdocker cpto upload a directory to the configuration volume is the preferred approach. - Updates
run.confsuch that only values are in the configuration file and addedVOLUME_CONFIG_ENABLEDto allow the "optional" configuration volume to be enabled if required instead of using it by default. Most essential settings can be implemented via the use of environment variables now. Also addes the variableVOLUME_DATA_ENABLEDto allow the optional use of a named data container instead of defining the volume within the running application container. - Addes
VOLUME_CONFIG_NAMEDandVOLUME_DATA_NAMEDtorun.confto allow the operator to use named volumes and, if set totruethe values are is used for thedocker_host_pathsuch that the volume is defined as:-v volume_name:/container_path. The recommended approach is to not define a host path or named volume if using a separate configuration/data container so that Docker manages the naming by only setting the container path:-v /container_path. - Addes new
run.confvariablesDOCKER_HOST_PORT_SSHandDOCKER_HOST_PORT_MYSQLto allow the operator to easily change the values from those set in therun.shhelper script.
Download then load the docker image using:
$ xz -dc centos-ssh-mysql.centos-6-1.4.2.tar.xz | docker load
centos-6-1.4.1
CentOS-6 6.7 x86_64 - MySQL.
- Updates upstream source image to version 1.4.1.
- Adds more consistent syntax across BASH scripts.
- Fixes an issue that prevented the
run.shfrom running correctly. - Addes code comment example for how to use the
run.shscript to run a command in a container at docker run time; This is helpful for debugging containers that don't stay running. - Addes initialisation testing of database access for the
MYSQL_USERuser against theMYSQL_USER_DATABASEdatabase if values are set. - Updates README file with more recent image of the docker logs output.
- Adds examples of how to run the mysql shell and how to import data.
Download then load the docker image using:
$ xz -dc centos-ssh-mysql.centos-6-1.4.1.tar.xz | docker load
centos-6-1.4.0
CentOS-6 6.7 x86_64 - MySQL.
- Updates to CentOS 6.7.
Download then load the docker image using:
$ xz -dc centos-ssh-mysql.centos-6-1.4.0.tar.xz | docker load
centos-6-1.3.1
CentOS-6 6.6 x86_64 - MySQL.
- Updates upstream source image to version 1.3.1.
- Adds delay to allow the custom initialisation SQL to run at startup.
- Adds better verification of completion of the initialisation process in the mysql-bootstrap script.
- Adds feature to allow first-load configuration with environment variables. Now the database name, user and password can be set on first run.
- Updates the docker network helper functions and moves them out of the configuration file.
- Updates the systemd install script to use helper functions + updates the service definition file to use etcd2.
Download then load the docker image using:
$ xz -dc centos-ssh-mysql.centos-6-1.3.1.tar.xz | docker load
centos-6-1.3.0
CentOS-6 6.6 x86_64 - MySQL.
- Change to build from a specified tag instead of branch.
- Change build to use specific package versions, add versionlock package and lock packages.
- Change location of the SSH configuration file to a subdirectory.
- Adds support for running and building on Mac Docker hosts (when using boot2docker).
- Adds a 2 second delay to supervisor's MySQL startup script to allow mysql-bootstrap to run first.
- Adds some improvements to the mysql-bootstrap script.
- Run the initial table installation in the background so the the initialisation SQL can be generated in the foreground.
- Removes the MySQL shutdown since this should not longer be necessary.
- Improves the readability by using heredoc syntax for the multiline text instead of lots of echo calls.
- The permissions on the MySQL data directory are used determine the service users UID/GID this was added for support on Mac hosts with either boot2docker or Kitematic.
- Moves the socket file out of the MySQL data directory.
- Adds some improvements to the run.sh helper script.
- Makes the configuration volume the same for both SSH and non-SSH containers.
- Defines the docker run command once and set up the port requirements for SSH if necessary.
- Fixes an issue with deprecated option warnings in the MySQL configuration.
Download then load the docker image using:
$ xz -dc centos-ssh-mysql.centos-6-1.3.0.tar.xz | docker load