Open an3l opened 4 years ago
Otto's example for docker: https://jira.mariadb.org/browse/MDEV-22150
# Run Ubuntu Focal container
--
docker run -it ubuntu:focal bash
apt-get update
apt-get install software-properties-common
# Install packages from PPA that currently (2020-04-08) has packages built from branch https://github.com/MariaDB/server/pull/1478
add-apt-repository ppa:mysql-ubuntu/mariadb-10.5
apt-get update
apt-get install mariadb-test
# commands copied from http://buildbot.askmonty.org/buildbot/builders/kvm-deb-bionic-aarch64/builds/3627/steps/mtr/logs/stdio
cd /usr/share/mysql/mysql-test
# no --vardir=/dev/shm/var, fails in docker with "no space on disk" as there is no such device prepared
perl mysql-test-run.pl --verbose-restart --parallel=4 --force --retry=3 --max-save-core=0 --max-save-datadir=1
# or just one test
perl mysql-test-run.pl --verbose-restart --parallel=4 --force --retry=3 --max-save-core=0 --max-save-datadir=1 main.plugin_auth
Centos: Literature: https://mariadb.com/kb/en/yum/ https://mariadb.com/kb/en/mariadb-package-repository-setup-and-usage/ Downloads:
cat /etc/redhat-release => centos 7.7 # but latest on downloads is centos74
wget -m url # get directory
rpm -i file.rpm #install
rpm -e file.rpm #erase
rpm -qpR file.rpm #query,specify package and list requirements for yum/dnf
1)
debhelper
->dh_*
set of tools in sequence to build the package, or usedh(1)
to automate/usr/share/doc/debhelper/examples/rules.tiny
is example of/debian/rules
Literature