Conversation
added 2 commits
September 30, 2026 13:15
Allow callers to execute multi-target Docker Buildx Bake definitions against the buildkitd sidecar by setting the optional bakeFile parameter. When bakeFile is set, the build container attaches docker buildx to the existing unix:///run/buildkit/buildkitd.sock socket via the remote driver, exports IMAGE, GCP_REGION and any KEY=VALUE lines supplied in buildArgs as HCL variables, and runs docker buildx bake. When bakeFile is empty (the default), the existing buildctl path runs unchanged.
…ent image Introduce a Horizon SDV module that builds, tests and publishes the AAOS SDV development environment workstation image, replacing a manual runbook with a pipeline that can be run from the Developer Portal. The module registers two workflows. aaos-sdv-dev-env-init is a seconds-long preflight that checks the public aaos-sdv-demos repository is reachable at the expected revision, so a misconfiguration surfaces immediately rather than after a multi-gigabyte build. aaos-sdv-dev-env-execute runs the pipeline proper: build the container image via aaos-sdv-demos/docker/docker-bake.hcl, provision a builder workstation and snapshot its disk, launch a GPU-backed test workstation from that snapshot and run a BATS acceptance suite on it, then on success promote the snapshot and publish a ready-to-use aaos-sdv-dev-env-latest workstation configuration. Nothing is vendored. The Dockerfile, docker/docker-bake.hcl and image assets are cloned at run time from github.com/google/aaos-sdv-demos, which is public, so no credentials are involved. The image build delegates to the shared common-docker-image-build ClusterWorkflowTemplate, which runs docker buildx bake against its buildkitd sidecar to wire the cicd-foundation base layers (preflight, common, remote-desktop with INSTALL_GUACAMOLE=false, and android-studio-for-platform) and the demo layer in a single BuildKit graph.
tudormot
force-pushed
the
contrib/aaos-sdv-dev-env-mod
branch
from
October 1, 2026 09:28
89e15f5 to
9ae677b
Compare
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Description
This pull request introduces the
aaos-sdv-dev-envmodule to Horizon SDV and enhances the sharedcommon-docker-image-buildcluster workflow template to support Docker Buildx Bake definitions.Summary of Changes
Docker Buildx Bake Support in
common-docker-image-build:bakeFileinput parameter to thecommon-docker-image-buildClusterWorkflowTemplate.docker buildxagainst the existingbuildkitdUnix socket driver, injects build arguments / environment variables (IMAGE,GCP_REGION, etc.), and executesdocker buildx bake.bakeFileis not provided.New Module:
aaos-sdv-dev-env(gitops/modules/aaos-sdv-dev-env):aaos-sdv-dev-env-init: Fast preflight check validating connectivity and branch/tag resolution against the public repository (github.com/google/aaos-sdv-demos).aaos-sdv-dev-env-execute: End-to-end pipeline that builds the container image via Docker Buildx Bake, provisions a builder workstation, generates a disk snapshot, provisions a test workstation instance to run BATS acceptance tests, and promotes the final snapshot to anaaos-sdv-dev-env-latestworkstation configuration.gitops/apps/module-manager/templates/module-catalog.yaml.Checklist
devel.gitops/modules/.