Page MenuHomePhabricator

Add RHEL/Centos 6 init and rpm spec file
AbandonedPublic

Authored by vinzent on Sep 17 2014, 9:06 PM.
Tags
None
Referenced Files
Unknown Object (File)
Sun, Dec 15, 6:32 AM
Unknown Object (File)
Wed, Dec 11, 9:43 PM
Unknown Object (File)
Fri, Dec 6, 8:00 AM
Unknown Object (File)
Wed, Nov 27, 11:07 PM
Unknown Object (File)
Nov 24 2024, 3:54 PM
Unknown Object (File)
Oct 16 2024, 7:05 PM
Unknown Object (File)
Oct 11 2024, 3:42 AM
Unknown Object (File)
Sep 30 2024, 10:18 PM

Details

Summary

Provide an easy way to build phabricator/libphutil/arcanist rpm's to deploy
with a yum repo.

The rpm builds checking out the git repos. Version of the package is "0" and
the release contains a datetime (YearMonthDayHourMinute, UTC). Latest git rev
is saved to /opt/phacility/GIT-REVS

The RPM creates a daemon user (phabricator), log (/var/log/phabricator), data
directories (/var/lib/phabricator/{files|repo}) and a init script which manages
phd. Some default-settings are set if phabricator/config/local/local.json does
not exist.

Apache HTTPD and "phabricator/bin/storage upgrade" still have to be
configured/called manually.

The packages install the applications to /opt/phacility/{phabricator|libphutil|arcanist}.
Arcanist can be installed without phabricator webapp.

Build RPM with: rpmbuild -bb resources/rhel/phabricator.spec

TODO: start/stop service on upgrade, call "storage upgrade" on rpm upgrades

Test Plan

build rpm, install rpm, uninstall rpm, upgrade rpm, start/stop/restart service

Diff Detail

Repository
rP Phabricator
Branch
master
Lint
Lint Passed
Unit
No Test Coverage
Build Status
Buildable 2563
Build 2567: [Placeholder Plan] Wait for 30 Seconds

Event Timeline

vinzent retitled this revision from to Add RHEL/Centos 6 init and rpm spec file.
vinzent updated this object.
vinzent edited the test plan for this revision. (Show Details)
vinzent added a reviewer: Phabricator.

This is unlikely to be accepted; see T4200 for more information.

epriestley added a reviewer: epriestley.

Yep, @hach-que is correct. We aren't interested in OS-specific install scripts in the upstream at this time: we're spread too thin to maintain them for the many different OS and infrastructure flavors users are interested in.

If you want to publish this somewhere like GitHub, feel free to add a link to the Wiki here:

https://secure.phabricator.com/w/community_resources/

This revision now requires changes to proceed.Sep 18 2014, 12:41 AM

Yep, @hach-que is correct. We aren't interested in OS-specific install scripts in the upstream at this time: we're spread too thin to maintain them for the many different OS and infrastructure flavors users are interested in.

If you want to publish this somewhere like GitHub, feel free to add a link to the Wiki here:

https://secure.phabricator.com/w/community_resources/

i've pushed the change to https://github.com/vinzent/phabricator.git and updated the https://secure.phabricator.com/w/community_resources/ page