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

Test the ecs-discovery.py script in the CI

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

维护者通常 1 天内回复

@LDiazN 已经在做这个了。

开始于 2025年2月18日。

评估

这个 Issue 还没有评估数据。

描述

funder/otfcred2025

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,通用步骤见我们的新手贡献指南。

从这里开始

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

ooni/devops 的其他 Issue

查看 ooni/devops 的全部 Issue

把新 issue 发到你的邮箱

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