Skip to content

Build hocuspocus as pre-step to docker build#21902

Open
oliverguenther wants to merge 2 commits intodevfrom
chore/build-hocuspocus-in-core
Open

Build hocuspocus as pre-step to docker build#21902
oliverguenther wants to merge 2 commits intodevfrom
chore/build-hocuspocus-in-core

Conversation

@oliverguenther
Copy link
Member

Trigger hocuspocus tagged builds before we build OpenProject X.Y.Z docker images. This is because the release will pin the hocuspocus deployment in https://github.com/opf/openproject/blob/dev/docker/prod/Dockerfile#L116

related
opf/op-blocknote-hocuspocus#50

Copy link
Contributor

Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

This PR adds a pre-build step for the hocuspocus Docker image before building OpenProject's tagged Docker releases. This ensures that the hocuspocus image with the appropriate tag exists before the OpenProject Dockerfile pins it.

Changes:

  • Adds a version output to the compute-inputs job that strips the 'v' prefix from tags for hocuspocus Docker tagging
  • Introduces a new build-hocuspocus job that triggers a reusable workflow in the hocuspocus repository to build Docker images
  • Updates the build job to depend on both compute-inputs and build-hocuspocus to ensure hocuspocus images are ready before building OpenProject

Copy link
Member

@machisuji machisuji left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

👍

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Development

Successfully merging this pull request may close these issues.

2 participants