Return-Path: X-Original-To: apmail-aurora-reviews-archive@minotaur.apache.org Delivered-To: apmail-aurora-reviews-archive@minotaur.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id D2811184F9 for ; Wed, 5 Aug 2015 01:21:42 +0000 (UTC) Received: (qmail 77805 invoked by uid 500); 5 Aug 2015 01:21:42 -0000 Delivered-To: apmail-aurora-reviews-archive@aurora.apache.org Received: (qmail 77650 invoked by uid 500); 5 Aug 2015 01:21:42 -0000 Mailing-List: contact reviews-help@aurora.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: reviews@aurora.apache.org Delivered-To: mailing list reviews@aurora.apache.org Received: (qmail 77617 invoked by uid 99); 5 Aug 2015 01:21:42 -0000 Received: from reviews-vm.apache.org (HELO reviews.apache.org) (140.211.11.40) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 05 Aug 2015 01:21:42 +0000 Received: from reviews.apache.org (localhost [127.0.0.1]) by reviews.apache.org (Postfix) with ESMTP id A9702D95BB; Wed, 5 Aug 2015 01:21:40 +0000 (UTC) Content-Type: multipart/alternative; boundary="===============8673039230177352805==" MIME-Version: 1.0 Subject: Review Request 37107: Add a tool and environment for building Aurora packages. From: "Bill Farner" To: "Benjamin Staffin" , "Steve Salevan" , "Maxim Khutornenko" Cc: "Bill Farner" , "Aurora" Date: Wed, 05 Aug 2015 01:21:40 -0000 Message-ID: <20150805012140.11538.15545@reviews.apache.org> X-ReviewBoard-URL: https://reviews.apache.org/ Auto-Submitted: auto-generated Sender: "Bill Farner" X-ReviewGroup: Aurora X-Auto-Response-Suppress: DR, RN, OOF, AutoReply X-ReviewRequest-URL: https://reviews.apache.org/r/37107/ X-Sender: "Bill Farner" Reply-To: "Bill Farner" X-ReviewRequest-Repository: aurora-packaging --===============8673039230177352805== MIME-Version: 1.0 Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: 7bit ----------------------------------------------------------- This is an automatically generated e-mail. To reply, visit: https://reviews.apache.org/r/37107/ ----------------------------------------------------------- Review request for Aurora, Benjamin Staffin, Maxim Khutornenko, and Steve Salevan. Bugs: AURORA-1410 https://issues.apache.org/jira/browse/AURORA-1410 Repository: aurora-packaging Description ------- There's definitely more work to be done here, but this is my proposed structure. Noteworthy files/dirs: - `/specs`: package build specifications - `/builder`: build environments and scripts - `/build-artifact.sh`: build tool and definition of the 'contract' that builders must adhere to To make this work, i had to make some changes to the package defs we have: - **deb and rpm**: reverted some post-0.9.0 build target changes, so i could build 0.9.0 packages - **rpm**: removed fetch/build of mesos to produce eggs, using our dists on svn instead **Note** - this is my first time playing with docker, `rpmbuild`, and `dpkg-buildpackage`. Be gentle, but don't hesitate to point out mistakes i'm making! Diffs ----- .gitignore PRE-CREATION build-artifact.sh PRE-CREATION builder/deb/ubuntu-trusty/Dockerfile PRE-CREATION builder/deb/ubuntu-trusty/build.sh PRE-CREATION builder/rpm/centos-7/Dockerfile PRE-CREATION builder/rpm/centos-7/build.sh PRE-CREATION specs/debian/pants.ini specs/debian/rules d9814008e749c5dee3c6b0a7d0d852e123e29987 specs/rpm/Makefile 1833a25f5040efdaf62b2c95c97b027acc09fef8 specs/rpm/aurora.spec 5ec516f0cedaa5a1944c513d6303f4ce58d0bcd2 Diff: https://reviews.apache.org/r/37107/diff/ Testing ------- Successfully ran: ``` ./build-artifact.sh builder/deb/ubuntu-trusty ~/Downloads/apache-aurora-0.9.0.tar.gz ./build-artifact.sh builder/rpm/centos-7 ~/Downloads/apache-aurora-0.9.0.tar.gz ``` I have no idea if the rpms or debs produced _work_, but they are created. I will follow up after actually trying to use them. Thanks, Bill Farner --===============8673039230177352805==--