Design: Test TinyPilot Debian package install
Chưa có ai nhận issue này.
Đánh giá
- Độ khó
- 5/5
- Thời gian dự kiến
- Hơn một tuần
- Mức phù hợp với người mới
- 25/100
- Loại issue
- Tính năng
- Độ rõ ràng
- Khá rõ ràng
- Mức độ hoạt động
- Đình trệ
- Công nghệ
- debian, docker
- Lĩnh vực
- devops, testing-qa
Hướng nghiên cứu
Start by reading bundler/bundle/install and debian-pkg/debian/tinypilot.postinst, then review the related ideas in issue 1691. Define the installation and reinstallation checks, plus how a Docker image can mimic the required Raspberry Pi OS paths. Done means a documented design addressing both deliverables, not an implementation.
Do mô hình lập chỉ mục viết ra từ nội dung của issue.
Mô tả
The TinyPilot install process is sufficiently complex that it would be helpful to have tests validating that the installer does what we expect.
We've had a few bugs in the past due to subtle oversights in install logic, and we only discovered them when they bit us later.
Rough idea
- Create a Docker container that emulates Raspberry Pi OS Lite (put in paths like
/boot/config.txtthat exist in Pi OS)- This will probably just be the standard Debian:11 image with a few changes on top to put in paths that make it look like Pi OS as far as TinyPilot is concerned.
- Boot into the Docker container in CircleCI
- Install the TinyPilot Debian package (or run the bundle install script)
- Run checks to verify that the system is in the expected state (e.g., our desired modifications to
/boot/config.txtare there, paths we want to create exist, users exist that we expect). - Uninstall the TinyPilot Debian package
- Reinstall the TinyPilot Debian package
- Verify that modifications to the files we expect happen exactly once rather than once per install
Deliverable
This ticket is just to flesh out the design rather than to get into implementation.
The design should cover:
- What tests will we perform to validate the install?
- How can we create a Docker container that mimics Raspberry Pi OS for our purposes?
I accidentally duplicated this idea in https://github.com/tiny-pilot/tinypilot/issues/1691 so there are additional ideas there.
- Ngôn ngữ chính
- Python
- Star
- 3.5k
- Fork
- 292
- Chỉ số merge pull request
- Không có pull request nào được merge trong 30 ngày
Chuẩn bị môi trường
- Không có Dockerfile hay tệp Docker Compose
- Không có mẫu pull request
- Đọ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 tiny-pilot/tinypilot
-
bug medium
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 62/100
tiny-pilot/tinypilot#1419 ·
-
bug
Độ khó 5/5 Hơn một tuần Mức phù hợp với người mới 15/100
tiny-pilot/tinypilot#1961 ·
-
enhancement
Độ khó 5/5 Hơn một tuần Mức phù hợp với người mới 35/100
tiny-pilot/tinypilot#1929 · 3 bình luận ·
-
bug
Độ khó 3/5 1-2 ngày Mức phù hợp với người mới 35/100
tiny-pilot/tinypilot#1899 · 1 bình luận ·
-
Độ khó 4/5 3-5 ngày Mức phù hợp với người mới 35/100
tiny-pilot/tinypilot#1896 ·
Tất cả issue của tiny-pilot/tinypilot
Issue tương tự
-
Độ khó 1/5 Dưới một giờ Mức phù hợp với người mới 65/100
521xueweihan/HelloGitHub#4025 ·
-
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 85/100
aws-samples/sample-per-model-bedrock#321 ·
Maintainer thường phản hồi trong vòng 1 ngày
-
Độ khó 1/5 1-3 giờ Mức phù hợp với người mới 68/100
FavioVazquez/showtime#101 ·
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
koush/ha_scrypted#81 ·
-
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 82/100
google/osv-scanner-action#147 ·