Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion acceptance/air/help/output.txt
Original file line number Diff line number Diff line change
Expand Up @@ -155,7 +155,7 @@ Use "databricks air images [command] --help" for more information about a comman

>>> [CLI] air images push --help
This CLI command is in Preview. For current feature status and requirements, see:
AWS: https://docs.databricks.com/aws/en/machine-learning/ai-runtime/cli/docker-images
AWS: https://docs.databricks.com/aws/en/machine-learning/ai-runtime/connecting/cli/docker-images
Azure: https://learn.microsoft.com/azure/databricks/machine-learning/ai-runtime/connecting/cli/docker-images

Push a container image to Databricks Artifact Registry under the specified Unity Catalog catalog and schema.
Expand Down
2 changes: 1 addition & 1 deletion acceptance/air/run-submit-deps/output.txt
Original file line number Diff line number Diff line change
Expand Up @@ -66,7 +66,7 @@ Stream logs after submission using:
=== a requirements.yaml file path is rejected; deps must be inline

>>> [CLI] air run -f run-file.yaml
Error: invalid config run-file.yaml: environment.dependencies must be a list of packages or reference a requirements.txt (see https://docs.databricks.com/aws/en/machine-learning/ai-runtime/cli/yaml-config#reference). A direct file reference is not supported
Error: invalid config run-file.yaml: environment.dependencies must be a list of packages or reference a requirements.txt (see https://docs.databricks.com/aws/en/machine-learning/ai-runtime/connecting/cli/yaml-config#reference). A direct file reference is not supported

Tip: use the --debug flag to see more details and a trace of this error:
databricks --debug air run …
2 changes: 1 addition & 1 deletion cmd/air/image.go
Original file line number Diff line number Diff line change
Expand Up @@ -125,7 +125,7 @@ func newImagePushCommandWithDeps(deps imagePushDeps) *cobra.Command {
Use: "push",
Short: "*Preview* Push a container image to Databricks Artifact Registry",
Long: `This CLI command is in Preview. For current feature status and requirements, see:
AWS: https://docs.databricks.com/aws/en/machine-learning/ai-runtime/cli/docker-images
AWS: https://docs.databricks.com/aws/en/machine-learning/ai-runtime/connecting/cli/docker-images
Azure: https://learn.microsoft.com/azure/databricks/machine-learning/ai-runtime/connecting/cli/docker-images

Push a container image to Databricks Artifact Registry under the specified Unity Catalog catalog and schema.
Expand Down
2 changes: 1 addition & 1 deletion cmd/air/runconfig.go
Original file line number Diff line number Diff line change
Expand Up @@ -400,7 +400,7 @@ type dependencies struct {

func (d *dependencies) UnmarshalYAML(node *yaml.Node) error {
if node.Kind != yaml.SequenceNode {
return errors.New("environment.dependencies must be a list of packages or reference a requirements.txt (see https://docs.databricks.com/aws/en/machine-learning/ai-runtime/cli/yaml-config#reference). A direct file reference is not supported")
return errors.New("environment.dependencies must be a list of packages or reference a requirements.txt (see https://docs.databricks.com/aws/en/machine-learning/ai-runtime/connecting/cli/yaml-config#reference). A direct file reference is not supported")
}
d.set = true
return node.Decode(&d.list)
Expand Down
Loading