summaryrefslogtreecommitdiff
path: root/bootstrap
diff options
context:
space:
mode:
authorAndreas Schneider <asn@samba.org>2019-08-08 08:18:55 +0200
committerAndrew Bartlett <abartlet@samba.org>2019-08-10 19:24:29 +0000
commit5eb4d705396faa5e5de90aaa86f7115b0f005589 (patch)
treec4bd69516a497a19df5ab0e48e8d66486ef6dd52 /bootstrap
parentb81cb04d03d57b8175d862ba48ac476fedf23636 (diff)
downloadsamba-5eb4d705396faa5e5de90aaa86f7115b0f005589.tar.gz
gitlab-ci: Install compat-gnutls34 on CentOS7
Signed-off-by: Andreas Schneider <asn@samba.org> Reviewed-by: Andrew Bartlett <abartlet@samba.org>
Diffstat (limited to 'bootstrap')
-rw-r--r--bootstrap/.gitlab-ci.yml4
-rw-r--r--bootstrap/config.py3
-rwxr-xr-xbootstrap/generated-dists/centos6/bootstrap.sh2
-rwxr-xr-xbootstrap/generated-dists/centos7/bootstrap.sh4
-rw-r--r--bootstrap/generated-dists/centos7/packages.yml2
-rw-r--r--bootstrap/sha1sum.txt2
6 files changed, 13 insertions, 4 deletions
diff --git a/bootstrap/.gitlab-ci.yml b/bootstrap/.gitlab-ci.yml
index 8bec8cc4e20..8254986d2dc 100644
--- a/bootstrap/.gitlab-ci.yml
+++ b/bootstrap/.gitlab-ci.yml
@@ -41,7 +41,7 @@ services:
diff -u bootstrap/sha1sum.txt /tmp/sha1sum-template.txt
# run smoke test with samba-o3
docker run --volume $(pwd):${samba_repo_root} --workdir ${samba_repo_root} ${ci_image_name} \
- /bin/bash -c "sudo chown -R samba:samba ./** && script/autobuild.py samba-o3 --verbose --nocleanup --keeplogs --tail --testbase /tmp/samba-testbase"
+ /bin/bash -c "sudo chown -R samba:samba ./** && export PKG_CONFIG_PATH=/usr/lib64/compat-gnutls34/pkgconfig:/usr/lib64/compat-nettle32/pkgconfig && script/autobuild.py samba-o3 --verbose --nocleanup --keeplogs --tail --testbase /tmp/samba-testbase"
docker tag ${ci_image_name} ${ci_image_path}:${SAMBA_CI_CONTAINER_TAG}
docker tag ${ci_image_name} ${ci_image_path}:${timestamp_tag}
# We build all images, but only upload is it's not marked as broken
@@ -114,6 +114,8 @@ centos7:
variables:
# Shallow copies are not supported by git on CentOS7
GIT_DEPTH: ""
+ # We install a compat-gnutls34 package for GnuTLS >= 3.4.7
+ PKG_CONFIG_PATH: /usr/lib64/compat-gnutls34/pkgconfig:/usr/lib64/compat-nettle32/pkgconfig
centos6:
extends: .build_image_template_force_broken
diff --git a/bootstrap/config.py b/bootstrap/config.py
index 9126961fc93..f4acdf5d925 100644
--- a/bootstrap/config.py
+++ b/bootstrap/config.py
@@ -214,6 +214,8 @@ set -xueo pipefail
yum update -y
yum install -y epel-release
+yum install -y yum-plugin-copr
+yum copr enable -y sergiomb/SambaAD
yum update -y
yum install -y \
@@ -478,6 +480,7 @@ RPM_DISTS = {
'glusterfs-api-devel': '',
'glusterfs-devel': '',
'libcephfs-devel': '',
+ 'gnutls-devel': 'compat-gnutls34-devel',
}
},
'fedora28': {
diff --git a/bootstrap/generated-dists/centos6/bootstrap.sh b/bootstrap/generated-dists/centos6/bootstrap.sh
index 6d60bd2cdc9..441eba7918e 100755
--- a/bootstrap/generated-dists/centos6/bootstrap.sh
+++ b/bootstrap/generated-dists/centos6/bootstrap.sh
@@ -9,6 +9,8 @@ set -xueo pipefail
yum update -y
yum install -y epel-release
+yum install -y yum-plugin-copr
+yum copr enable -y sergiomb/SambaAD
yum update -y
yum install -y \
diff --git a/bootstrap/generated-dists/centos7/bootstrap.sh b/bootstrap/generated-dists/centos7/bootstrap.sh
index b59ef6a5dcf..c74cdd470d0 100755
--- a/bootstrap/generated-dists/centos7/bootstrap.sh
+++ b/bootstrap/generated-dists/centos7/bootstrap.sh
@@ -9,6 +9,8 @@ set -xueo pipefail
yum update -y
yum install -y epel-release
+yum install -y yum-plugin-copr
+yum copr enable -y sergiomb/SambaAD
yum update -y
yum install -y \
@@ -20,6 +22,7 @@ yum install -y \
bind-utils \
binutils \
bison \
+ compat-gnutls34-devel \
cups-devel \
curl \
dbus-devel \
@@ -32,7 +35,6 @@ yum install -y \
git \
glib2-devel \
glibc-common \
- gnutls-devel \
gpgme-devel \
gzip \
hostname \
diff --git a/bootstrap/generated-dists/centos7/packages.yml b/bootstrap/generated-dists/centos7/packages.yml
index 7a106d8dfd5..9623698b9ff 100644
--- a/bootstrap/generated-dists/centos7/packages.yml
+++ b/bootstrap/generated-dists/centos7/packages.yml
@@ -8,6 +8,7 @@ packages:
- bind-utils
- binutils
- bison
+ - compat-gnutls34-devel
- cups-devel
- curl
- dbus-devel
@@ -20,7 +21,6 @@ packages:
- git
- glib2-devel
- glibc-common
- - gnutls-devel
- gpgme-devel
- gzip
- hostname
diff --git a/bootstrap/sha1sum.txt b/bootstrap/sha1sum.txt
index 52cf7350bc0..f4d7219402e 100644
--- a/bootstrap/sha1sum.txt
+++ b/bootstrap/sha1sum.txt
@@ -1 +1 @@
-339a70ba1881feec94109c5c4eafacf4ff6c43bc
+e4c3da88c459ae1a97c1c5e41f52b17d688d295f