[buildout] extends = template-runner.cfg ${pbsready-export:output} parts += nginx_conf nginx-launcher certificate-authority ca-nginx gunicorn-launcher gunicorn-graceful sshkeys-dropbear-runner dropbear-server-add-authorized-key sshkeys-authority publish-connection-information slaprunner-promise slaprunner-frontend-promise slaprunner-supervisord-wrapper dropbear-promise runtestsuite symlinks shellinabox slapos-cfg slapos-repo cron-entry-backup cron-entry-prepare-software deploy-instance-parameters minishell-cwd supervisord-wrapper ## Monitoring part ## Monitor for runner monitor-check-resilient-feed-file monitor-check-webrunner-internal-instance [exporter] recipe = slapos.recipe.template:jinja2 template = ${template-runner-export-script:location}/${template-runner-export-script:filename} rendered = $${directory:bin}/$${slap-parameter:namebase}-exporter # backward compatibility for resilient stack wrapper = $${:rendered} mode = 700 context = section directory directory raw shell_binary ${dash:location}/bin/dash raw rsync_binary ${rsync:location}/bin/rsync [monitor-instance-parameter] monitor-httpd-port = 8437 # Pass some parameter to dispay in monitoring interface instance-configuration = file recovery-code $${recovery-code:storage-path} raw webrunner-url https://$${request-frontend:connection-domain} # Extends publish section with resilient parameters [publish-connection-information] <= resilient-publish-connection-parameter [monitor-check-resilient-feed-file] recipe = slapos.recipe.template:jinja2 template = ${template-monitor-check-resilient-feed:location}/${template-monitor-check-resilient-feed:filename} rendered = $${monitor-directory:promises}/check-create-resilient-feed-files mode = 700 context = key input_feed_directory directory:notifier-feeds key monitor_feed_directory monitor-directory:public raw base_url http://[$${notifier:host}]:$${notifier:port}/get/ raw python_executable ${buildout:executable}