runner/resilient stack: add status history
[slapos.git] / software / slaprunner / instance-runner-export.cfg.in
1 [buildout]
2 extends = template-runner.cfg
3           ${pbsready-export:output}
4
5 parts +=
6   nginx_conf
7   nginx-launcher
8   certificate-authority
9   ca-nginx
10   ca-shellinabox
11   gunicorn-launcher
12   gunicorn-graceful
13   sshkeys-dropbear-runner
14   dropbear-server-add-authorized-key
15   sshkeys-authority
16   publish-connection-informations
17   slaprunner-promise
18   slaprunner-frontend-promise
19   dropbear-promise
20   runtestsuite
21   shellinabox-promise
22   symlinks
23   shellinabox
24   slapos-cfg
25   slapos-repo-config
26   cron-entry-backup
27   cron-entry-prepare-software
28   deploy-instance-parameters
29 ## Monitoring part
30 ###Parts to add for monitoring
31   certificate-authority
32   cron-entry-monitor
33   cron-entry-rss
34   deploy-index
35   deploy-settings-cgi
36   deploy-status-cgi
37   deploy-status-history-cgi
38   setup-static-files
39   certificate-authority
40   zero-parameters
41   public-symlink
42   cgi-httpd-wrapper
43   cgi-httpd-graceful-wrapper
44   monitor-promise
45   monitor-instance-log-access
46 ## Monitor for runner
47   monitor-current-log-access
48
49
50 [exporter]
51 recipe = slapos.recipe.template:jinja2
52 template = ${template-runner-export-script:location}/${template-runner-export-script:filename}
53 rendered = $${directory:bin}/$${slap-parameter:namebase}-exporter
54 # backward compatibility for resilient stack
55 wrapper = $${:rendered}
56 mode = 700
57 context =
58   section directory directory
59   raw  shell_binary ${dash:location}/bin/dash
60   raw  rsync_binary ${rsync:location}/bin/rsync
61
62 [monitor-promise]
63 url = $${monitor-frontend:config-url}/$${deploy-index-template:filename}
64
65 # Extends publish section with resilient parameters
66 [publish-connection-informations]
67 <= resilient-publish-connection-parameter
68
69 [monitor-check-resilient-feed-file]
70 recipe = slapos.recipe.template:jinja2
71 template = ${template-monitor-check-resilient-feed:location}/${template-monitor-check-resilient-feed:filename}
72 rendered = $${monitor-directory:monitor-custom-scripts}/check-create-resilient-feed-files.py
73 mode = 700
74 context =
75   key input_feed_directory directory:notifier-feeds
76   key monitor_feed_directory monitor-directory:public-cgi
77   raw base_url http://[$${notifier:host}]:$${notifier:port}/get/
78   raw python_executable ${buildout:executable}