1
0
mirror of https://github.com/MariaDB/mariadb-docker.git synced 2025-04-19 06:02:18 +03:00

912 Commits

Author SHA1 Message Date
Daniel Black
87a043a031 main -> 12.0 for mariadb-operator 2025-02-27 17:24:00 +11:00
Daniel Black
91ba0cc702 Remove 11.6 -eol 2025-02-14 17:55:09 +11:00
Daniel Black
8534470197 11.7.2 Stable
With a few manual hacks on version.
2025-02-14 17:55:09 +11:00
Daniel Black
2d51039177 11.8.1 2025-02-14 17:55:09 +11:00
Daniel Black
17518aee23 11.8 added 2025-02-13 12:38:09 +11:00
Daniel Black
3bfeae408b 2025 Q1 Maintaince release version bump
10.5.28, 10.6.21, 10.11.11, and 11.4.5 releases
2025-02-06 08:06:18 +11:00
Daniel Black
8bcc1d52b0 ci: mariadb operator - use ubi workflow 2025-02-05 14:53:31 +11:00
Daniel Black
326511ac71 ubi: syntax fix missing ; 2025-02-05 14:52:28 +11:00
Daniel Black
6184a4b8e3 Merge branch 'master' into next 2025-02-05 14:50:37 +11:00
Daniel Black
a20211c3ed 11.6 release status is known 2025-02-05 14:34:46 +11:00
Daniel Black
3718532788 version: remove duplicate 11.4 entry 2025-02-05 14:31:26 +11:00
Daniel Black
0a374b1829 11.2 EOL 2025-02-05 14:31:26 +11:00
Daniel Black
38dfbc5997 MariaDB 2025 Q1 maintence release
For 10.5, 10.6, 10.11 and 11.4
2025-02-05 14:31:26 +11:00
Daniel Black
e7aeffc4d8 ubi: util-linux-core was missing
As highlighted in #630 a healthcheck.sh --mariadbuprade test
will use flock that is provided by util-linux-core on ubi systems.
2025-02-05 14:28:18 +11:00
Daniel Black
a6b360fc45 11.7 release 2024-11-25 09:03:41 +11:00
Daniel Black
59dc031f52 11.8 is development version 2024-11-25 08:47:48 +11:00
Daniel Black
ed58e853e1 temp; update.sh bump to 11.6.2 ahead of downloads api 2024-11-22 08:43:46 +11:00
Daniel Black
292b81d08e Update to 11.6.2 (stable) 2024-11-22 08:43:46 +11:00
Daniel Black
08333b900b Revert "Add 11.5 back temporarly"
This reverts commit 85df6a9f3d781bb94a88d506eca5c3fcc55d8125.
2024-11-22 08:43:46 +11:00
Daniel Black
f9c5ee5a9f Reapply "11.5 EOL"
This reverts commit 48de289b90fdd82166dda66e0fa616b7acce8dac.
2024-11-22 08:43:46 +11:00
Daniel Black
07e42ed9b5 version.json - hack to Stable/STS for 11.5 2024-11-15 09:44:09 +11:00
Daniel Black
58570c6f19 TEMP hack to make supportType/ReleaseStatus=Unknown as stable for 11.5
This is because its removed in download, but we still need to have
latest as 11.5 otherwise users will go back a version.
2024-11-15 09:39:34 +11:00
Daniel Black
85df6a9f3d Add 11.5 back temporarly 2024-11-15 09:30:36 +11:00
Daniel Black
48de289b90 Revert "11.5 EOL"
This reverts commit e4156145dd549a1d100734a13d3db8960fe7905b.
2024-11-15 09:29:01 +11:00
Daniel Black
6425213505 2024Q4 part 1 release 2024-11-05 07:52:12 +11:00
Daniel Black
c1fd2c419f update.sh - handle trailing / in path 2024-11-04 12:50:49 +11:00
Daniel Black
e4156145dd 11.5 EOL 2024-11-04 12:50:49 +11:00
Daniel Black
12c877197f Replication fix - updates for 11.6 2024-11-04 12:50:49 +11:00
Daniel Black
4540d62515 healthcheck.sh add --no-connect option
There is an implicit --connect option in healthcheck
so that a normal use can be sure MariaDB is running
on a tcp socket.

There is a case in /docker-entrypoint-initdb.d where
its desirable to perform healthchecks for components
without a --connect. In this case, use --no-connect
in the healthcheck to avoid an implicit --connect test.
2024-11-04 12:50:49 +11:00
Daniel Black
70d5dbb805 MDEV-34943 Disable replication start on initialization
START REPLIA was issued during initializing which mean that
even before /docker-entrypoint/initdb.d there was initializtion
going on.

Entrypoints that needed data initialzation didn't complete with
this nicely. Also if there wasn't any initialization there
would be little time for the replication to acheive anything
before being shutdown ready for the final start.

