bundle path as a substitution variable
Maintainer thường phản hồi trong vòng 1 ngày
Chưa có ai nhận issue này.
Đánh giá
- Độ khó
- 3/5
- Thời gian dự kiến
- 1-2 ngày
- Mức phù hợp với người mới
- 68/100
Hướng nghiên cứu
Bắt đầu bằng cách lần theo cách các phép thay thế hiện có như bundle.name và bundle.uuid được phân giải, sau đó kiểm tra cách CLI xác định thư mục chứa databricks.yml. Công việc được hoàn thành khi bundle.path được mở rộng thành đường dẫn tuyệt đối đến thư mục bundle đó, với các bài kiểm thử bao quát phép thay thế.
Do mô hình lập chỉ mục viết ra từ nội dung của issue.
Mô tả
Describe the issue
We have multiple bundles in one repository, sharing some common resources in the repo root, which we include into the databricks.yml of the bundles.
The common resources also include the artifacts, which use a script to download additional wheels into the dist directory of the bundle. Therefore we need the path to the bundle. Currently we use a variable "bundle_path" in each of those bundles and reference it in the common script. but this is brittle, e.g. when the path/directory changes.
Expected Behavior
A substitution like bundle.path (next to bundle.name, bundle.uuid) would be really helpful. This variable should contain the full, absolute path to the bundle (=directory containing the databricks.yml).
Additionally, bundle.cwd would be a nice to have, pointing to the current working dir (the folder the databricks bundle command was executed). But more important for us would be bundle.path.
Actual Behavior
Need to specify a manual variable (of course this variable could also be filled when executing bundle commands, but its easy to forget.
OS and CLI version
CLI Version 1.5
- Ngôn ngữ chính
- Go
- Star
- 404
- Fork
- 246
- Merge trung bình
- 1 ngày 10 giờ
- Pull request đã merge (30 ngày)
- 225
Chuẩn bị môi trường
- Có Dockerfile hoặc tệp Docker Compose
- Có mẫu pull request
- Không có hướng dẫn đóng góp
Bắt đầu từ đâu
- Đọc hết issue, rồi đọc hướng dẫn đóng góp của dự án.
- Bình luận trên issue rằng bạn sẽ nhận — tránh hai người làm cùng một việc.
- Fork repository và làm thay đổi trên một nhánh.
- Mở pull request có tham chiếu số hiệu của issue.
Issue khác của databricks/cli
-
Apps commands only accept relative path to app.ymlCó thể đã có người làm @yuri-rod đã nhận 7 ngày trước. Đang mởCLI
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 82/100
databricks/cli#6910 ·
Maintainer thường phản hồi trong vòng 1 ngày
-
DABs
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 68/100
databricks/cli#6670 ·
Maintainer thường phản hồi trong vòng 1 ngày
-
Độ khó 3/5 1-2 ngày Mức phù hợp với người mới 56/100
databricks/cli#7013 ·
Maintainer thường phản hồi trong vòng 1 ngày
-
DABs
Độ khó 5/5 Hơn một tuần Mức phù hợp với người mới 18/100
databricks/cli#7002 ·
Maintainer thường phản hồi trong vòng 1 ngày
-
DABs
Độ khó 4/5 3-5 ngày Mức phù hợp với người mới 35/100
databricks/cli#6986 ·
Maintainer thường phản hồi trong vòng 1 ngày
Tất cả issue của databricks/cli
Issue tương tự
-
[schema-coverage] elasticstack_kibana_security_detection_ruleCó thể đã có người làm @github-actions đã nhận hôm nay. Đang mởacceptance-tests phase-coding schema-coverage testing triaged
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 65/100
elastic/terraform-provider-elasticstack#5186 ·
Maintainer thường phản hồi trong vòng 1 ngày
-
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 78/100
jaegertracing/jaeger#9830 ·
Maintainer thường phản hồi trong vòng 1 ngày
-
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 76/100
apache/rocketmq-dashboard#6318 ·
Maintainer thường phản hồi trong vòng 5 ngày
-
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 84/100
Maintainer thường phản hồi trong vòng 1 ngày
-
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 83/100
GoogleCloudPlatform/opentelemetry-operations-collector#710 ·
Maintainer thường phản hồi trong vòng 1 ngày