Chuyển tới nội dung chính

Tìm hiểu các thành phần Pipeline

Field reference cho các thành phần giới thiệu ở Tạo và cấu hình Pipeline.

ComponentDescription
Pipeline NameTên của Pipeline.
DescriptionMô tả Pipeline.
Pipeline SourceNguồn kích hoạt Pipeline: Git repository hoặc Container Registry. Xem Cấu hình Pipeline Source để cập nhật trên 1 Pipeline đã có.
Stage1 giai đoạn xử lý, ví dụ Build, Test, hoặc Deploy.
Job1 tác vụ thực thi bên trong Stage.
Serial JobJob chạy tuần tự.
Parallel JobJob chạy song song với Job khác trong cùng Stage.
SaveLưu Pipeline. Yêu cầu có Pipeline Source, ít nhất 1 Stage, và ít nhất 1 Job.

Loại Job

Thêm 1 Job sẽ mở catalog nhóm theo category. Các loại hiện có:

CategoryJob typeDescription
BuildBuild and pushBuild Docker image từ Dockerfile trong Pipeline Source và push lên container registry. Cấu hình đường dẫn Dockerfile, build context directory, và registry/repository đích. Xem Thêm Build and push job.
DeployKubernetes deployDeploy ứng dụng lên Environment Kubernetes. Xem Cấu hình Deploy & Deploy ứng dụng.
OperationsKubectlChạy 1 thao tác kubectl có cấu trúc (Apply, Get, Logs, Delete, và nhiều thao tác khác) lên cluster; Apply luôn có dry-run server-side trước. Xem Thêm Kubectl job.
SecurityTrivy scanScan container image tìm lỗ hổng. Xem Thêm security scan job.
SecuritySonarQube scanChạy phân tích tĩnh và kiểm tra Quality Gate. Xem Thêm security scan job.
GovernanceApprovalTạm dừng Pipeline chờ approver quyết định. Xem Thêm approval gate.

Xem thêm