Skip to content

Conversation

javanlacerda
Copy link
Contributor

@javanlacerda javanlacerda commented Oct 1, 2025

fix b/448629855

It implements the immutable image for chromium base.

The strategy for achieving this goes through the following:

  • Create a feature flag based on env vars to switch on or of the step to download the Clusterfuzz source code from the GCS bucket in the setup_clusterfuzz.sh script.
  • Create a Dockerfile for buiding the immutable image, that gets together the base image with the Clusterfuzz source code and configuration.
  • Create a build script for buiding the immutable images, pointing to the expected Dockerfiles.

Successful build in dev:
build link
image

@javanlacerda javanlacerda marked this pull request as draft October 1, 2025 16:50
@javanlacerda javanlacerda force-pushed the javan.chromium-immutable-image branch 6 times, most recently from ef53cec to 0a745f1 Compare October 2, 2025 18:57
Signed-off-by: Javan Lacerda <javanlacerda@google.com>
@javanlacerda javanlacerda force-pushed the javan.chromium-immutable-image branch from 99ed951 to 2d1427d Compare October 2, 2025 20:19
@javanlacerda javanlacerda marked this pull request as ready for review October 2, 2025 20:27
@javanlacerda javanlacerda merged commit da6b597 into master Oct 3, 2025
8 checks passed
@javanlacerda javanlacerda deleted the javan.chromium-immutable-image branch October 3, 2025 14:27
javanlacerda added a commit that referenced this pull request Oct 7, 2025
Fixes b/449765246

I does use the structured implemented in #4971 for implementing the
immutable images.

Here we create the Dockerfile for the immutable base, using the external
config as configuration.

It also add a `push image` flag for pushing the images to the GAR. It's
needed to have two different triggers, one that check if the image can
be built for the pull requests and another one that builds and push the
images for commits on master.

---------

Signed-off-by: Javan Lacerda <javanlacerda@google.com>
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.

2 participants