Hacktoberfest 2026: những issue maintainer đã đánh dấu cho tháng Mười, đang mở và phù hợp người mới. Xem issue Hacktoberfest

End-to-end CI: reusable workflow, run on merge in engine, API and platform

Đang mở
#55 0 bình luận 0 reaction 0 người được giao Xem trên GitHub

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
56/100
Loại issue
Tính năng
Độ rõ ràng
Khá rõ ràng
Mức độ hoạt động
Sôi nổi
Công nghệ
docker, github-actions, playwright
Lĩnh vực
ci-cd, testing

Hướng nghiên cứu

Read the GitHub Actions configuration and the linked baseline test issue #52 and Playwright test issue #53 to identify how the apps and scenarios are run. Choose explicit app versions, record those versions with each result, and make the action fail when a scenario breaks. Done means the CI runs both test suites and reports the selected versions.

Do mô hình lập chỉ mục viết ra từ nội dung của issue.

Mô tả

enhancement help wanted

This issue is part of the epic pyronear/roadmap#11 (End-to-end tests across engine, API and platform).

One GitHub workflow in pyro-envdev runs the whole end-to-end pipeline. Each repo calls it when code is merged on main. The code of the tests stays in pyro-envdev.

In pyro-envdev: a reusable workflow (workflow_call).

  • Inputs: the image of each app (engine, API, platform). Default: the latest version of each.
  • Steps: start the stack, run the baseline test (pyronear/pyro-envdev#52) and the Playwright tests (pyronear/pyro-envdev#53).
  • Output: pass or fail, with the versions used saved with the result, so a failure can be reproduced.
  • It also runs in pyro-envdev itself when the tests change, with the latest version of the three apps. Today the CI only checks that the containers start.

In each repo, on merge on main. Example for pyro-api:

  1. Build the API image from the merged code.
  2. Call the pyro-envdev workflow with this API image, and the latest engine and platform.

Same in pyro-engine and new-pyro-platform. Each repo must publish its image on every merge on main, so the others can use "the latest version". This last part needs the core team (repo rights and secrets).

Done when
  • Reusable workflow in pyro-envdev, with one image input per app
  • It runs the baseline and Playwright tests, and fails when a scenario breaks
  • Versions used saved with each result
  • Each repo publishes its image on merge on main
  • Tests run on merge in pyro-api, pyro-engine and new-pyro-platform

Theme Tests · Priority P1 · Period T4-26, T1-27

Ngôn ngữ chính
Jupyter Notebook
Star
1
Fork
3
Merge trung bình
7 ngày 11 giờ
Pull request đã merge (30 ngày)
3

Chuẩn bị môi trường

  • Có Dockerfile hoặc tệp Docker Compose
  • Không có mẫu pull request
  • Không có hướng dẫn đóng góp

Bắt đầu từ đâu

  1. Đọc hết issue, rồi đọc hướng dẫn đóng góp của dự án.
  2. 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.
  3. Fork repository và làm thay đổi trên một nhánh.
  4. Mở pull request có tham chiếu số hiệu của issue.

Issue khác của pyronear/pyro-envdev

Tất cả issue của pyronear/pyro-envdev

Issue tương tự

Thêm issue về DevOps

Nhận issue mới trong hộp thư của bạn

Bản tóm tắt ngắn những issue GitHub phù hợp với người mới.