an3l / my_playground

My playground with python, nginx, docker and server!
0 stars 0 forks source link

Packaging in debian - general #14

Open an3l opened 4 years ago

an3l commented 4 years ago

1) debhelper -> dh_* set of tools in sequence to build the package, or use dh(1) to automate

an3l commented 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
an3l commented 4 years ago

Centos: Literature: https://mariadb.com/kb/en/yum/ https://mariadb.com/kb/en/mariadb-package-repository-setup-and-usage/ Downloads: