Using GitLab CI/CD to test our code
GitLab has a built-in CI/CD tool called GitLab CI/CD. To use GitLab CI/CD, you’ll need a GitLab account. To interact with Git repositories hosted on GitLab, you’ll also need to associate an SSH key from your machine to your GitLab account.
Note
Instructions for adding an SSH key can be found in the GitLab documentation at https://docs.gitlab.com/ee/ssh/index.html.
Once you’ve created an account, you can create a new repository using the Create blank project action, as shown in the following screenshot. If you are an existing user, you can use the Create new project button at the top right of the Projects page.
Figure 13.7 – The GitLab Projects page with the New Project button
Regardless of your choice, you will be taken to the New project page, where you can create a project by giving it a name and a slug, as seen in the following screenshot:
Figure 13.8...