instance-runner-import.cfg.in 1.63 KB
Newer Older
1
[buildout]
2
extends = template-runner.cfg
3 4 5
          ${pbsready-import:output}

parts +=
6 7 8 9
  nginx_conf
  nginx-launcher
  certificate-authority
  ca-nginx
10 11 12
  ca-shellinabox
  gunicorn-launcher
  gunicorn-graceful
13 14 15 16 17
  sshkeys-dropbear-runner
  dropbear-server-add-authorized-key
  sshkeys-authority
  slaprunner-promise
  dropbear-promise
18
  runtestsuite
19 20
  shellinabox-promise
  shellinabox
21
  symlinks
22 23
  slapos-cfg
  slapos-repo-config
24
  cron-entry-prepare-software
25
  deploy-instance-parameters
26
# have to repeat the next one, as it's not inherited from pbsready-import
27
  import-on-notification
28
## Monitoring part
29 30 31 32
###Parts to add for monitoring
  certificate-authority
  cron-entry-monitor
  cron-entry-rss
33 34 35
  deploy-index
  deploy-settings-cgi
  deploy-status-cgi
36
  setup-static-files
37 38
  certificate-authority
  zero-parameters
39
  public-symlink
40 41 42 43 44 45 46
  cgi-httpd-wrapper
  cgi-httpd-graceful-wrapper
  monitor-promise
  monitor-instance-log-access
## Monitor for runner
  monitor-current-log-access
  monitor-backup-log-access
47 48

[importer]
49 50 51 52 53 54 55 56 57 58 59 60
recipe = slapos.recipe.template:jinja2
template = ${template-runner-import-script:location}/${template-runner-import-script:filename}
rendered = $${directory:bin}/$${slap-parameter:namebase}-importer
# backward compatibility for resilient stack
wrapper = $${:rendered}
mode = 700
context =
  key backend_url slaprunner:access-url
  section directory directory
  raw  shell_binary ${dash:location}/bin/dash
  raw  rsync_binary ${rsync:location}/bin/rsync
  raw  curl_binary ${curl:location}/bin/curl
61 62 63

[slap-parameter]
auto-deploy-instance = false
64 65 66 67

[monitor-backup-log-access]
< = monitor-directory-access
source = $${directory:logrotate-backup}