mesos-reviews mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Kapil Arya <ka...@mesosphere.io>
Subject Re: Review Request 62616: Binary packaging for Centos 7.
Date Mon, 30 Oct 2017 17:49:10 GMT

-----------------------------------------------------------
This is an automatically generated e-mail. To reply, visit:
https://reviews.apache.org/r/62616/
-----------------------------------------------------------

(Updated Oct. 30, 2017, 1:49 p.m.)


Review request for mesos, Benno Evers, Till Toenshoff, and Vinod Kone.


Changes
-------

Replaced `slave` with `agent` in helper files.


Bugs: MESOS-7982
    https://issues.apache.org/jira/browse/MESOS-7982


Repository: mesos


Description
-------

Binary packaging for Centos 7.


Diffs (updated)
-----

  support/packaging/Jenkinsfile PRE-CREATION 
  support/packaging/centos/build_rpm.sh PRE-CREATION 
  support/packaging/centos/centos6.dockerfile PRE-CREATION 
  support/packaging/centos/centos7.dockerfile PRE-CREATION 
  support/packaging/centos/mesos.spec PRE-CREATION 
  support/packaging/common/mesos PRE-CREATION 
  support/packaging/common/mesos-init-wrapper PRE-CREATION 
  support/packaging/common/mesos-master PRE-CREATION 
  support/packaging/common/mesos-master.service PRE-CREATION 
  support/packaging/common/mesos-master.upstart PRE-CREATION 
  support/packaging/common/mesos-slave PRE-CREATION 
  support/packaging/common/mesos-slave.service PRE-CREATION 
  support/packaging/common/mesos-slave.upstart PRE-CREATION 


Diff: https://reviews.apache.org/r/62616/diff/4/

Changes: https://reviews.apache.org/r/62616/diff/3-4/


Testing
-------

The scripts have been tested on an internal Jenkins CI. A buildjob on ASF Jenkins CI is available
at https://builds.apache.org/job/Mesos/job/Packaging/job/CentosRPMs/.

Building a package locally:

1. cd <mesos>
2. <Optionally build the docker image locally> (Or use mesos/packaging:centos7). 
   docker build -t mesos-centos7 -f support/packaging/centos/centos7.dockerfile support/packaging/centos
3. mkdir .m2
4. docker run -u `id -u':`id -g` -e MESOS_TAG=1.4.0 -e MESOS_RELEASE=1 -v=/etc/passwd:/etc/passwd
-v=/etc/group:/etc/group -v=`pwd`/.m2:$HOME/.m2:rw,z -v `pwd`:/mesos:rw,z mesos/packaging:centos7
/mesos/support/packaging/centos/build_rpm

RPMs will be placed inside <mesos>/centos7/rpmbuild/RPMs/x86_64 directory.

If `MESOS_TAG` environment variable is not supplied, it builds the package from the local
mesos tree.


Thanks,

Kapil Arya


Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message