# The zoo's settings. rc builds the app and renders nginx and the jobs from this; a mistake refuses the push. name = Zoo description = See every building block working # Odin compiled to wasm (main.odin and the exhibits, e*.odin), built on the box at every push. runtime = wasm # 10: anyone may listen to the counter. 11: `auth` makes nginx ask the zoo first (channel_ok). channels = counter, mine auth # 21: the clock. 22: the self-check that turns every self-running exhibit into a light. 8: the nightly # job puts zoo-broken's deliberate typo back if a valid push cleared it. 25: once a day the robot asks # its workbench for a change (the job looks every half hour). Each is a name main.odin's job answers. cron = tick every 5m, selfcheck every 5m, nightly every 1d, workbench every 30m # The robot's tools (8, 18, 30): git and ssh as zoo-robot, granted by root (rc cap zoo git ssh --as zoo-robot). capabilities = git, ssh max_body = 1M # 23: after each nightly backup, root counts the guestbook in the backup copy. backup_check = zoo.db guestbook smoke = tests/smoke.odin