Accepting request 1224850 from devel:BCI:Tumbleweed

🤖: sync package with devel:BCI:Tumbleweed from OBS

OBS-URL: https://build.opensuse.org/request/show/1224850
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/mariadb-client-image?expand=0&rev=27
This commit is contained in:
Ana Guerrero 2024-11-18 19:02:23 +00:00 committed by Git OBS Bridge
commit 936576fc5f
3 changed files with 9 additions and 4 deletions

View File

@ -17,7 +17,7 @@
#!BuildTag: opensuse/mariadb-client:%%mariadb_version%%-%RELEASE%
#!BuildTag: opensuse/mariadb-client:%%mariadb_version%%
#!BuildTag: opensuse/mariadb-client:11.5
#!BuildTag: opensuse/mariadb-client:11.6
#!BuildTag: opensuse/mariadb-client:latest
FROM opensuse/tumbleweed:latest
@ -45,4 +45,4 @@ LABEL org.opensuse.release-stage="released"
LABEL io.artifacthub.package.readme-url="https://raw.githubusercontent.com/SUSE/BCI-dockerfile-generator/Tumbleweed/mariadb-client-image/README.md"
CMD ["mariadb"]
# sanity check that the version from the tag is equal to the version of mariadb-client that we expect
RUN set -euo pipefail; [ "$(rpm -q --qf '%{version}' mariadb-client | cut -d '.' -f -2)" = "11.5" ]
RUN set -euo pipefail; [ "$(rpm -q --qf '%{version}' mariadb-client | cut -d '.' -f -2)" = "11.6" ]

View File

@ -13,13 +13,13 @@ This image contains the [MariaDB client](https://mariadb.com/kb/en/mariadb-comma
To connect to a MariaDB instance, run the following command:
```ShellSession
$ podman run -it --rm registry.opensuse.org/opensuse/mariadb-client:11.5 mariadb -h $HOST_IP -u root -p
$ podman run -it --rm registry.opensuse.org/opensuse/mariadb-client:11.6 mariadb -h $HOST_IP -u root -p
```
Use the command below to dump all databases:
```ShellSession
$ podman run -it --rm registry.opensuse.org/opensuse/mariadb-client:11.5 mariadb-dump $HOST_IP -p --all-databases > my-dump.sql
$ podman run -it --rm registry.opensuse.org/opensuse/mariadb-client:11.6 mariadb-dump $HOST_IP -p --all-databases > my-dump.sql
```
## Utilities

View File

@ -1,3 +1,8 @@
-------------------------------------------------------------------
Mon Nov 18 09:27:58 UTC 2024 - SUSE Update Bot <bci-internal@suse.de>
- update to 11.6 mariadb
-------------------------------------------------------------------
Wed Oct 30 15:34:45 UTC 2024 - SUSE Update Bot <bci-internal@suse.de>