Page MenuHomeDevCentral

code.sls
No OneTemporary

code.sls

# -------------------------------------------------------------
# Salt — Deploy Odderon (darkbot)
# - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
# Project: Nasqueron
# Created: 2017-01-25
# License: Trivial work, not eligible to copyright
# -------------------------------------------------------------
darkbot_repo:
file.directory:
- name: /opt/darkbot
- user: odderon
- group: nasqueron-irc
- dir_mode: 755
git.latest:
- name: https://devcentral.nasqueron.org/source/darkbot.git
- branch: production
- target: /opt/darkbot
- user: odderon
- unless: test -f /opt/odderon/LOCKED
darkbot_build:
cmd.script:
- source: salt://roles/shellserver/odderon/files/build.sh
- args: "--with-sleep=0 --with-add=0 --with-del=0 --with-random=0"
- cwd: /opt/darkbot
- runas: odderon
- require:
- git: darkbot_repo
- unless: test -f /opt/odderon/LOCKED

File Metadata

Mime Type
text/plain
Expires
Thu, Dec 26, 01:18 (4 h, 39 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
2302983
Default Alt Text
code.sls (967 B)

Event Timeline