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

Hotfix pipeline speed #79

Merged
merged 3 commits into from
Jun 26, 2024
Merged

Hotfix pipeline speed #79

merged 3 commits into from
Jun 26, 2024

Conversation

Witiko
Copy link
Contributor

@Witiko Witiko commented Jun 25, 2024

This PR improves the speed of the pipeline by making the following two changes:

  • Only build EPUB and HTML outputs on the main branch, not in PRs:

    image

    This improves the build speed by ~150%.

    I have not disabled the building of DOCX outputs, since they take a constant time (~30 seconds) and disabling them won't make much difference.

  • Only install LibreOffice 7.3 on the main branch, not in PRs. In PRs, XLSX pages in a document are replaced with a placeholder image, c.f. file exam-structure-tables.tex from the repository istqborg/istqb_shared_documents:

    image

    This removes ~15 minutes from a build for repositories that contain XLSX documents. Currently, this only affects the repository istqborg/istqb_shared_documents.

The changes from this PR are just a hotfix to improve the pipeline speed before the next billing period has started. This PR continues ticket #49 but does not close it.

@Witiko Witiko requested a review from danopolan June 25, 2024 07:47
@Witiko Witiko self-assigned this Jun 25, 2024
@Witiko Witiko merged commit afacd81 into main Jun 26, 2024
6 checks passed
@Witiko Witiko deleted the hotfix/pipeline-speed branch June 26, 2024 16:20
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