Page MenuHomePhabricator

Add a feature to blubber buildkit frontend to run entrypoint at the end of a build
Closed, ResolvedPublic

Description

In environments where docker is unavailable (i.e., GitLab trusted runners) we are unable to easily run an image that we've created with blubber; however, we can run commands as part of buildkit's build.

We need an option in blubber's buildkit to trigger an entrypoint (with optional arguments) as part of build.

Success criteria

  • users able to invoke blubber buildkit using buildctl to create a test variant and have the entrypoint invoked at the end of the build with any given arguments

Event Timeline

dduvall renamed this task from Add a feature to blubber buildkit frontend to trigger command during build to Add a feature to blubber buildkit frontend to run entrypoint at the end of a build.Oct 4 2022, 8:54 PM

Change 843515 had a related patch set uploaded (by Jaime Nuche; author: Jaime Nuche):

[blubber@master] buildkit: allow entrypoint to run in the image building process

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

Change 843515 merged by jenkins-bot:

[blubber@master] buildkit: allow entrypoint to run in the image building process

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