devopsdeployment-process
Solid部署流程和CI/CD配置,确保安全可靠的部署
DevOps & Infrastructure 546 stars
46 forks Updated 1 weeks ago MIT
Install
Quality Score: 89/100
Stars 20%
Recency 20%
Frontmatter 20%
Documentation 15%
Issue Health 10%
License 10%
Description 5%
Skill Content
# 部署流程与CI/CD
## 部署策略
| 策略 | 说明 | 适用场景 |
|------|------|----------|
| 蓝绿部署 | 两套环境切换 | 需要快速回滚 |
| 滚动部署 | 逐步替换实例 | 零停机部署 |
| 金丝雀部署 | 小流量验证 | 风险较高的更新 |
## CI/CD流程
```
代码提交 → 自动构建 → 自动测试 → 部署到测试环境 → 部署到生产环境
```
### GitHub Actions示例
```yaml
name: CI/CD
on: [push]
jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- name: Install
run: npm install
- name: Test
run: npm test
- name: Build
run: npm run build
- name: Deploy
run: npm run deploy
```
## 环境配置
| 环境 | 用途 | 数据 |
|------|------|------|
| local | 本地开发 | 测试数据 |
| dev | 开发测试 | 测试数据 |
| staging | 预发布 | 生产数据副本 |
| prod | 生产环境 | 真实数据 |
Details
- Author
- echoVic
- Repository
- echoVic/boss-skill
- Created
- 5 months ago
- Last Updated
- 1 weeks ago
- Language
- TypeScript
- License
- MIT
Integrates with
Similar Skills
Semantically similar based on skill content — not just same category
DevOps & Infrastructure Listed
ci-cd
CI/CD 流水线配置
1 Updated today
ryukyagamilight DevOps & Infrastructure Solid
devops-deployment
CI/CD pipelines, containerization, Kubernetes, and infrastructure as code patterns
353 Updated today
aiskillstore DevOps & Infrastructure Listed
ci-cd-pipeline
配置 CI/CD 流水线时使用。快、稳、可重复、可回滚。
3 Updated 5 days ago
Wade-DevCode