Page MenuHomePhabricator

Migrate Toolhub local dev away from blubberoid generated Dockerfiles
Closed, ResolvedPublic

Description

The current local development environment for Toolhub uses curl to call blubberoid and generate a Dockerfile which is then used from the docker-compose.yaml to build the runtime container for Toolhub itself. Now that Blubber publishes a buildkit frontend, we can use it rather than blubberoid.

This will look something like:

  • Add a # syntax=docker-registry.wikimedia.org/wikimedia/blubber-buildkit:<some tag> directive to the top of .pipeline/blubber.yaml
  • Change "dockerfile" values to .pipeline/blubber.yaml
  • Add "target" values to appropriate blubber variant names
  • Remove legacy .pipeline/*.Dockerfile files
  • Remove legacy Makefile instructions for generating .pipeline/*.Dockerfile files

Event Timeline

bd808 changed the task status from Open to In Progress.Sep 26 2022, 11:31 PM
bd808 claimed this task.
bd808 triaged this task as Medium priority.
bd808 created this task.
bd808 moved this task from Backlog to In Progress on the Toolhub board.
bd808 changed the task status from In Progress to Open.Nov 14 2022, 8:46 PM
bd808 removed bd808 as the assignee of this task.
bd808 moved this task from In Progress to Groomed/Ready on the Toolhub board.
bd808 changed the task status from Open to In Progress.Feb 7 2024, 11:08 PM
bd808 claimed this task.
bd808 moved this task from To Do to In Dev/Progress on the User-bd808 board.

Change 998593 had a related patch set uploaded (by BryanDavis; author: Bryan Davis):

[wikimedia/toolhub@main] dev: Replace blubberoid with blubber buildkit

https://gerrit.wikimedia.org/r/998593

Change 998593 merged by jenkins-bot:

[wikimedia/toolhub@main] dev: Replace blubberoid with blubber buildkit

https://gerrit.wikimedia.org/r/998593