Design: Test TinyPilot Debian package install
Nadie ha tomado este issue todavía.
Evaluación
- Dificultad
- 5/5
- Tiempo estimado
- Más de una semana
- Aptitud para principiantes
- 25/100
- Tipo de issue
- Nueva funcionalidad
- Claridad
- Bastante claro
- Estado de actividad
- Estancado
- Stack tecnológico
- debian, docker
- Área
- devops, testing-qa
Línea de trabajo
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.
Escrito por el modelo de indexación a partir del texto del issue.
Descripción
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.
- Lenguaje dominante
- Python
- Estrellas
- 3.5k
- Forks
- 291
- Métricas de merge de PR
- Sin PR fusionados en 30 d
Guía de contribución
Primeros pasos
- Lee el issue completo y luego la guía de contribución del proyecto.
- Comenta en el issue que vas a ocuparte — evita que dos personas hagan lo mismo.
- Haz un fork del repositorio y trabaja en una rama.
- Abre un pull request que haga referencia al número del issue.
Más de tiny-pilot/tinypilot
-
bug medium
Dificultad 2/5 1-3 horas Aptitud para principiantes 62/100
tiny-pilot/tinypilot#1419 ·
-
enhancement
Dificultad 5/5 Más de una semana Aptitud para principiantes 35/100
tiny-pilot/tinypilot#1929 · 3 comentarios ·
-
bug
Dificultad 3/5 1-2 días Aptitud para principiantes 35/100
tiny-pilot/tinypilot#1899 · 1 comentario ·
-
Dificultad 4/5 3-5 días Aptitud para principiantes 35/100
tiny-pilot/tinypilot#1896 ·
-
enhancement
Dificultad 5/5 Más de una semana Aptitud para principiantes 35/100
tiny-pilot/tinypilot#1882 ·
Todos los issues de tiny-pilot/tinypilot
Issues similares
-
Dificultad 2/5 1-3 horas Aptitud para principiantes 78/100
-
Dificultad 2/5 1-3 horas Aptitud para principiantes 86/100
browser-use/browser-use#5905 ·
-
type: enhancement
Dificultad 2/5 1-3 horas Aptitud para principiantes 68/100
ynput/ayon-python-api#363 ·
-
bug needs triage
Dificultad 2/5 1-3 horas Aptitud para principiantes 88/100
modelscope/FunASR#3728 ·
-
Dificultad 2/5 1-3 horas Aptitud para principiantes 88/100
open-compass/opencompass#2655 ·