Skip to content

fix: install asciidoctor-pdf gem for PDF generation in CI#3139

Closed
gtrivedi88 wants to merge 1 commit into
eclipse-che:mainfrom
gtrivedi88:fix-pdf-build
Closed

fix: install asciidoctor-pdf gem for PDF generation in CI#3139
gtrivedi88 wants to merge 1 commit into
eclipse-che:mainfrom
gtrivedi88:fix-pdf-build

Conversation

@gtrivedi88

Copy link
Copy Markdown
Contributor

Summary

  • Install asciidoctor-pdf Ruby gem in the Containerfile

Why

The @antora/pdf-extension (installed at 1.0.0-beta.14) shells out to asciidoctor-pdf to convert assembled AsciiDoc files to PDF. This Ruby gem was never installed in the container, causing all PR checks to fail with:

FATAL (antora): ENOENT: no such file or directory, open
  'build/assembler-pdf/docs/next/_exports/discover.pdf'

This has been breaking all PR checks since the Discover module was added in #3098.

What changed

File Change
Containerfile Added gem install asciidoctor-pdf after the Python packages step

Test plan

  • Container builds successfully with the new gem
  • antora generate produces PDF files in build/assembler-pdf/
  • PR checks pass (Build and validate, Build and verify container)

Made with Cursor

The @antora/pdf-extension shells out to `asciidoctor-pdf` (Ruby gem) to
convert assembled AsciiDoc files to PDF. The gem was never installed in
the container, causing ENOENT errors when the build tries to read the
generated PDF files:

  FATAL (antora): ENOENT: no such file or directory, open
  'build/assembler-pdf/docs/next/_exports/discover.pdf'

This broke all PR checks after the Discover module was added (eclipse-che#3098).

Fix: add `gem install asciidoctor-pdf` to the Containerfile.
Co-authored-by: Cursor <cursoragent@cursor.com>
@gtrivedi88 gtrivedi88 requested review from a team, deerskindoll and mkuznyetsov as code owners July 1, 2026 18:11
@gtrivedi88 gtrivedi88 requested a review from l0rd July 1, 2026 18:11
@github-actions

github-actions Bot commented Jul 1, 2026

Copy link
Copy Markdown

⚡️ Deploying pull request preview...

@github-actions

github-actions Bot commented Jul 1, 2026

Copy link
Copy Markdown

Click here to review and test in web IDE: Contribute

@gtrivedi88 gtrivedi88 closed this Jul 1, 2026
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.

1 participant