Skip to content

The release's step: the image pushed from main, and a Jenkinsfile for the book - #270

Merged
adamjohnwright merged 1 commit into
mainfrom
release/jenkins-step
Nov 23, 2026
Merged

adamjohnwright merged 1 commit into
mainfrom
release/jenkins-step

Conversation

@adamjohnwright

Copy link
Copy Markdown
Contributor

The release's book (README, "The release's book") as a Jenkins step of its own. It replaces the EventPDF step.

Image: the image job already builds the image and runs figures and book from it over the fixture. From main alone, it now also pushes the image to public.ecr.aws/reactome/pdf-export, as its commit and as latest, the way sbml-exporter's does. It signs in with the organisation's role for GitHub Actions.

Jenkinsfile:

  1. Requires the DiagramConverter step first.
  2. Stops before starting unless Jenkins names this release's render service and content service (RENDER_SERVICE, CONTENT_SERVICE).
  3. Runs figures, with --parallel set from RENDER_CONCURRENCY (default 4), then book. The commands are the same as CI's ci/image/run.sh and the README's. The release's downloads folder is mounted as --files; it holds diagram/, ehld/ and ehld/svgsummary.txt. book runs check-book itself before it succeeds.
  4. Keeps the book's files-and-sizes list under pdf_export/, not under event-pdf's name. The two books' PDFs aren't comparable by size, so event-pdf's verifier and its 2% tolerance don't carry over.
  5. Copies TheReactomeBook.pdf.tgz to the downloads folder, with the same name event-pdf's step used.
  6. Archives the book and both runs' reports to S3.

Open, for T039 (the release's maintainers): the render service isn't published as an image, so where it and a content service of the release run during the release has to be settled before this step can run.

When the release switches: the EventPDF step comes out of the release in the same release, or the two would write the same archive.

🤖 Generated with Claude Code

… the book

The book (README, "The release's book") as a Jenkins step in place of
EventPDF: the image, already built and run over the fixture in CI, is pushed to
Reactome's public registry from main, as sbml-exporter's is; the Jenkinsfile
runs figures then book from it, keeps the book's files and sizes under its own
name, and moves TheReactomeBook.pdf.tgz to the downloads folder as event-pdf's
step did. The render and content services' addresses come from Jenkins
(RENDER_SERVICE, CONTENT_SERVICE): where they run for the release is T039's.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
@adamjohnwright
adamjohnwright merged commit 5e074b9 into main Nov 23, 2026
3 checks passed
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