1
0
mirror of https://github.com/samba-team/samba.git synced 2025-03-23 06:50:21 +03:00

gitlab-ci: Enable building on CentOS7

Signed-off-by: Andreas Schneider <asn@samba.org>
Reviewed-by: Andrew Bartlett <abartlet@samba.org>

Autobuild-User(master): Andrew Bartlett <abartlet@samba.org>
Autobuild-Date(master): Tue May  7 01:45:37 UTC 2019 on sn-devel-184
This commit is contained in:
Andreas Schneider 2019-04-30 08:34:00 +02:00 committed by Andrew Bartlett
parent 86d4836919
commit 1d8c4c64b1
25 changed files with 64 additions and 23 deletions

View File

@ -19,7 +19,7 @@ variables:
# Set this to the contents of bootstrap/sha1sum.txt
# which is generated by bootstrap/template.py --render
#
SAMBA_CI_CONTAINER_TAG: 2be76362af215af6842e884abd5246dd9b50c283
SAMBA_CI_CONTAINER_TAG: 93278680b4e7086c0bec11a58bc3533f9971c08e
# We use the ubuntu1804 image as default as
# it matches what we have on sn-devel-184.
SAMBA_CI_CONTAINER_IMAGE: ubuntu1804
@ -33,6 +33,7 @@ variables:
SAMBA_CI_CONTAINER_IMAGE_debian9: ${SAMBA_CI_CONTAINER_REGISTRY}/samba-ci-debian9:${SAMBA_CI_CONTAINER_TAG}
SAMBA_CI_CONTAINER_IMAGE_opensuse150: ${SAMBA_CI_CONTAINER_REGISTRY}/samba-ci-opensuse150:${SAMBA_CI_CONTAINER_TAG}
SAMBA_CI_CONTAINER_IMAGE_fedora29: ${SAMBA_CI_CONTAINER_REGISTRY}/samba-ci-fedora29:${SAMBA_CI_CONTAINER_TAG}
SAMBA_CI_CONTAINER_IMAGE_centos7: ${SAMBA_CI_CONTAINER_REGISTRY}/samba-ci-centos7:${SAMBA_CI_CONTAINER_TAG}
include:
# The image creation details are specified in a separate file
@ -200,6 +201,13 @@ opensuse150-samba-o3:
extends: .samba-o3-template
image: $SAMBA_CI_CONTAINER_IMAGE_opensuse150
centos7-samba-o3:
extends: .samba-o3-template
image: $SAMBA_CI_CONTAINER_IMAGE_centos7
variables:
# Git on CentOS doesn't support shallow git cloning
GIT_DEPTH: ""
fedora29-samba-o3:
extends: .samba-o3-template
image: $SAMBA_CI_CONTAINER_IMAGE_fedora29

View File

@ -107,7 +107,10 @@ fedora28:
extends: .build_image_template_force_broken
centos7:
extends: .build_image_template_force_broken
extends: .build_image_template
variables:
# Shallow copies are not supported by git on CentOS7
GIT_DEPTH: ""
centos6:
extends: .build_image_template_force_broken

View File

@ -7,11 +7,11 @@
set -xueo pipefail
yum -y -q update
yum -y -q install epel-release
yum -y -q update
yum update -y
yum install -y epel-release
yum update -y
yum -y -q --verbose install \
yum install -y \
"@Development Tools" \
acl \
attr \
@ -87,7 +87,8 @@ yum -y -q --verbose install \
python3-crypto \
python3-dns \
python3-markdown \
python34-devel \
python36 \
python36-devel \
quota-devel \
readline-devel \
redhat-lsb \
@ -104,4 +105,8 @@ yum -y -q --verbose install \
yum-utils \
zlib-devel
yum clean all
yum clean all
if [ ! -f /usr/bin/python3 ]; then
ln -sf /usr/bin/python3.6 /usr/bin/python3
fi

View File

@ -75,7 +75,8 @@ packages:
- python3-crypto
- python3-dns
- python3-markdown
- python34-devel
- python36
- python36-devel
- quota-devel
- readline-devel
- redhat-lsb

View File

