Skip to content

ci: use Docker image for PDF builds, split HTML and PDF jobs#14506

Merged
skjnldsv merged 1 commit into
masterfrom
copilot/reapply-docker-changes-sphinxbuild
Apr 23, 2026
Merged

ci: use Docker image for PDF builds, split HTML and PDF jobs#14506
skjnldsv merged 1 commit into
masterfrom
copilot/reapply-docker-changes-sphinxbuild

Conversation

@skjnldsv

@skjnldsv skjnldsv commented Apr 22, 2026

Copy link
Copy Markdown
Member

Much more stable and fast

@skjnldsv

This comment has been minimized.

@skjnldsv

This comment has been minimized.

@skjnldsv skjnldsv force-pushed the copilot/reapply-docker-changes-sphinxbuild branch from 573e44b to c08340d Compare April 23, 2026 05:37
Copilot stopped work on behalf of skjnldsv due to an error April 23, 2026 07:30
@skjnldsv skjnldsv force-pushed the copilot/reapply-docker-changes-sphinxbuild branch from b6dcf78 to 5c3bf52 Compare April 23, 2026 07:35
@skjnldsv skjnldsv self-assigned this Apr 23, 2026
@skjnldsv skjnldsv added 3. to review github_actions Pull requests that update GitHub Actions code refactor labels Apr 23, 2026
@skjnldsv skjnldsv force-pushed the copilot/reapply-docker-changes-sphinxbuild branch 4 times, most recently from 4a12807 to 4081eef Compare April 23, 2026 07:57
- Remove setup-latex-cache job: no longer needed as LaTeX packages
  are baked into the pre-built Docker image
- Add build-html job: runs on ubuntu-latest with no LaTeX dependency,
  starts immediately without waiting for any setup
- Add build-pdf job: uses ghcr.io/nextcloud/documentation/sphinx-latex:latest
  container, which already has all LaTeX packages pre-installed,
  so no apt install overhead at all
- Update Dockerfile: add git (required by checkout action inside containers)
  and PIP_BREAK_SYSTEM_PACKAGES=1 (allows pip install on Ubuntu 24.04)
- Update stage-and-check needs to [build-html, build-pdf]
- Update summary needs and success conditions
- Remove redundant git-metadata cache steps

Agent-Logs-Url: https://github.com/nextcloud/documentation/sessions/035e13fc-b3f3-4251-b06b-79d24dfd3a8b

Co-authored-by: skjnldsv <14975046+skjnldsv@users.noreply.github.com>
@skjnldsv skjnldsv force-pushed the copilot/reapply-docker-changes-sphinxbuild branch from 4081eef to a4519b3 Compare April 23, 2026 08:10
@skjnldsv skjnldsv merged commit b679c56 into master Apr 23, 2026
15 checks passed
@skjnldsv skjnldsv deleted the copilot/reapply-docker-changes-sphinxbuild branch April 23, 2026 08:10
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

3. to review github_actions Pull requests that update GitHub Actions code refactor

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants