Cơ BảnCI/CD iconCI/CD

GitLab CI, Jenkins, CircleCI khác gì so với GitHub Actions?

GitHub Actions (built-in GitHub, free cho public repo): YAML trong .github/workflows/, marketplace lớn nhất, ưu tiên cho dự án đã ở GitHub. GitLab CI (built-in GitLab): .gitlab-ci.yml ở root repo, runner self-host miễn phí, auto-DevOps stack đầy đủ — phù hợp self-hosted enterprise. Jenkins (self-hosted, open-source): pipeline-as-code dùng Jenkinsfile (Groovy DSL), plugin ecosystem khổng lồ nhưng phải tự maintain server + upgrade plugins, hợp công ty có sẵn ops team. CircleCI (cloud-first): docker-based executors, parallelism mạnh, free tier nhỏ — hợp startup chạy nhiều jobs song song. Khi nào chọn cái nào: project ở GitHub → Actions; ở GitLab → GitLab CI (tích hợp issue/CR); enterprise on-premise → Jenkins; cần fast parallel test cloud → CircleCI hoặc Buildkite. Tiêu chí đánh giá: pricing (per-minute vs per-user), runner location (cloud vs self-hosted), secret management, caching primitives, matrix builds, approval gates.

Tránh lock-in: viết pipeline portable (shell scripts trong repo, gọi qua bất kỳ CI nào) — giúp migrate dễ dàng.

Xem toàn bộ CI/CD cùng filter theo level & chủ đề con.

Mở danh sách CI/CD