Page MenuHomeDevCentral

D1084.id2770.diff
No OneTemporary

D1084.id2770.diff

diff --git a/roles/devserver/userland-software/init.sls b/roles/devserver/userland-software/init.sls
--- a/roles/devserver/userland-software/init.sls
+++ b/roles/devserver/userland-software/init.sls
@@ -14,3 +14,4 @@
# Software specific for development servers
- .dev
- .misc
+ - .phabricator
diff --git a/roles/devserver/userland-software/phabricator.sls b/roles/devserver/userland-software/phabricator.sls
new file mode 100644
--- /dev/null
+++ b/roles/devserver/userland-software/phabricator.sls
@@ -0,0 +1,36 @@
+# -------------------------------------------------------------
+# Salt — Provision dev software
+# - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
+# Project: Nasqueron
+# Created: 2017-10-20
+# License: Trivial work, not eligible to copyright
+# -------------------------------------------------------------
+
+{% from "map.jinja" import dirs with context %}
+
+# -------------------------------------------------------------
+# Provision /opt/phabricator from Git repositories
+# - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
+
+libphutil_repository:
+ git.latest:
+ - name: https://secure.phabricator.com/source/libphutil.git
+ - target: /opt/phabricator/libphutil
+
+arcanist_repository:
+ git.latest:
+ - name: https://secure.phabricator.com/diffusion/ARC/arcanist.git
+ - target: /opt/phabricator/arcanist
+
+phabricator_repository:
+ git.latest:
+ - name: https://secure.phabricator.com/source/phabricator.git
+ - target: /opt/phabricator/phabricator
+
+# -------------------------------------------------------------
+# Aliases
+# - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
+
+{{ dirs.bin }}/arc:
+ file.symlink:
+ - target: /opt/phabricator/arcanist/bin/arc

File Metadata

Mime Type
text/plain
Expires
Tue, Oct 8, 05:21 (21 h, 58 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
2181381
Default Alt Text
D1084.id2770.diff (1 KB)

Event Timeline