Hacktoberfest 2026:维护者为十月标记出来的 issue,仍然开放、适合新手。 浏览 Hacktoberfest issue

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

未关闭
#55 0 条评论 0 个 reaction 已指派 0 人 在 GitHub 查看

还没有人认领这个 Issue。

评估

难度
4/5
预计耗时
3-5 天
新手友好度
56/100
Issue 类型
功能
描述清晰度
基本清楚
活跃度
活跃
技术栈
docker, github-actions, playwright
领域
ci-cd, testing

调研方向

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.

由索引模型根据 Issue 内容生成。

描述

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

主要语言
Jupyter Notebook
星标
1
派生
3
平均合并
7 天 11 小时
30 天内合并 PR
3

环境准备

  • 提供 Dockerfile 或 Docker Compose 文件
  • 没有 Pull Request 模板
  • 没有贡献指南

从这里开始

  1. 先读完整个 Issue,再读项目的贡献指南。
  2. 在 Issue 下留言说明你要接手 —— 这能避免两个人做同样的事。
  3. Fork 仓库,在一个分支上完成修改。
  4. 提交 Pull Request,并在描述里引用这个 Issue 编号。

pyronear/pyro-envdev 的其他 Issue

查看 pyronear/pyro-envdev 的全部 Issue

相似的 Issue

更多 DevOps Issue

把新 issue 发到你的邮箱

精选适合新手参与的 GitHub issue 摘要。