End-to-end CI: reusable workflow, run on merge in engine, API and platform
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
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ả
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:
- Build the API image from the merged code.
- 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
- Đọ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 pyronear/pyro-envdev
-
enhancement good first issue help wanted
Độ khó 3/5 1-2 ngày Mức phù hợp với người mới 64/100
pyronear/pyro-envdev#64 ·
-
enhancement help wanted
Độ khó 3/5 1-2 ngày Mức phù hợp với người mới 68/100
pyronear/pyro-envdev#63 ·
-
enhancement help wanted
Độ khó 4/5 3-5 ngày Mức phù hợp với người mới 48/100
pyronear/pyro-envdev#62 ·
-
Playwright test: alert historyĐang mởenhancement good first issue help wanted
Độ khó 3/5 1-2 ngày Mức phù hợp với người mới 57/100
pyronear/pyro-envdev#61 ·
-
Playwright test: acknowledge an alertCó thể đã có người làm @princecherry9905 đã nhận 2 ngày trước. Đang mởenhancement good first issue help wanted
Độ khó 3/5 1-2 ngày Mức phù hợp với người mới 57/100
pyronear/pyro-envdev#60 · 1 bình luận ·
Tất cả issue của pyronear/pyro-envdev
Issue tương tự
-
Git for Windows shouldn't be locked on their `.windows.1` versionsCó thể đã có người làm Có pull request liên kết đang mở hoặc đã được merge. Đang mởgit windows
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 78/100
jenkins-infra/packer-images#3179 ·
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
Maintainer thường phản hồi trong vòng 2 ngày
-
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 67/100
s3s-project/s3s#1009 ·
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 67/100
MISP/misp-workbench#496 ·
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 84/100
praetorianer777/Dynamo#53 ·
Maintainer thường phản hồi trong vòng 1 ngày