Update nexus wiki content
This commit is contained in:
45
wiki/entities/GitHub Actions.md
Normal file
45
wiki/entities/GitHub Actions.md
Normal file
@@ -0,0 +1,45 @@
|
||||
---
|
||||
title: "GitHub Actions"
|
||||
type: entity
|
||||
tags: [CI/CD, Automation, DevOps]
|
||||
sources: [engineering-devops-automator]
|
||||
last_updated: 2026-05-01
|
||||
---
|
||||
|
||||
# GitHub Actions
|
||||
|
||||
## 基本信息
|
||||
- **类型**:CI/CD 平台
|
||||
- **开发商**:GitHub (Microsoft)
|
||||
- **官网**:https://github.com/features/actions
|
||||
|
||||
## 定义
|
||||
GitHub Actions 是 GitHub 提供的自动化工作流平台,支持在 GitHub 仓库内构建、测试和部署代码,实现持续集成和持续交付。
|
||||
|
||||
## 核心组件
|
||||
- **Workflow**:自动化工作流,定义在 `.github/workflows/` 目录
|
||||
- **Job**:工作流中的一个执行单元
|
||||
- **Step**:Job 中的具体步骤,可以是 shell 命令或 Action
|
||||
- **Action**:可复用的工作流步骤,可以是社区构建或官方维护
|
||||
- **Runner**:执行 Job 的虚拟机(GitHub 托管或自托管)
|
||||
|
||||
## 在 DevOps Automator 中的角色
|
||||
- DevOps Automator 默认使用的 CI/CD 平台
|
||||
- 用于构建端到端流水线:security-scan → test → build → deploy
|
||||
- 支持 Blue-Green 部署的自动化执行
|
||||
|
||||
## 相关概念
|
||||
- [[CI/CD Pipeline]]
|
||||
- [[Blue-Green Deployment]]
|
||||
- [[Zero-Downtime Deployment]]
|
||||
|
||||
## 相关工具
|
||||
- Jenkins(开源 CI/CD)
|
||||
- GitLab CI(GitLab 内置 CI/CD)
|
||||
- ArgoCD(GitOps 持续交付)
|
||||
- Atlantis(Terraform CI/CD 自动化)
|
||||
|
||||
## Aliases
|
||||
- GitHub Actions
|
||||
- GHA
|
||||
- GitHub Workflows
|
||||
Reference in New Issue
Block a user