Moved --skip-slave-start to the default docker_temp_server_start
implementation.

Technically this is a compaibility break that is likely to be
of significants if:
* /docker-entrypoint/initdb.d contains a script waiting
  for replication to catch up.

The recitifcation to the previous behaviour is:
/docker-entrypoint/initdb.d contains a SQL to START REPLICA.
Recommend also having another script that is:

until healthcheck.sh --replication_io \
                     --replication_sql \
                     --replication_seconds_behind_master=0 \
                     --replication
                     --no-connect;
do
  sleep 1
done

Closes #614
2024-11-04 12:50:49 +11:00
Daniel Black
5141284394 main: 11.7 currently 2024-11-04 12:50:49 +11:00
Daniel Black
e47764f0a3 11.1 EOL 2024-11-04 12:50:49 +11:00
Daniel Black
d8668a590a test: break config file 2024-11-04 12:50:49 +11:00
Daniel Black
376c7ec713 revert b34b76eb883ea262db762517947e2cb2776f112b version fix 2024-11-04 12:50:49 +11:00
Daniel Black
407dfffbf1 partial revert on 0cb4378923cfd862525b12cc86db87e7917a55e3 (releaseStatus hack) 2024-11-04 12:50:49 +11:00
Daniel Black
9824707d74 update.sh - handle trailing / in path 2024-11-04 10:13:20 +11:00
Daniel Black
9e9da8e3ef 11.5 EOL 2024-09-19 16:44:23 +10:00
Daniel Black
e50c40eea0 Replication fix - updates for 11.6 2024-09-19 16:43:28 +10:00
Daniel Black
d5561744cc healthcheck.sh add --no-connect option
There is an implicit --connect option in healthcheck
so that a normal use can be sure MariaDB is running
on a tcp socket.

There is a case in /docker-entrypoint-initdb.d where
its desirable to perform healthchecks for components
without a --connect. In this case, use --no-connect
in the healthcheck to avoid an implicit --connect test.
2024-09-17 17:29:54 +10:00
Daniel Black
5947241c87 MDEV-34943 Disable replication start on initialization
START REPLIA was issued during initializing which mean that
even before /docker-entrypoint/initdb.d there was initializtion
going on.

Entrypoints that needed data initialzation didn't complete with
this nicely. Also if there wasn't any initialization there
would be little time for the replication to acheive anything
before being shutdown ready for the final start.

Moved --skip-slave-start to the default docker_temp_server_start
implementation.

Technically this is a compaibility break that is likely to be
of significants if:
* /docker-entrypoint/initdb.d contains a script waiting
  for replication to catch up.

The recitifcation to the previous behaviour is:
/docker-entrypoint/initdb.d contains a SQL to START REPLICA.
Recommend also having another script that is:

until healthcheck.sh --replication_io \
                     --replication_sql \
                     --replication_seconds_behind_master=0 \
                     --replication
                     --no-connect;
do
  sleep 1
done

Closes #614
2024-09-17 17:29:54 +10:00
Daniel Black
615f812b00 main: 11.7 currently 2024-09-16 17:39:47 +10:00
Daniel Black
afb3ee58c7 11.1 EOL 2024-09-03 15:33:45 +10:00
Daniel Black
97c2acc171 test: break config file 2024-09-03 13:54:31 +10:00
Daniel Black
0d5a14e4e0 Merge branch 'master' into next 2024-09-03 13:01:21 +10:00
Daniel Black
275297af91 Manually hack release status/support status
As API unnormalized.
2024-09-03 12:32:52 +10:00
Daniel Black
e80852449e shellcheck excludes for backticks in single quote 2024-09-03 12:17:54 +10:00
Daniel Black
cea8a6798d Bump default timeout to 15 seconds to start container 2024-09-03 12:17:54 +10:00
Daniel Black
27fdd4260e add test case for healthcheck.sh variants 2024-09-03 12:17:54 +10:00
Daniel Black
ee80a97d5c healthcheck correct connect result
Based on user reports, a `connect` test can observer a non-"Can't
connect" error message.

Because this passes other tests, like innodb_initialized might
succeeded.

The final test -z "$connect_s" is also true, leaving the user
with an incorrect test result.

Maybe the healthcheck cnf hasn't been created yet?

Either way, ruggardise the final test to ensure a healthy connect
test occured.

Narrow down the scope of healthcheck --connect failures
to the mariadb client errors "Can't connect".

May as well look at same @skip-networking system variable
on TCP just in case.

28000 errors, per
https://mariadb.com/kb/en/mariadb-error-code-reference/ are client
errors after a connection, indicating that the start of a tcp
connection occured.

Closes #610
2024-09-03 12:17:54 +10:00
Daniel Black
29f8caccc4 Remove Annoying root user banner
Closes #608
2024-09-02 13:20:45 +10:00