869 Commits

Author SHA1 Message Date
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
Daniel Black
05a42334c4 ubi: use ENV MARIADB_VERSION so its easier for CI 2024-07-25 12:55:30 +10:00
Daniel Black
39eeacabec initial incomplete support for main branch 2024-07-22 18:20:14 +10:00
Ian Gilfillan
3b1dd06758 SECURITY.md typo 2024-07-09 09:25:20 +10:00
Daniel Black
4b165bdcdd Revert "ci: mariadb operator incompatible with MariaDB 10.5"
This reverts commit e3e20e14ab7575cae07208c7c4d48de16c98752f.

MariaDB Operator corrected https://github.com/mariadb-operator/mariadb-operator/issues/657
2024-07-03 08:37:35 +10:00
Daniel Black
2611c396fb correct healthcheck.sh under --require-secure-transport
require-secure-transport on the server mandates that tls or
unix socket be used. The healthcheck user doesn't have explict
tls credentials, so would have failed. 11.4+ would have
tls negiotated, except in #594 it was disabled for people that
didn't configure ssl-ca correctly.

To resolve this _process_sql adds an explict --protocol socket
to get around the default configuration of 'protocol=tcp' in
.my-healthcheck.sh. The protocol=tcp was there to catch people
who put `healthcheck.sh --innodb_initialized` to discover it
checked that in the starting phase of the container, without
a tcp connection being available, it still returned true.

We work around this my making a connection test always
occur in the healthcheck.

Remove the protocol=tcp from the generation of .my-healthcheck.cnf
files.

--connect, as a method that requires to test the connection,
we add a mechanims that examines @@skip_networking and considers
that if false, the connection is viable. We made a unix socket
connection to do the test, which is active the same time as tcp
sockets are.

This alternate --connect method would have only worked the
credentials of the healthcheck user where valid. If it isn't
fall back to looking for "Can't connect".

Closes: #596
2024-06-27 12:42:21 +10:00
Daniel Black
366c041cdb @bstract sockets - do not chown 2024-06-27 12:42:06 +10:00
Daniel Black
0de351bfed chowns are non-fatal
There may be cases where specific files are readonly,
like .my-healthcheck.cnf due to filesystem mounts.

So lets make the ownership/permission changes optional.

Closes: #573
2024-06-27 12:42:06 +10:00
Daniel Black
fb46c56626 purge of noble ubuntu user
Some users depend on a groupid of 1000 as empty.

Its not really used by us so lets remove the entire
ubuntu user and the ubuntu group that came with it.

e.g; https://github.com/FREVA-CLINT/freva/pull/204
2024-06-20 18:20:46 +10:00
Daniel Black
aecdf2e613 Rebase templates on the latest version rather than earliest
Correct healthcheck.sh comments.

Few minor errors in later versions corrected.

11.6 upgrade file corrected.

More resiliant to version changes.

Remove mysql/mariadb safe.cnf file that isn't distributed
from Dockerfile.
2024-06-20 18:00:53 +10:00
Daniel Black
6d6407c8d9 10.4 EOL 2024-06-20 16:10:20 +10:00
Daniel Black
e3e20e14ab ci: mariadb operator incompatible with MariaDB 10.5 2024-06-20 16:02:44 +10:00
Daniel Black
1c10627556 UBI default config adjusted by MDEV-34430 (collation) and MDEV-19123 charset 2024-06-20 15:56:09 +10:00
Daniel Black
a8aeff35c6 11.6 ubi 2024-06-11 17:59:14 +10:00
Daniel Black
945c0f2bc9 Merge branch 'master' into next 2024-06-11 17:58:23 +10:00
Daniel Black
11135d071f healthcheck for 11.4+ - skip tls validation
In case of missing ssl-ca like #594
2024-06-11 12:37:24 +10:00
Daniel Black
0aa7324369 test: add tls cert/key/ca from server mysql-test/std_data
Add test for #592
2024-06-11 12:37:24 +10:00