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

Add an English-only docsbuild scheduled job #516

Merged
merged 1 commit into from
Oct 10, 2024
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
20 changes: 19 additions & 1 deletion salt/docs/init.sls
Original file line number Diff line number Diff line change
Expand Up @@ -81,6 +81,7 @@ docsbuild-sentry:

docsbuild-no-html:
cron.present:
# run every other day at 07:06
- identifier: docsbuild-no-html
- name: >
/srv/docsbuild/venv/bin/python
Expand All @@ -89,18 +90,35 @@ docsbuild-no-html:
- user: docsbuild
- minute: 7
- hour: 6
- daymonth: '*/2'
- require:
- cmd: virtualenv-dependencies

docsbuild-only-html:
cron.present:
# run daily at 04:42
- identifier: docsbuild-only-html
- name: >
/srv/docsbuild/venv/bin/python
/srv/docsbuild/scripts/build_docs.py
--select-output=only-html
- user: docsbuild
- minute: 16
- minute: 42
- hour: 4
- require:
- cmd: virtualenv-dependencies

docsbuild-only-html-en:
cron.present:
# run twice hourly at HH:16 and HH:46
- identifier: docsbuild-only-html
- name: >
/srv/docsbuild/venv/bin/python
/srv/docsbuild/scripts/build_docs.py
--select-output=only-html-en
--language=en
- user: docsbuild
- minute: 16,46
- require:
- cmd: virtualenv-dependencies

Expand Down
Loading