Test the ecs-discovery.py script in the CI
维护者通常 1 天内回复
@LDiazN 已经在做这个了。
开始于 2025年2月18日。
评估
这个 Issue 还没有评估数据。
描述
The ecs-discovery.py script introduced in https://github.com/ooni/devops/pull/186 allows ECS tasks discovery and it's called periodically with a cronjob in the monitoring host to collect tasks details (EC2 host with private IP, running port) that are used for file-based discovery of scrape targets in Prometheus.
This script is quite long and a bit complex, so it's a good idea to add some testing for it, see https://github.com/ooni/devops/pull/186#discussion_r1959487649
As a result, the CI should be able to check if this script is able to write the right json and that it has the right format for Prometheus
- 主要语言
- HCL
- 星标
- 4
- 派生
- 15
- 平均合并
- 3 天 1 小时
- 30 天内合并 PR
- 9
环境准备
这个项目没有提供开发容器、Dockerfile 或贡献指南,环境需要你自己搭建:先看它的 README,通用步骤见我们的新手贡献指南。
从这里开始
- 先读完整个 Issue,再读项目的贡献指南。
- 在 Issue 下留言说明你要接手 —— 这能避免两个人做同样的事。
- Fork 仓库,在一个分支上完成修改。
- 提交 Pull Request,并在描述里引用这个 Issue 编号。
ooni/devops 的其他 Issue
-
难度 3/5 1-2 天 新手友好度 58/100
维护者通常 1 天内回复
-
难度 5/5 一周以上 新手友好度 35/100
维护者通常 1 天内回复
-
难度 4/5 3-5 天 新手友好度 35/100
维护者通常 1 天内回复
-
难度 3/5 1-2 天 新手友好度 48/100
维护者通常 1 天内回复
-
难度 3/5 1-2 天 新手友好度 55/100
维护者通常 1 天内回复