Skip to content

Commit b45903b

Browse files
authored
Add badges and README.md (#6)
* feat: add badges * docs: add README.md * update content
1 parent 90b7ed2 commit b45903b

3 files changed

Lines changed: 45 additions & 32 deletions

File tree

content/_index.md

Lines changed: 8 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -45,16 +45,18 @@ nice to have → 🟡
4545

4646
Your score will generate one of the following badges:
4747

48-
* WIP: 0%
49-
* PASSING: 1–49%
50-
* BRONZE: 50–69%
51-
* SILVER: 70–89%
52-
* GOLD: 90–100%
48+
| Level | Score Range | Badge |
49+
|---------|--------------| ------|
50+
| WIP | 0% | ![WIP](https://img.shields.io/badge/DevOps%20Maturity-WIP-red.svg) |
51+
| PASSING | 1–49% | ![PASSING](https://img.shields.io/badge/DevOps%20Maturity-PASSING-green.svg) |
52+
| BRONZE | 50–69% | ![BRONZE](https://img.shields.io/badge/DevOps%20Maturity-BRONZE-yellow.svg) |
53+
| SILVER | 70–89% | ![SILVER](https://img.shields.io/badge/DevOps%20Maturity-SILVER-silver.svg) |
54+
| GOLD | 90–100% | ![GOLD](https://img.shields.io/badge/DevOps%20Maturity-GOLD-gold.svg) |
5355

5456
---
5557

5658
## FAQ
5759

5860
### What tools can be used to caculate your score?
5961

60-
You can used [devops-maturity](https://pypi.org/project/devops-maturity) CLI to caculate your score.
62+
You can used [devops-maturity](https://github.com/devops-maturity/devops-maturity) which support web UI and CLI to calculate your score automatically.

content/_index.zh.md

Lines changed: 28 additions & 26 deletions
Original file line numberDiff line numberDiff line change
@@ -16,39 +16,41 @@ DevOps 成熟度规范是一套 DevOps 最佳实践指南,旨在提升软件
1616

1717
必选 → 🟢  可选 → 🟡
1818

19-
| **类别** | **评估项** | **要求** | **权重** |
20-
|-----------------------|--------------------------------------------|----------|----------|
21-
| CI/CD 基础 | 构建指定分支 | 🟢 | 1 |
22-
| | Pull Request 自动构建 | 🟢 | 1 |
23-
| | 干净环境构建 | 🟡 | 0.5 |
24-
| 质量保障 | 自动化测试:功能测试 | 🟢 | 1 |
25-
| | 自动化测试:性能测试 | 🟢 | 1 |
26-
| | 代码覆盖率 | 🟡 | 0.5 |
27-
| | 可访问性测试 | 🟡 | 0.5 |
28-
| 安全 | 安全扫描 | 🟢 | 1 |
29-
| | 许可证扫描 | 🟡 | 0.5 |
30-
| 供应链安全 | 构建链文档化 | 🟢 | 1 |
31-
| | CICD 流水线代码化 | 🟢 | 1 |
32-
| | 制品签名 | 🟡 | 0.5 |
33-
| | 包管理器制品下载 | 🟡 | 0.5 |
34-
| 分析 | 质量门禁 | 🟡 | 0.5 |
35-
| | 代码风格检查 | 🟡 | 0.5 |
36-
| | 静态代码分析 | 🟡 | 0.5 |
37-
| | 动态代码分析 | 🟡 | 0.5 |
38-
| 报告 | 邮件/Slack 报告功能 | 🟢 | 1 |
19+
| **类别** | **评估项** | **要求** | **权重** |
20+
|-----------------|--------------------------|----------|----------|
21+
| CI/CD 基础 | 构建指定分支 | 🟢 | 1 |
22+
| | Pull Request 自动构建 | 🟢 | 1 |
23+
| | 干净环境构建 | 🟡 | 0.5 |
24+
| 质量保障 | 自动化测试:功能测试 | 🟢 | 1 |
25+
| | 自动化测试:性能测试 | 🟢 | 1 |
26+
| | 代码覆盖率 | 🟡 | 0.5 |
27+
| | 可访问性测试 | 🟡 | 0.5 |
28+
| 安全 | 安全扫描 | 🟢 | 1 |
29+
| | 许可证扫描 | 🟡 | 0.5 |
30+
| 供应链安全 | 构建链文档化 | 🟢 | 1 |
31+
| | CICD 流水线代码化 | 🟢 | 1 |
32+
| | 制品签名 | 🟡 | 0.5 |
33+
| | 包管理器制品下载 | 🟡 | 0.5 |
34+
| 分析 | 质量门禁 | 🟡 | 0.5 |
35+
| | 代码风格检查 | 🟡 | 0.5 |
36+
| | 静态代码分析 | 🟡 | 0.5 |
37+
| | 动态代码分析 | 🟡 | 0.5 |
38+
| 报告 | 邮件/Slack 报告功能 | 🟢 | 1 |
3939

4040
## 徽章等级
4141

4242
你的得分将获得以下徽章之一:
4343

44-
* WIP: 0%
45-
* PASSING: 1–49%
46-
* BRONZE: 50–69%
47-
* SILVER: 70–89%
48-
* GOLD: 90–100%
44+
| 等级 | 分数范围 | 徽章 |
45+
|-------|---------|-------|
46+
| WIP | 0% | ![WIP](https://img.shields.io/badge/DevOps%20Maturity-WIP-red.svg) |
47+
| PASSING | 1–49% | ![PASSING](https://img.shields.io/badge/DevOps%20Maturity-PASSING-green.svg) |
48+
| BRONZE | 50–69% | ![BRONZE](https://img.shields.io/badge/DevOps%20Maturity-BRONZE-yellow.svg) |
49+
| SILVER | 70–89% | ![SILVER](https://img.shields.io/badge/DevOps%20Maturity-SILVER-silver.svg) |
50+
| GOLD | 90–100% | ![GOLD](https://img.shields.io/badge/DevOps%20Maturity-GOLD-gold.svg) |
4951

5052
## 常见问题
5153

5254
### 如何计算得分?
5355

54-
您可以使用 [devops-maturity](https://pypi.org/project/devops-maturity) CLI 工具自动计算得分
56+
你可以使用 [devops-maturity](https://github.com/devops-maturity/devops-maturity) 项目中的 Web UI 和 CLI 工具来计算你的 DevOps 成熟度得分

static/README.md

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,9 @@
1+
# The DevOps Maturity Specification Static Site
2+
3+
[![Website](https://img.shields.io/static/v1?label=Website&message=https://devops-maturity.github.io&color=yellow)](https://devops-maturity.github.io/)
4+
5+
Welcome to the DevOps Maturity Specification static site repository!
6+
7+
## Contributing
8+
9+
Please open issues or pull requests on [GitHub](https://github.com/devops-maturity/spec) if you find any problems or want to contribute improvements.

0 commit comments

Comments
 (0)