跳到主要内容
学院
初级 代码街区

CI/CD 与云

自动化构建、测试和部署。

Continuous integration tests every change the moment you push it, and continuous delivery ships the changes that pass the same careful way every time. This track uses GitHub Actions, the automation built into GitHub, which runs your jobs on fresh machines in the cloud called runners.

You start with a test pipeline for a Node.js project, then learn matrices, caching, secrets and token permissions. You finish by building a Docker image, deploying it by digest, checking its health and rolling back automatically when the check fails. A final module goes further: shared workflows, your own runners, infrastructure as code and Kubernetes.

课时
14
时长
2 小时
级别
初级

本课程的内容目前为英文。

  • 铜牌 可挑战
  • 银牌 可挑战
  • 金牌 未解锁

准备好证明自己了吗?

三场考试正等着你:铜牌、银牌和金牌。

前往考试

学完后你将能够

  • Explain CI, continuous delivery and continuous deployment, and design a pipeline that fails fast
  • Write GitHub Actions workflows with triggers, jobs, steps, matrices and caching
  • Test a Node.js project automatically on every push and pull request
  • Keep secrets out of logs and give every token only the permissions it needs
  • Build and push a Docker image, deploy it by digest and roll back when a health check fails
  • Tell a failing test from a broken workflow file, and fix both

学习旅程

  1. 1
    第 1 单元

    Automate the checks

    Why CI matters, how a workflow is built, and a Node.js pipeline with a matrix and caching.

    0 / 5
  2. 2
    第 2 单元

    Ship it

    Secrets and permissions, Docker images and digests, safe deploys with rollback, and debugging failed runs.

    0 / 5
  3. 3
    第 3 单元

    Going further

    Bigger pipelines: shared workflows, your own runners, infrastructure as code and Kubernetes.

    0 / 4

快速导航