Page Menu
Home
DevCentral
Search
Configure Global Search
Log In
Files
F4020262
D861.id2182.diff
No One
Temporary
Actions
View File
Edit File
Delete File
View Transforms
Subscribe
Mute Notifications
Award Token
Flag For Later
Size
1015 B
Referenced Files
None
Subscribers
None
D861.id2182.diff
View Options
diff --git a/roles/shellserver/odderon/init.sls b/roles/shellserver/odderon/code.sls
copy from roles/shellserver/odderon/init.sls
copy to roles/shellserver/odderon/code.sls
--- a/roles/shellserver/odderon/init.sls
+++ b/roles/shellserver/odderon/code.sls
@@ -6,5 +6,16 @@
# License: Trivial work, not eligible to copyright
# -------------------------------------------------------------
-include:
- - .account
+darkbot_repo:
+ git.latest:
+ - name: https://devcentral.nasqueron.org/source/darkbot.git
+ - branch: production
+ - target: /opt/darkbot
+ - user: www
+ - unless: test -f /opt/odderon/LOCKED
+ cmd.run:
+ - name: sh build.sh
+ - cwd: /opt/darkbot
+ - runas: odderon
+ - onchanges:
+ - file: /opt/darkbot/.git/refs/heads/production
diff --git a/roles/shellserver/odderon/init.sls b/roles/shellserver/odderon/init.sls
--- a/roles/shellserver/odderon/init.sls
+++ b/roles/shellserver/odderon/init.sls
@@ -8,3 +8,4 @@
include:
- .account
+ - .code
File Metadata
Details
Attached
Mime Type
text/plain
Expires
Mon, Jan 20, 03:04 (20 h, 42 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
2361511
Default Alt Text
D861.id2182.diff (1015 B)
Attached To
Mode
D861: Clone and compile darkbot on Eglide
Attached
Detach File
Event Timeline
Log In to Comment