Add air image setup for pushing images to DAR - #6800
Open
maggiewang-db wants to merge 1 commit into
Open
maggiewang-db wants to merge 1 commit into
maggiewang-db wants to merge 1 commit into
Conversation
maggiewang-db
force-pushed
the
codex/air-image-setup
branch
from
September 22, 2026 20:06
c7733c1 to
a69358f
Compare
maggiewang-db
marked this pull request as ready for review
September 22, 2026 20:11
maggiewang-db
requested review from
lennartkats-db and
rauchy
and removed request for
lennartkats-db and
rauchy
September 22, 2026 20:11
maggiewang-db
force-pushed
the
codex/air-image-setup
branch
3 times, most recently
from
September 22, 2026 21:31
44b1724 to
31019cb
Compare
maggiewang-db
force-pushed
the
codex/air-image-setup
branch
from
September 22, 2026 21:59
31019cb to
53678be
Compare
Contributor
|
An authorized user can trigger integration tests manually by following the instructions below: Trigger: Inputs:
Checks will be approved automatically on success. |
caroline-db
reviewed
Sep 23, 2026
| cancel Cancel one or more runs | ||
| convert-to-dabs Convert an AIR run YAML into a Databricks Asset Bundle | ||
| get Show status, configuration, and timing details for a specified run | ||
| image Manage container images for AI Runtime |
Contributor
There was a problem hiding this comment.
couple questions here:
- is the plan to support this in air long term or is this a temporary solution? if the latter, do you know what the process for deprecating or if we should mark this as experimental somehow? I think we should figure that out before merging
- do you think we will extend image resource to additional commands, like
air image listto see list of available images or is that out of the scope for air? for consistency with databricks cli convention andpools, I think this should be pluralimagesthough I can see why image is slightly preferable for this specific setup command
This branch has not been deployed
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.
Summary
Add
databricks air image setupto configure Docker authentication and push a container image to Databricks Artifact Registry (DAR).The command detects the workspace region, invokes
auth docker configure, validates the Unity Catalog destination, pushes the image, and prints theenvironment.unity_catalog_imagevalue anddatabricks air run -f config.yamlnext step.Catalog and schema names and artifact names are validated with UC requirements.
This feature is in Preview. APIs may change, and the workspace must enable Preview features.
Usage
Two ways to run it:
Minimal — answer the prompts interactively:
One-shot — everything inline:
Example image tag:
13.4.1-cudnn-devel-ubuntu26.04Tests
go test ./cmd/airgo test ./acceptance -run '^TestAccept/air/(help|image-setup)$'golangci-lintfor./cmd/air./task buildThe acceptance test exercises the complete non-interactive setup flow, including credential-helper configuration and Docker inspect, tag, and push calls.
E2E on profile
dar-uc:Results:
dar_uc.maggiewang.air_image_e2e:pr6800-20260922, digestsha256:daf5e8e7379bab18332469a8040391fa8ff6c13dadd07d70fb817688d7809f32custom image e2e: cuda=True devices=1