[MDEV-15622] Create Docker Container For Buildbot Created: 2018-03-21  Updated: 2018-10-15  Resolved: 2018-10-15

Status: Closed
Project: MariaDB Server
Component/s: N/A
Fix Version/s: N/A

Type: Task Priority: Major
Reporter: Vicențiu Ciorbaru Assignee: Teodor Mircea Ionita (Inactive)
Resolution: Duplicate Votes: 0
Labels: None

Issue Links:
Relates
relates to MDEV-12508 Use Docker instead of KVM Closed
Sprint: 10.3.6-1

 Comments   
Comment by Daniel Black [ 2018-03-24 ]

Hey cvicentiu not sure what you where planning here however I was thinking of a bunch of Dockerfiles that create distro packages into a VOLUME.

From that you can then use separate docker containers to model disto tests that aren't well suited to MTR. Distro tests like install, upgrade, startup/shutdown, mysqld_multi test, systemd multi-instance tests, source page test, debug package tests, galera cluster tests (using docker-compose).

This will provide an in tree basis for package builds (GPL compliance of binary packages - providing build rules), sysadmin ability to create working binary packages (even Debug packages), developers to be able to test in multiple environments locally without waiting on buildbot (or VMs management), and contributors to test packaging fixes without buildbot or VM management.

Of course these would be quite usable by buildbot too.

WIP (with workarounds to leave the sourcedir as read only - oh debian you are so ugly):
https://github.com/grooverdan/mariadb-server/tree/10.3-dockerfiles

Comment by Vicențiu Ciorbaru [ 2018-03-27 ]

Hi danblack

The idea is to try a KVM replacement, with images that have the packages embedded, however their actual creation process is entirely visible in a Dockerfile. These images can be published to a local (or remote) repository and will be used to guarantee an always identical and clean run. The server sources can be built in docker VOLUMES and shared between images to improve performance.

Separate distro specific tests are also part of the scope, but will be used at a later date. Your input is greatly appreciated and I'll have a look at your dockerfiles for ideas for sure.

Comment by Teodor Mircea Ionita (Inactive) [ 2018-10-15 ]

Duplicate of MDEV-12508.

Generated at Thu Feb 08 08:22:47 UTC 2024 using Jira 8.20.16#820016-sha1:9d11dbea5f4be3d4cc21f03a88dd11d8c8687422.