@ -7,11 +7,11 @@
set -xueo pipefail
yum -y -q update
yum -y -q install epel-release
yum -y -q update
yum update -y
yum install -y epel-release
yum update -y
yum -y -q --verbose install \
yum install -y \
"@Development Tools" \
acl \
attr \
@ -84,10 +84,11 @@ yum -y -q --verbose install \
python-devel \
python-dns \
python-markdown \
python3-crypto \
python3-dns \
python3-markdown \
python34-devel \
python36 \
python36-crypto \
python36-devel \
python36-dns \
python36-markdown \
quota-devel \
readline-devel \
redhat-lsb \
@ -104,4 +105,8 @@ yum -y -q --verbose install \
yum-utils \
zlib-devel
yum clean all
yum clean all
if [ ! -f /usr/bin/python3 ]; then
ln -sf /usr/bin/python3.6 /usr/bin/python3
fi

View File

@ -72,10 +72,11 @@ packages:
- python-devel
- python-dns
- python-markdown
- python3-crypto
- python3-dns
- python3-markdown
- python34-devel
- python36
- python36-crypto
- python36-devel
- python36-dns
- python36-markdown
- quota-devel
- readline-devel
- redhat-lsb

View File

@ -84,6 +84,7 @@ apt-get -y install \
python-iso8601 \
python-markdown \
python-pexpect \
python3 \
python3-crypto \
python3-dbg \
python3-dev \

View File

@ -73,6 +73,7 @@ packages:
- python-iso8601
- python-markdown
- python-pexpect
- python3
- python3-crypto
- python3-dbg
- python3-dev

View File

@ -87,6 +87,7 @@ apt-get -y install \
python-iso8601 \
python-markdown \
python-pexpect \
python3 \
python3-crypto \
python3-dbg \
python3-dev \

View File

@ -76,6 +76,7 @@ packages:
- python-iso8601
- python-markdown
- python-pexpect
- python3
- python3-crypto
- python3-dbg
- python3-dev

View File

@ -87,6 +87,7 @@ apt-get -y install \
python-iso8601 \
python-markdown \
python-pexpect \
python3 \
python3-crypto \
python3-dbg \
python3-dev \

View File

@ -76,6 +76,7 @@ packages:
- python-iso8601
- python-markdown
- python-pexpect
- python3
- python3-crypto
- python3-dbg
- python3-dev

View File

@ -87,6 +87,7 @@ dnf install -y \
python-dns \
python-markdown \
python2-gpg \
python3 \
python3-crypto \
python3-devel \
python3-dns \

View File

@ -76,6 +76,7 @@ packages:
- python-dns
- python-markdown
- python2-gpg
- python3
- python3-crypto
- python3-devel
- python3-dns

View File

@ -87,6 +87,7 @@ dnf install -y \
python-dns \
python-markdown \
python2-gpg \
python3 \
python3-crypto \
python3-devel \
python3-dns \

View File

@ -76,6 +76,7 @@ packages:
- python-dns
- python-markdown
- python2-gpg
- python3
- python3-crypto
- python3-devel
- python3-dns

View File

@ -84,6 +84,7 @@ zypper --non-interactive install \
python2-dnspython \
python2-gpg \
python2-semanage \
python3 \
python3-Markdown \
python3-devel \
python3-dnspython \

View File

@ -72,6 +72,7 @@ packages:
- python2-dnspython
- python2-gpg
- python2-semanage
- python3
- python3-Markdown
- python3-devel
- python3-dnspython

View File

@ -85,6 +85,7 @@ apt-get -y install \
python-iso8601 \
python-markdown \
python-pexpect \
python3 \
python3-crypto \
python3-dbg \
python3-dev \

View File

@ -74,6 +74,7 @@ packages:
- python-iso8601
- python-markdown
- python-pexpect
- python3
- python3-crypto
- python3-dbg
- python3-dev

View File

@ -86,6 +86,7 @@ apt-get -y install \
python-iso8601 \
python-markdown \
python-pexpect \
python3 \
python3-crypto \
python3-dbg \
python3-dev \

View File

@ -75,6 +75,7 @@ packages:
- python-iso8601
- python-markdown
- python-pexpect
- python3
- python3-crypto
- python3-dbg
- python3-dev

View File

@ -88,6 +88,7 @@ apt-get -y install \
python-iso8601 \
python-markdown \
python-pexpect \
python3 \
python3-crypto \
python3-dbg \
python3-dev \

View File

@ -77,6 +77,7 @@ packages:
- python-iso8601
- python-markdown
- python-pexpect
- python3
- python3-crypto
- python3-dbg
- python3-dev

View File

@ -1 +1 @@
2be76362af215af6842e884abd5246dd9b50c283
93278680b4e7086c0bec11a58bc3533f9971c08e