README.md 1.01 KB
Newer Older
1 2 3 4 5
Use this script inside a buildsystem to avoid conflics with your current system

Dependencies:
  - python3
  - libisoburn
BrLi's avatar
BrLi committed
6
  - efitools
7
  - syslinux
Luca Giambonini's avatar
Luca Giambonini committed
8 9 10 11 12 13

# gitlab-runner
## Installation
Install gitlab-runner on our host and start it.

Register the gitlab-runner [https://docs.gitlab.com/runner/register/index.html]
Luca Giambonini's avatar
Luca Giambonini committed
14
Use "https://code.chakralinux.org/" as coordinator, and as tag add 'docker'.
Luca Giambonini's avatar
Luca Giambonini committed
15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30
Set docker as executor and docker again for the base image.

edit the file '/etc/gitlab-runner/config.toml' and change from false to true the 'privileged = true' line to enable the privileged mode in the docker continer. Add also cap_add = ["SYS_ADMIN"] to be able to use fuse to create the .iso file.

```
[[runners]]
  name = "eevee-ISO"
  url = "https://code.chakralinux.org/"
  token = "123123123123"
  executor = "docker"
  [runners.docker]
    tls_verify = false
    image = "docker"
    privileged = true
    cap_add = ["SYS_ADMIN"]
    disable_cache = false
Luca Giambonini's avatar
Luca Giambonini committed
31
    volumes = ["/cache", "/dev:/dev:ro"]
Luca Giambonini's avatar
Luca Giambonini committed
32 33
    shm_size = 0
  [runners.cache]
BrLi's avatar
BrLi committed
34
```