Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Restore the HTML docsbuild cron job #497

Merged
merged 1 commit into from
Sep 30, 2024
Merged

Conversation

Copy link
Member

@ewdurbin ewdurbin left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

One note: when changing identifier values, we should at least temporarily leave the old ones with a cron.absent state to ensure the old jobs are removed, otherwise they will continue to run.

@AA-Turner
Copy link
Member Author

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

A

@ewdurbin ewdurbin merged commit 375e1e9 into python:main Sep 30, 2024
2 checks passed
@ewdurbin
Copy link
Member

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

@AA-Turner AA-Turner deleted the docs-html-cron branch September 30, 2024 16:52
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants