Use a unique tracker image tag per CI run
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ó
- 4/5
- Thời gian dự kiến
- 3-5 ngày
- Mức phù hợp với người mới
- 42/100
Hướng nghiên cứu
Start with the test job in container.yaml and the docker-e2e job in testing.yaml; trace how their fixed image tags reach the persistence regression script and E2E runner steps. Read the full specification in docs/issues/open/ and reproduce the shared-tag hazard on one Docker host. Done means each run uses and cleans up its own image, the self-hosted runner is verified, and the local default-tag and concurrency-limit decisions are addressed.
Do mô hình lập chỉ mục viết ra từ nội dung của issue.
Mô tả
Parent EPIC: #2392
Goal
Each CI run tests the tracker image it built. Runs sharing one Docker host cannot overwrite each other's image tag, and per-run images do not accumulate on persistent runners.
Background
container.yaml (test job) tags its image torrust-tracker:local and testing.yaml (docker-e2e job) tags it torrust-tracker:e2e-local; the persistence regression script, e2e_tests_runner, and the three qbittorrent_e2e_runner steps then use that fixed tag. If two runs share a Docker host, the second build moves the tag and the first run tests the second run's image, possibly passing. Nothing signals the mistake.
This is latent today: GitHub-hosted jobs have their own virtual machines, and the self-hosted runner has one instance per server (#2386). It becomes real with two instances per server, or with two local E2E runs that build with the runner's default tag. The security scan also uses torrust-tracker:local but runs only on ubuntu-latest, so it is out of scope.
Tasks
- T1: Demonstrate the shared-tag hazard on one Docker host.
- T2-T3: Use a per-run tag (for example from
github.run_id,github.run_attempt, and the matrix target) incontainer.yamlandtesting.yaml, defined once per job and used by every consumer step. - T4: Remove the per-run image in an always-run cleanup step; verify on the self-hosted runner.
- T5: Decide the
e2e_tests_runnerdefault tag for local runs; remove the shared tag from the concurrency limits indocs/self-hosted-runner.md.
The full specification is added to docs/issues/open/ by a spec-only pull request.
- Ngôn ngữ chính
- Rust
- Star
- 532
- Fork
- 56
- Merge trung bình
- 11 giờ 20 phút
- Pull request đã merge (30 ngày)
- 282
Chuẩn bị môi trường
Dự án này không cung cấp dev container, Dockerfile hay hướng dẫn đóng góp, nên bạn cần tự thiết lập môi trường: hãy bắt đầu từ README và xem hướng dẫn đóng góp lần đầu của chúng tôi để biết các bước chung.
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 torrust/torrust-tracker
-
Bug
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 78/100
torrust/torrust-tracker#3080 ·
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 75/100
torrust/torrust-tracker#3069 ·
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 68/100
torrust/torrust-tracker#3058 ·
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 68/100
torrust/torrust-tracker#2978 ·
Maintainer thường phản hồi trong vòng 1 ngày
-
Bug
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 73/100
torrust/torrust-tracker#2332 ·
Maintainer thường phản hồi trong vòng 1 ngày
Tất cả issue của torrust/torrust-tracker
Issue tương tự
-
Độ khó 1/5 Dưới một giờ Mức phù hợp với người mới 90/100
Maintainer thường phản hồi trong vòng 1 ngày
-
marketing
Độ 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
-
Start here: how to contributeĐang mởdifficulty: easy docs help wanted tooling
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 83/100
-
bug help wanted ui
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 85/100
userFRM/egui-charts#4386 ·
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 68/100
eliasstravik/herdr-projects#1605 · 1 bình luận ·