about summary refs log tree commit diff stats
path: root/README
blob: e0e48f9695e3e0b469fe243e6c14770a864ca9a1 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
WARNING: DO NOT USE THIS IN ANY PRODUCTION UNTIL VERSION 1.0 IS ACTUALLY
RELEASED. YOU HAVE BEEN WARNED!

dscip: Dead Simple Continuous Integration POSIX
================================================================================
Description:
This is a script/daemon that scans a git repo for changes, and runs commands
automatically. It's meant to be a dead simple alternative to services like
Gitlab-ci and Jenkins. This script was also made to be as POSIX compliant as
possible, so it should run on basically every platform with a POSIX shell.
================================================================================
How To Use:
    1. Create a directory somewhere like /var/dscip/project_name.
    2. Copy all the files from dscip into that new directory.
    3. Open dscip in your text editor of choice and modify the variables to your
       liking.
    4. Edit pre.sh, build.sh, and post.sh to fit your needs.
    5. Create a user for building. Like `dscip_user` or `project_name`
       (Depends how separated you want to privileges to be.)
    6. Run chown -R <user> /var/dscip
       So the new user owns it all.
    Cron:
        Add: * * * * * <user> /var/dscip/project_name/dscip
        to your crontab.
    Daemon:
        Set DSCIP_DAEMON to true, and create an init script for it, and enable
        it.
================================================================================
To Do:
    - Better daemon-mode capabilities.
    - Better how-to instructions...