CI/CD¶
Testing and deploying automatically: pipelines in GitHub Actions and GitLab CI, watching runs from the terminal, keeping secrets out of the code and catching mistakes before they are pushed.
Basics: Pipelines, jobs and runners, what to install, a workflow for GitHub and one for GitLab
GitHub Actions¶
-
List, watch and rerun workflow runs.
-
Start, enable and disable workflows.
-
Store passwords and keys as secrets.
-
Run workflows locally in Docker.
GitLab CI¶
-
Run GitLab jobs on your own server.
-
Pipelines from the terminal.
Quality before the push¶
-
Find mistakes in workflow files.
-
Check any YAML file.
-
Checks before every commit.