summaryrefslogtreecommitdiff
path: root/yarns
diff options
context:
space:
mode:
authorLars Wirzenius <liw@liw.fi>2017-07-01 16:25:51 +0300
committerLars Wirzenius <liw@liw.fi>2017-07-01 23:43:10 +0300
commitf739ca2c67cc5dedfa383aaef86ac6f3fca3db6b (patch)
tree2eebb9014267384c299014fa924f7b6904afce6a /yarns
parentf24893c1833e4fcb6aedc9dd5945223d756a31d2 (diff)
downloadick2-f739ca2c67cc5dedfa383aaef86ac6f3fca3db6b.tar.gz
Refactor: make controller use ick2lib.Project
Diffstat (limited to 'yarns')
-rw-r--r--yarns/900.yarn12
1 files changed, 7 insertions, 5 deletions
diff --git a/yarns/900.yarn b/yarns/900.yarn
index 4ac722b..23ae291 100644
--- a/yarns/900.yarn
+++ b/yarns/900.yarn
@@ -4,7 +4,7 @@
IMPLEMENTS GIVEN a running controller instance
controller = os.path.join(srcdir, 'controller')
- cliapp.runcmd(['/usr/sbin/daemonize', '-c.', controller, 'pid', 'port'])
+ cliapp.runcmd(['/usr/sbin/daemonize', '-c.', controller, 'pid', 'port', 'ick.ick'])
vars['pid'] = cat('pid').strip()
vars['port'] = cat('port').strip()
@@ -34,10 +34,12 @@
repo = yarnutils.get_next_match()
server = yarnutils.get_next_match()
config = {
- project: {
- 'git': repo,
- 'shell': 'foo',
- }
+ 'projects': {
+ project: {
+ 'git': repo,
+ 'shell_steps': ['ikiwiki --build', 'rsync'],
+ },
+ },
}
write('ick.ick', yaml.safe_dump(config))