forked from MariaDB/buildbot
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Rollback pull/509 for ECO - needed in master-docker-nonstandard
- Loading branch information
1 parent
bd2d5f7
commit 16e5dd8
Showing
67 changed files
with
3,200 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,52 @@ | ||
# | ||
# Builbot worker for building MariaDB | ||
# | ||
# Provides a base CentOS image with latest buildbot worker installed | ||
# and MariaDB build dependencies | ||
|
||
FROM centos:7 | ||
LABEL maintainer="MariaDB Buildbot maintainers" | ||
|
||
RUN sed '33s,baseurl=http://vault.centos.org/altarch/$releasever/extras/Source/,baseurl=http://mirror.centos.org/altarch/$releasever/extras/aarch64,g' -i /etc/yum.repos.d/CentOS-Sources.repo | ||
|
||
# Install updates and required packages | ||
RUN yum -y --enablerepo=extras install epel-release && \ | ||
yum -y upgrade && \ | ||
yum -y groupinstall 'Development Tools' && \ | ||
yum -y install git ccache subversion \ | ||
python3-devel libffi-devel openssl-devel \ | ||
python3-pip redhat-rpm-config curl wget && \ | ||
# install MariaDB dependencies | ||
yum-builddep -y mariadb-server | ||
|
||
# Create buildbot user | ||
RUN useradd -ms /bin/bash buildbot && \ | ||
mkdir /buildbot && \ | ||
chown -R buildbot /buildbot && \ | ||
curl -o /buildbot/buildbot.tac https://raw.githubusercontent.com/MariaDB/mariadb.org-tools/master/buildbot.mariadb.org/dockerfiles/buildbot.tac | ||
WORKDIR /buildbot | ||
|
||
# upgrade pip and install buildbot | ||
RUN pip3 install -U pip virtualenv && \ | ||
pip3 install --upgrade setuptools && \ | ||
pip3 install buildbot-worker && \ | ||
pip3 --no-cache-dir install 'twisted[tls]' | ||
|
||
# Test runs produce a great quantity of dead grandchild processes. In a | ||
# non-docker environment, these are automatically reaped by init (process 1), | ||
# so we need to simulate that here. See https://github.com/Yelp/dumb-init | ||
RUN curl -Lo /tmp/dumb.rpm https://cbs.centos.org/kojifiles/packages/dumb-init/1.1.3/17.el7/aarch64/dumb-init-1.1.3-17.el7.aarch64.rpm && yum -y localinstall /tmp/dumb.rpm | ||
|
||
RUN yum -y install cmake3 | ||
|
||
RUN alternatives --install /usr/local/bin/cmake cmake /usr/bin/cmake3 20 \ | ||
--slave /usr/local/bin/ctest ctest /usr/bin/ctest3 \ | ||
--slave /usr/local/bin/cpack cpack /usr/bin/cpack3 \ | ||
--slave /usr/local/bin/ccmake ccmake /usr/bin/ccmake3 \ | ||
--family cmake | ||
|
||
RUN yum -y install cracklib cracklib-dicts cracklib-devel boost-devel curl-devel libxml2-devel lz4-devel snappy-devel check-devel scons | ||
RUN yum -y install gnutls-devel systemd-devel | ||
RUN yum -y install Judy-devel binutils bison boost-devel checkpolicy coreutils cracklib-devel gcc gcc-c++ git glibc-common glibc-devel groff-base java-1.8.0-openjdk-devel java-1.8.0-openjdk java-1.8.0-openjdk-headless krb5-devel libaio-devel libcurl-devel libevent-devel libxml2 libxml2-devel libzstd-devel make ncurses-devel openssl-devel pam-devel pcre2-devel pkgconfig policycoreutils-python readline-devel ruby snappy-devel systemd-devel systemtap-sdt-devel tar unixODBC unixODBC-devel xz-devel zlib-devel lz4-devel which | ||
USER buildbot | ||
CMD ["dumb-init", "twistd", "--pidfile=", "-ny", "buildbot.tac"] |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
FROM quay.io/mariadb-foundation/bb-worker:debian10 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,52 @@ | ||
# | ||
# Builbot worker for building MariaDB | ||
# | ||
# Provides a base Debian image with latest buildbot worker installed | ||
# and MariaDB build dependencies | ||
|
||
FROM debian:10 | ||
LABEL maintainer="MariaDB Buildbot maintainers" | ||
|
||
# This will make apt-get install without question | ||
ARG DEBIAN_FRONTEND=noninteractive | ||
|
||
# Enable apt sources | ||
RUN cat /etc/apt/sources.list | sed 's/^deb /deb-src /g' >> /etc/apt/sources.list | ||
|
||
# Install updates and required packages | ||
RUN apt-get update && \ | ||
apt-get -y upgrade && \ | ||
apt-get -y build-dep -q mariadb-server && \ | ||
apt-get -y install -q \ | ||
apt-utils build-essential python-dev sudo git \ | ||
devscripts equivs libcurl4-openssl-dev \ | ||
ccache python3 python3-pip curl wget libssl-dev libzstd-dev \ | ||
libevent-dev dpatch gawk gdb libboost-dev libcrack2-dev \ | ||
libjudy-dev libnuma-dev libsnappy-dev libxml2-dev \ | ||
unixodbc-dev uuid-dev fakeroot iputils-ping dh-exec libpcre2-dev \ | ||
libarchive-dev libedit-dev liblz4-dev dh-systemd | ||
|
||
# Create buildbot user | ||
RUN useradd -ms /bin/bash buildbot && \ | ||
mkdir /buildbot && \ | ||
chown -R buildbot /buildbot && \ | ||
curl -o /buildbot/buildbot.tac https://raw.githubusercontent.com/MariaDB/mariadb.org-tools/master/buildbot.mariadb.org/dockerfiles/buildbot.tac | ||
WORKDIR /buildbot | ||
|
||
# autobake-deb will need sudo rights | ||
RUN usermod -a -G sudo buildbot | ||
RUN echo '%sudo ALL=(ALL) NOPASSWD:ALL' >> /etc/sudoers | ||
|
||
# Upgrade pip and install packages | ||
RUN pip3 install -U pip virtualenv | ||
RUN pip3 install buildbot-worker && \ | ||
pip3 --no-cache-dir install 'twisted[tls]' | ||
|
||
# Test runs produce a great quantity of dead grandchild processes. In a | ||
# non-docker environment, these are automatically reaped by init (process 1), | ||
# so we need to simulate that here. See https://github.com/Yelp/dumb-init | ||
RUN apt-get -y install dumb-init | ||
RUN apt-get -y install debhelper libbz2-dev liblzma-dev liblzo2-dev libboost-all-dev check scons libboost-program-options-dev | ||
|
||
USER buildbot | ||
CMD ["/usr/bin/dumb-init", "twistd", "--pidfile=", "-ny", "buildbot.tac"] |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,52 @@ | ||
# | ||
# Buildbot worker for building MariaDB | ||
# | ||
# Provides a base Debian image with latest buildbot worker installed | ||
# and MariaDB build dependencies | ||
|
||
FROM debian:bullseye | ||
LABEL maintainer="MariaDB Buildbot maintainers" | ||
|
||
# This will make apt-get install without question | ||
ARG DEBIAN_FRONTEND=noninteractive | ||
|
||
# Enable apt sources | ||
RUN cat /etc/apt/sources.list | sed 's/^deb /deb-src /g' >> /etc/apt/sources.list | ||
|
||
# Install updates and required packages | ||
RUN apt-get update && \ | ||
apt-get -y upgrade && \ | ||
apt-get -y build-dep -q mariadb-server && \ | ||
apt-get -y install -q \ | ||
apt-utils build-essential python-dev sudo git \ | ||
devscripts equivs libcurl4-openssl-dev \ | ||
ccache python3 python3-pip curl wget libssl-dev libzstd-dev \ | ||
libevent-dev dpatch gawk gdb libboost-dev libcrack2-dev \ | ||
libjudy-dev libnuma-dev libsnappy-dev libxml2-dev \ | ||
unixodbc-dev uuid-dev fakeroot iputils-ping dh-exec libpcre2-dev \ | ||
libarchive-dev libedit-dev liblz4-dev liburing-dev | ||
|
||
# Create buildbot user | ||
RUN useradd -ms /bin/bash buildbot && \ | ||
mkdir /buildbot && \ | ||
chown -R buildbot /buildbot && \ | ||
curl -o /buildbot/buildbot.tac https://raw.githubusercontent.com/MariaDB/mariadb.org-tools/master/buildbot.mariadb.org/dockerfiles/buildbot.tac | ||
WORKDIR /buildbot | ||
|
||
# autobake-deb will need sudo rights | ||
RUN usermod -a -G sudo buildbot | ||
RUN echo '%sudo ALL=(ALL) NOPASSWD:ALL' >> /etc/sudoers | ||
|
||
# Upgrade pip and install packages | ||
RUN pip3 install -U pip virtualenv | ||
RUN pip3 install buildbot-worker && \ | ||
pip3 --no-cache-dir install 'twisted[tls]' | ||
|
||
# Test runs produce a great quantity of dead grandchild processes. In a | ||
# non-docker environment, these are automatically reaped by init (process 1), | ||
# so we need to simulate that here. See https://github.com/Yelp/dumb-init | ||
RUN apt-get -y install dumb-init | ||
RUN apt-get -y install debhelper libbz2-dev liblzma-dev liblzo2-dev libboost-all-dev check scons libboost-program-options-dev liburing-dev libpmem-dev | ||
RUN apt-get update && apt-get -y install flex | ||
USER buildbot | ||
CMD ["/usr/bin/dumb-init", "twistd", "--pidfile=", "-ny", "buildbot.tac"] |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
FROM quay.io/mariadb-foundation/bb-worker:debian9 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,55 @@ | ||
# Buildbot worker for building MariaDB | ||
# | ||
# Provides a base Debian image with latest buildbot worker installed | ||
# and MariaDB build dependencies | ||
|
||
FROM debian:9 | ||
LABEL maintainer="MariaDB Buildbot maintainers" | ||
|
||
# This will make apt-get install without question | ||
ARG DEBIAN_FRONTEND=noninteractive | ||
|
||
# Enable apt sources | ||
RUN cat /etc/apt/sources.list | sed 's/^deb /deb-src /g' >> /etc/apt/sources.list | ||
|
||
# Install updates and required packages | ||
RUN apt-get update && \ | ||
apt-get -y upgrade && \ | ||
apt-get -y build-dep -q mariadb-server && \ | ||
apt-get -y install -q \ | ||
apt-utils build-essential python-dev sudo git \ | ||
devscripts equivs libcurl4-openssl-dev \ | ||
ccache python3 python3-pip curl wget libssl-dev libzstd-dev \ | ||
libevent-dev dpatch gawk gdb libboost-dev libcrack2-dev \ | ||
libjudy-dev libnuma-dev libsnappy-dev libxml2-dev \ | ||
unixodbc-dev uuid-dev fakeroot iputils-ping dh-exec libpcre2-dev \ | ||
libarchive-dev libedit-dev liblz4-dev dh-systemd libffi-dev | ||
|
||
# Create buildbot user | ||
RUN useradd -ms /bin/bash buildbot && \ | ||
mkdir /buildbot && \ | ||
chown -R buildbot /buildbot && \ | ||
curl -o /buildbot/buildbot.tac https://raw.githubusercontent.com/MariaDB/mariadb.org-tools/master/buildbot.mariadb.org/dockerfiles/buildbot.tac | ||
WORKDIR /buildbot | ||
|
||
# autobake-deb will need sudo rights | ||
RUN usermod -a -G sudo buildbot | ||
RUN echo '%sudo ALL=(ALL) NOPASSWD:ALL' >> /etc/sudoers | ||
|
||
# Upgrade pip and install packages | ||
RUN pip3 install incremental | ||
RUN pip3 install -U pip virtualenv | ||
RUN pip3 install buildbot-worker && \ | ||
pip3 --no-cache-dir install 'twisted[tls]==19.2.1' | ||
|
||
# Test runs produce a great quantity of dead grandchild processes. In a | ||
# non-docker environment, these are automatically reaped by init (process 1), | ||
# so we need to simulate that here. See https://github.com/Yelp/dumb-init | ||
RUN apt-get -y install dumb-init | ||
|
||
RUN apt-get -y install gnutls-dev | ||
RUN apt-get -y install debhelper libbz2-dev liblzma-dev liblzo2-dev libboost-all-dev check scons libboost-program-options-dev | ||
RUN apt-get update && apt-get install -y flex | ||
|
||
USER buildbot | ||
CMD ["/usr/bin/dumb-init", "twistd", "--pidfile=", "-ny", "buildbot.tac"] |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,55 @@ | ||
# | ||
# Buildbot worker for building MariaDB | ||
# | ||
# Provides a base Debian image with latest buildbot worker installed | ||
# and MariaDB build dependencies | ||
|
||
FROM debian:sid | ||
LABEL maintainer="MariaDB Buildbot maintainers" | ||
|
||
# This will make apt-get install without question | ||
ARG DEBIAN_FRONTEND=noninteractive | ||
|
||
# Enable apt sources | ||
RUN cat /etc/apt/sources.list | sed 's/^deb /deb-src /g' >> /etc/apt/sources.list | ||
|
||
# Install updates and required packages | ||
RUN apt-get update && \ | ||
apt-get -y upgrade && \ | ||
apt-get -y build-dep -q mariadb-server && \ | ||
apt-get -y install -q \ | ||
apt-utils build-essential python-dev sudo git \ | ||
devscripts equivs libcurl4-openssl-dev \ | ||
ccache python3 python3-pip curl wget libssl-dev libzstd-dev \ | ||
libevent-dev dpatch gawk gdb libboost-dev libcrack2-dev \ | ||
libjudy-dev libnuma-dev libsnappy-dev libxml2-dev \ | ||
unixodbc-dev uuid-dev fakeroot iputils-ping dh-exec libpcre2-dev \ | ||
libarchive-dev libedit-dev liblz4-dev dh-systemd libffi-dev \ | ||
liburing-dev | ||
|
||
# Create buildbot user | ||
RUN useradd -ms /bin/bash buildbot && \ | ||
mkdir /buildbot && \ | ||
chown -R buildbot /buildbot && \ | ||
curl -o /buildbot/buildbot.tac https://raw.githubusercontent.com/MariaDB/mariadb.org-tools/master/buildbot.mariadb.org/dockerfiles/buildbot.tac | ||
WORKDIR /buildbot | ||
|
||
# autobake-deb will need sudo rights | ||
RUN usermod -a -G sudo buildbot | ||
RUN echo '%sudo ALL=(ALL) NOPASSWD:ALL' >> /etc/sudoers | ||
|
||
# Upgrade pip and install packages | ||
RUN pip3 install -U pip virtualenv | ||
RUN pip3 install buildbot-worker && \ | ||
pip3 --no-cache-dir install 'twisted[tls]' | ||
|
||
# Test runs produce a great quantity of dead grandchild processes. In a | ||
# non-docker environment, these are automatically reaped by init (process 1), | ||
# so we need to simulate that here. See https://github.com/Yelp/dumb-init | ||
RUN apt-get -y install dumb-init | ||
RUN apt-get update && apt-get -y install debhelper libbz2-dev liblzma-dev liblzo2-dev libasio-dev libboost-all-dev check scons libboost-program-options-dev | ||
RUN apt-get install -y liburing-dev libpmem-dev | ||
RUN apt-get update && apt-get -y install flex | ||
|
||
USER buildbot | ||
CMD ["/usr/bin/dumb-init", "twistd", "--pidfile=", "-ny", "buildbot.tac"] |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,42 @@ | ||
# Buildbot worker for building MariaDB | ||
# | ||
# Provides a base Fedora image with latest buildbot worker installed | ||
# and MariaDB build dependencies | ||
|
||
FROM fedora:33 | ||
LABEL maintainer="MariaDB Buildbot maintainers" | ||
|
||
# Install updates and required packages | ||
RUN dnf -y upgrade && \ | ||
dnf -y install @development-tools git wget ccache \ | ||
subversion python-devel libffi-devel \ | ||
openssl-devel python-pip redhat-rpm-config \ | ||
dnf-plugins-core rpm-build liburing-devel && \ | ||
# install MariaDB dependencies | ||
dnf -y builddep mariadb-server | ||
|
||
# Create buildbot user | ||
RUN useradd -ms /bin/bash buildbot && \ | ||
mkdir /buildbot && \ | ||
chown -R buildbot /buildbot && \ | ||
curl -o /buildbot/buildbot.tac https://raw.githubusercontent.com/MariaDB/mariadb.org-tools/master/buildbot.mariadb.org/dockerfiles/buildbot.tac | ||
WORKDIR /buildbot | ||
|
||
# upgrade pip and install buildbot | ||
# easy_install pip && \ | ||
# pip install -U pip virtualenv && \ | ||
# pip install --upgrade setuptools && \ | ||
RUN pip install buildbot-worker && \ | ||
pip --no-cache-dir install 'twisted[tls]' | ||
|
||
# Test runs produce a great quantity of dead grandchild processes. In a | ||
# non-docker environment, these are automatically reaped by init (process 1), | ||
# so we need to simulate that here. See https://github.com/Yelp/dumb-init | ||
RUN curl -Lo /tmp/dumb.rpm http://rpmfind.net/linux/fedora/linux/releases/32/Everything/aarch64/os/Packages/d/dumb-init-1.2.2-6.fc32.aarch64.rpm && dnf -y localinstall /tmp/dumb.rpm | ||
|
||
RUN dnf -y install cracklib cracklib-dicts cracklib-devel boost-devel curl-devel libxml2-devel lz4-devel snappy-devel check-devel scons | ||
RUN dnf -y install Judy-devel binutils bison boost-devel checkpolicy coreutils cracklib-devel flex gawk gcc gcc-c++ git-core glibc-common glibc-devel groff-base java-latest-openjdk-devel java-latest-openjdk java-latest-openjdk-headless krb5-devel libaio-devel libcurl-devel libedit-devel libevent-devel libxcrypt-devel libxml2 libxml2-devel libzstd-devel lz4-devel make ncurses-devel openssl-devel pam-devel pcre2-devel pkgconf-pkg-config policycoreutils readline-devel rubypick snappy-devel systemd-devel systemtap-sdt-devel tar unixODBC unixODBC-devel xz-devel zlib-devel which python | ||
RUN dnf -y install liburing-devel gdb bzip2 lzo bzip2-libs bzip2-devel lzo-devel | ||
|
||
USER buildbot | ||
CMD ["dumb-init", "twistd", "--pidfile=", "-ny", "buildbot.tac"] |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,42 @@ | ||
# Buildbot worker for building MariaDB | ||
# | ||
# Provides a base Fedora image with latest buildbot worker installed | ||
# and MariaDB build dependencies | ||
|
||
FROM fedora:34 | ||
LABEL maintainer="MariaDB Buildbot maintainers" | ||
|
||
# Install updates and required packages | ||
RUN dnf -y upgrade && \ | ||
dnf -y install @development-tools git wget ccache \ | ||
subversion python-devel libffi-devel \ | ||
openssl-devel python-pip redhat-rpm-config \ | ||
dnf-plugins-core rpm-build liburing-devel && \ | ||
# install MariaDB dependencies | ||
dnf -y builddep mariadb-server | ||
|
||
# Create buildbot user | ||
RUN useradd -ms /bin/bash buildbot && \ | ||
mkdir /buildbot && \ | ||
chown -R buildbot /buildbot && \ | ||
curl -o /buildbot/buildbot.tac https://raw.githubusercontent.com/MariaDB/mariadb.org-tools/master/buildbot.mariadb.org/dockerfiles/buildbot.tac | ||
WORKDIR /buildbot | ||
|
||
# upgrade pip and install buildbot | ||
# easy_install pip && \ | ||
# pip install -U pip virtualenv && \ | ||
# pip install --upgrade setuptools && \ | ||
RUN pip install buildbot-worker && \ | ||
pip --no-cache-dir install 'twisted[tls]' | ||
|
||
# Test runs produce a great quantity of dead grandchild processes. In a | ||
# non-docker environment, these are automatically reaped by init (process 1), | ||
# so we need to simulate that here. See https://github.com/Yelp/dumb-init | ||
RUN curl -Lo /tmp/dumb.rpm http://rpmfind.net/linux/fedora/linux/releases/32/Everything/aarch64/os/Packages/d/dumb-init-1.2.2-6.fc32.aarch64.rpm && dnf -y localinstall /tmp/dumb.rpm | ||
|
||
RUN dnf -y install cracklib cracklib-dicts cracklib-devel boost-devel curl-devel libxml2-devel lz4-devel snappy-devel check-devel scons | ||
RUN dnf -y install Judy-devel binutils bison boost-devel checkpolicy coreutils cracklib-devel flex gawk gcc gcc-c++ git-core glibc-common glibc-devel groff-base java-latest-openjdk-devel java-latest-openjdk java-latest-openjdk-headless krb5-devel libaio-devel libcurl-devel libedit-devel libevent-devel libxcrypt-devel libxml2 libxml2-devel libzstd-devel lz4-devel make ncurses-devel openssl-devel pam-devel pcre2-devel pkgconf-pkg-config policycoreutils readline-devel rubypick snappy-devel systemd-devel systemtap-sdt-devel tar unixODBC unixODBC-devel xz-devel zlib-devel which python | ||
RUN dnf -y install liburing-devel gdb bzip2 lzo bzip2-libs bzip2-devel lzo-devel | ||
|
||
USER buildbot | ||
CMD ["dumb-init", "twistd", "--pidfile=", "-ny", "buildbot.tac"] |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,3 @@ | ||
FROM vladbogo/sles:rhel-7-aarch64 | ||
LABEL maintainer="MariaDB Buildbot maintainers" | ||
|
Oops, something went wrong.