diff options
author | Adin Scannell <ascannell@google.com> | 2019-04-25 23:04:06 -0700 |
---|---|---|
committer | Adin Scannell <adin@scannell.ca> | 2019-04-26 16:07:24 -0700 |
commit | 921bd3ae92a287a804ab10e943ee1c4a498a816a (patch) | |
tree | ce789ae7c6e8478dab3d9def917f669a614e8420 /cmd/gvisor-website/cron.yaml | |
parent | 66cc254a8710cdaeb6e56bb45aec1e51f696660a (diff) |
cmd/gvisor-website: add /rebuild and cron
In order to ensure that the system call descriptions and other
documentation that will be sourced from the main repository remains up
to date, add a hook that allows the site to submit a rebuild to Google
Cloud Builder. This can be triggered manually by an admin, or will be
triggered every 24 hours by a new cron configuration.
Diffstat (limited to 'cmd/gvisor-website/cron.yaml')
-rw-r--r-- | cmd/gvisor-website/cron.yaml | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/cmd/gvisor-website/cron.yaml b/cmd/gvisor-website/cron.yaml new file mode 100644 index 000000000..b4f79955c --- /dev/null +++ b/cmd/gvisor-website/cron.yaml @@ -0,0 +1,4 @@ +cron: +- description: "daily rebuild" + url: /rebuild + schedule: every 24 hours |