[ARVADOS] updated: 1.3.0-218-g71263c365
Git user
git at public.curoverse.com
Mon Feb 4 12:47:17 EST 2019
Summary of changes:
build/package-build-dockerfiles/centos7/Dockerfile | 6 +++++-
build/package-test-dockerfiles/centos7/Dockerfile | 9 +++++----
doc/admin/upgrading.html.textile.liquid | 4 ++++
sdk/pam/fpm-info.sh | 3 +++
4 files changed, 17 insertions(+), 5 deletions(-)
via 71263c365a5ab3a194d2ee505fb192d8c84e41ae (commit)
from 84b30d024ee757e32af7e05d00bf4324513c388c (commit)
Those revisions listed above that are new to this repository have
not appeared on any other notification email; so we list those
revisions in full, below.
commit 71263c365a5ab3a194d2ee505fb192d8c84e41ae
Author: Ward Vandewege <wvandewege at veritasgenetics.com>
Date: Mon Feb 4 12:41:29 2019 -0500
The libpam-arvados package on Centos7 has a dependency on the python-pam package.
refs #9945
Arvados-DCO-1.1-Signed-off-by: Ward Vandewege <wvandewege at veritasgenetics.com>
diff --git a/build/package-build-dockerfiles/centos7/Dockerfile b/build/package-build-dockerfiles/centos7/Dockerfile
index 9bba1f161..522189a20 100644
--- a/build/package-build-dockerfiles/centos7/Dockerfile
+++ b/build/package-build-dockerfiles/centos7/Dockerfile
@@ -6,7 +6,7 @@ FROM centos:7
MAINTAINER Ward Vandewege <ward at curoverse.com>
# Install dependencies.
-RUN yum -q -y install make automake gcc gcc-c++ libyaml-devel patch readline-devel zlib-devel libffi-devel openssl-devel bzip2 libtool bison sqlite-devel rpm-build git perl-ExtUtils-MakeMaker libattr-devel nss-devel libcurl-devel which tar unzip scl-utils centos-release-scl postgresql-devel python-devel python-setuptools fuse-devel xz-libs git python-virtualenv
+RUN yum -q -y install make automake gcc gcc-c++ libyaml-devel patch readline-devel zlib-devel libffi-devel openssl-devel bzip2 libtool bison sqlite-devel rpm-build git perl-ExtUtils-MakeMaker libattr-devel nss-devel libcurl-devel which tar unzip scl-utils centos-release-scl postgresql-devel python-devel python-setuptools fuse-devel xz-libs git python-virtualenv wget
# Install RVM
ADD generated/mpapis.asc /tmp/
@@ -35,6 +35,10 @@ RUN scl enable rh-python35 "easy_install-3.5 pip" && easy_install-2.7 pip
# Old versions of setuptools cannot build a schema-salad package.
RUN pip install --upgrade setuptools
+# Add epel, we need it for the python-pam dependency
+RUN wget http://dl.fedoraproject.org/pub/epel/epel-release-latest-7.noarch.rpm
+RUN rpm -ivh epel-release-latest-7.noarch.rpm
+
RUN git clone --depth 1 git://git.curoverse.com/arvados.git /tmp/arvados && cd /tmp/arvados/services/api && /usr/local/rvm/bin/rvm-exec default bundle && cd /tmp/arvados/apps/workbench && /usr/local/rvm/bin/rvm-exec default bundle && rm -rf /tmp/arvados
ENV WORKSPACE /arvados
diff --git a/build/package-test-dockerfiles/centos7/Dockerfile b/build/package-test-dockerfiles/centos7/Dockerfile
index 7a0cb9bd5..0bfe80b70 100644
--- a/build/package-test-dockerfiles/centos7/Dockerfile
+++ b/build/package-test-dockerfiles/centos7/Dockerfile
@@ -6,7 +6,7 @@ FROM centos:7
MAINTAINER Ward Vandewege <wvandewege at veritasgenetics.com>
# Install dependencies.
-RUN yum -q -y install scl-utils centos-release-scl which tar
+RUN yum -q -y install scl-utils centos-release-scl which tar wget
# Install RVM
ADD generated/mpapis.asc /tmp/
@@ -17,8 +17,9 @@ RUN touch /var/lib/rpm/* && \
curl -L https://get.rvm.io | bash -s stable && \
/usr/local/rvm/bin/rvm install 2.3 && \
/usr/local/rvm/bin/rvm alias create default ruby-2.3
-# && \
-# /usr/local/rvm/bin/rvm-exec default gem install bundle && \
-# /usr/local/rvm/bin/rvm-exec default gem install cure-fpm --version 1.6.0b
+
+# Add epel, we need it for the python-pam dependency
+RUN wget http://dl.fedoraproject.org/pub/epel/epel-release-latest-7.noarch.rpm
+RUN rpm -ivh epel-release-latest-7.noarch.rpm
COPY localrepo.repo /etc/yum.repos.d/localrepo.repo
diff --git a/doc/admin/upgrading.html.textile.liquid b/doc/admin/upgrading.html.textile.liquid
index fc4ccac5f..f94ecdc87 100644
--- a/doc/admin/upgrading.html.textile.liquid
+++ b/doc/admin/upgrading.html.textile.liquid
@@ -56,6 +56,10 @@ Or alternatively, by updating the shebang line at the start of the script to:
</pre>
</notextile>
+h4. Centos7 package for libpam-arvados depends on the python-pam package, which is available from EPEL
+
+As part of story "#9945":https://dev.arvados.org/issues/9945, it was discovered that the Centos7 package for libpam-arvados was missing a dependency on the python-pam package, which is available from the EPEL repository. The dependency has been added to the libpam-arvados package. This means that going forward, the EPEL repository will need to be enabled to install libpam-arvados on Centos7.
+
h3. v1.3.0 (2018-12-05)
This release includes several database migrations, which will be executed automatically as part of the API server upgrade. On large Arvados installations, these migrations will take a while. We've seen the upgrade take 30 minutes or more on installations with a lot of collections.
diff --git a/sdk/pam/fpm-info.sh b/sdk/pam/fpm-info.sh
index f80febe0b..6c323f5a4 100644
--- a/sdk/pam/fpm-info.sh
+++ b/sdk/pam/fpm-info.sh
@@ -6,6 +6,9 @@ case "$TARGET" in
debian* | ubuntu*)
fpm_depends+=('libpam-python' 'libcurl3-gnutls')
;;
+ centos*)
+ fpm_depends+=('python-pam')
+ ;;
*)
echo >&2 "ERROR: $PACKAGE: pam_python.so dependency unavailable in $TARGET."
return 1
-----------------------------------------------------------------------
hooks/post-receive
--
More information about the arvados-commits
mailing list