885 Commits

Author SHA1 Message Date
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
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
Daniel Black
8b9a47d054 fix < 11.5 version number due to prev release hack 2024-08-15 14:29:43 +10:00
Daniel Black
b34b76eb88 Hack 11.5/11.6 latest versions without API 2024-08-15 14:29:43 +10:00
Daniel Black
0cb4378923 Manually hack release status/support status
As API unnormalized.
2024-08-15 14:29:43 +10:00
Daniel Black
c801951f3d Remove out 11.6 vector as the primary version 2024-08-15 14:29:43 +10:00
Daniel Black
c3ab4661cf Ubi - debug - fix installation 2024-08-14 16:42:05 +10:00
Daniel Black
1637a68a19 test: compatibility with MDEV-19949 2024-08-14 13:29:28 +10:00
Daniel Black
b99c24e3ed generate-strackbrew-library - 11.6 coming soon 2024-08-12 10:05:19 +10:00
Daniel Black
598eb2bd89 Revert "Fix update.sh for 11.5 support/release status due to broken downloads API"
This reverts commit d289a87e6ce27969fa0bbb8cba2a7859271a32fa.
2024-08-12 10:04:30 +10:00
Daniel Black
768d6823a5 generate-stackbrew-library.sh dont ignore 11.5 2024-08-12 09:12:31 +10:00
Daniel Black
e730514e27 Fix 11.5 files/scripts 2024-08-12 09:11:59 +10:00
Daniel Black
d289a87e6c Fix update.sh for 11.5 support/release status due to broken downloads API 2024-08-12 09:11:27 +10:00
Daniel Black
fab24e0b32 operator test: contains rather than endsWith 2024-08-10 09:13:39 +10:00
Daniel Black
198bd2efd0 ci: different operator test for ubi 2024-08-10 09:04:00 +10:00
Daniel Black
058bd4ddb4 Revert "quick hack - test 10.* only as 11.* not on mirrors yet"
This reverts commit 90edf6e7ba006ebe1715e01eae4b5990dc4a5430.
2024-08-09 11:16:26 +10:00
Daniel Black
b0070c7201 test case - backup/restore handle docker volume without permissions on ubi 2024-08-09 11:05:33 +10:00
Daniel Black
3bc1f5ef59 test case; handle docker volume without permissions on ubi 2024-08-09 10:12:33 +10:00
Daniel Black
90edf6e7ba quick hack - test 10.* only as 11.* not on mirrors yet 2024-08-09 09:57:25 +10:00
Daniel Black
fb80850635 manually bumped version for <= 11.4 2024-08-09 09:52:24 +10:00
Daniel Black
761ec8e143 update generate-stackbrew-library.sh for 2023q3 part 1 release 2024-08-09 09:33:02 +10:00
Daniel Black
b45425dc13 Merge branch 'next' 2024-08-09 09:18:31 +10:00
Daniel Black
64decf74a7 Containerfiles for making contains with debug info 2024-08-04 10:51:49 +10:00
Daniel Black
58494e28dd ubi: Fix env variable for installation version fixing 2024-08-02 17:52:10 +10:00
Daniel Black
c6f49a502a test: jemalloc test agnositic to default USER 2024-08-02 17:50:31 +10:00
Martin Montes
c52e778360 Specify "mysql" as container user to be compliant with Red Hat container certification 2024-08-02 17:47:52 +10:00
Daniel Black
ffb4f5bd50 TMP: update.sh to use Unknwon for missing release_{support_type,status} 2024-07-25 12:56:12 +10:00