mirror of
https://github.com/netdata/libbpf.git
synced 2026-04-01 22:29:06 +08:00
ci: add Ubuntu instructions for s390x-self-hosted-builder
There is a new Ubuntu-based builder, and setup steps for it are slightly different from what we had on the old RHEL-based one. Signed-off-by: Ilya Leoshkevich <iii@linux.ibm.com>
This commit is contained in:
committed by
Andrii Nakryiko
parent
f1085fe3c3
commit
0ee425cdd7
@@ -10,7 +10,8 @@ the master branch.
|
|||||||
### Install prerequisites.
|
### Install prerequisites.
|
||||||
|
|
||||||
```
|
```
|
||||||
$ sudo dnf install docker
|
$ sudo dnf install docker # RHEL
|
||||||
|
$ sudo apt install -y docker.io # Ubuntu
|
||||||
```
|
```
|
||||||
|
|
||||||
### Add services.
|
### Add services.
|
||||||
@@ -53,14 +54,15 @@ get the latest OS security fixes, use the following commands:
|
|||||||
$ sudo docker build \
|
$ sudo docker build \
|
||||||
--pull \
|
--pull \
|
||||||
-f actions-runner-libbpf.Dockerfile \
|
-f actions-runner-libbpf.Dockerfile \
|
||||||
-t iiilinuxibmcom/actions-runner-libbpf
|
-t iiilinuxibmcom/actions-runner-libbpf \
|
||||||
|
.
|
||||||
$ sudo systemctl restart actions-runner-libbpf
|
$ sudo systemctl restart actions-runner-libbpf
|
||||||
```
|
```
|
||||||
|
|
||||||
## Removing persistent data
|
## Removing persistent data
|
||||||
|
|
||||||
The `actions-runner-libbpf` service stores various temporary data, such as
|
The `actions-runner-libbpf` service stores various temporary data, such as
|
||||||
runner registration information, work directories and logs, in the
|
runner registration information, work directories and logs, in the
|
||||||
`actions-runner-libbpf` volume. In order to remove it and start from scratch,
|
`actions-runner-libbpf` volume. In order to remove it and start from scratch,
|
||||||
e.g. when upgrading the runner or switching it to a different repository, use
|
e.g. when upgrading the runner or switching it to a different repository, use
|
||||||
the following commands:
|
the following commands:
|
||||||
|
|||||||
Reference in New Issue
Block a user