python / psf-salt

PSF infrastructure configuration
MIT License
115 stars 58 forks source link

Restore the HTML docsbuild cron job #497

Closed AA-Turner closed 1 month ago

AA-Turner commented 1 month ago

xref:

AA-Turner commented 1 month ago

This is now ready for merge, the required changes in docsbuild-scripts have been made.

A

ewdurbin commented 1 month ago

applied

before:

ee@docs:~$ sudo -u docsbuild crontab -l
# Lines below here are managed by Salt, do not edit
SENTRY_DSN=https://<redacted>@sentry.io/<redacted>
PYTHON_DOCS_ENABLE_ANALYTICS=1
# SALT_CRON_IDENTIFIER:docsbuild-full
7 * * * * /srv/docsbuild/venv/bin/python /srv/docsbuild/scripts/build_docs.py

after:

ee@docs:~$ sudo -u docsbuild crontab -l
# Lines below here are managed by Salt, do not edit
SENTRY_DSN=https://<redacted>@sentry.io/<redacted>
PYTHON_DOCS_ENABLE_ANALYTICS=1
# SALT_CRON_IDENTIFIER:docsbuild-no-html
7 6 * * * /srv/docsbuild/venv/bin/python /srv/docsbuild/scripts/build_docs.py --select-output=no-html
# SALT_CRON_IDENTIFIER:docsbuild-only-html
16 * * * * /srv/docsbuild/venv/bin/python /srv/docsbuild/scripts/build_docs.py --select-output=only-html