Skip to content

Commit 50b9ece

Browse files
Added lscpu section and other updated the images
1 parent d7abe64 commit 50b9ece

7 files changed

Lines changed: 24 additions & 13 deletions

File tree

892 KB
Loading
648 KB
Loading
Binary file not shown.
617 KB
Loading
Binary file not shown.

content/learning-paths/cross-platform/gitlab-managed-runners/_index.md

Lines changed: 5 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,13 +1,14 @@
11
---
22
title: Build a Simple CI/CD pipeline with GitLab-Hosted Runners
33

4-
draft: true
5-
cascade:
6-
draft: true
4+
#draft: false
5+
#cascade:
6+
# draft: false
7+
78

89
minutes_to_complete: 40
910

10-
who_is_this_for: This is an Introductory topic for DevOps professionals who are looking to build a CI/CD pipeline with GitLab on Google Axion using GitLab-Hosted runners.
11+
who_is_this_for: This is an Introductory topic for DevOps professionals who are looking to build a CI/CD pipeline with GitLab on Google using GitLab-Hosted runners.
1112

1213
learning_objectives:
1314
- Create a GitLab Project

content/learning-paths/cross-platform/gitlab-managed-runners/results.md

Lines changed: 19 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -47,12 +47,28 @@ Gitlab offers a lot of documentation on how to create pipeline that fits differe
4747
## How to run your pipeline for testing and to check the results:
4848

4949
From the left hand side panel, Navigate to **`Build`** then to **`Pipeline`** then click on **`New pipeline`** button on the top right hand side just like the image below. In the new window click on **`New pipeline`** button again and your pipeline will start to execute.
50-
![New-Pipeline #center](_images/new-pipeline.webp)
50+
![New-Pipeline #center](_images/new-pipeline.png)
5151

5252
To check the status of your pipeline and to check the output of any of it's Jobs simply click on any of the **`Jobs`** as the image below (with red rectangle around them).
53-
![pipeline-execution #center](_images/pipeline-execution.webp)
53+
![pipeline-execution #center](_images/pipeline-execution.png)
5454

55-
You can also download the docker image that you saved in your gitlab registery and run it on an Arm64 instance/box for testing using the following bash script.
55+
You can also check the **`$lscpu`** command output which will look similar to the image below:
56+
![lscpu-output #center](_images/lscpu.png)
57+
58+
As you can see this command outputs a list of helpful information that you can use to identify the CPU that the runner is using. This can be very helpful in understanding what is the speed and the limitations of the processor that the runner is using like the family of the processor, No. of Threads, Vendor ID, Flags activated or disabled, No. of cores and the different levels of Caches and their sizes among other things.
59+
60+
This information can also help you in planning which version of your application that you can run on that processor (This is an ARM CPU so you will need an Arm compatible version of your applications to run on your runner).
61+
62+
## How to test my Generated Docker image?
63+
64+
You can download the docker image that you saved in your gitlab registery by following the steps below:
65+
66+
- Go to your Project Tab/Link then
67+
- Go to Deploy → Container Registry
68+
- You should see new-docker
69+
- With tags like latest and **`<commit-sha>`**
70+
71+
You will need to run it on an Arm64 instance/box for testing using the following bash script.
5672

5773
```bash
5874
docker login registry.gitlab.com
@@ -66,12 +82,6 @@ If everything works correctly you should see an output like in the box below.
6682
Hello from an Arm64 Docker image built on GitLab hosted Arm runners!
6783
```
6884

69-
You can also check your Gitlab Registery by going to your project then:
70-
71-
- Go to Deploy → Container Registry
72-
- You should see new-docker
73-
- With tags like latest and **`<commit-sha>`**
74-
7585
If it’s there, the registry did its job.
7686

7787

0 commit comments

Comments
 (0)