|
2 | 2 |
|
3 | 3 | <!-- TOC --> |
4 | 4 |
|
5 | | - - [Create the config folder](#create-the-config-folder) |
6 | | - - [The config file](#the-config-file) |
7 | | - - [The provider section](#the-provider-section) |
8 | | - - [Starting the service](#starting-the-service) |
9 | | - - [Using Docker](#using-docker) |
10 | | - - [Setting up GARM as a system service](#setting-up-garm-as-a-system-service) |
11 | | - - [Initializing GARM](#initializing-garm) |
12 | | - - [Setting up the webhook](#setting-up-the-webhook) |
13 | | - - [Creating a GitHub endpoint Optional](#creating-a-github-endpoint-optional) |
14 | | - - [Adding credentials](#adding-credentials) |
15 | | - - [Define a repo](#define-a-repo) |
16 | | - - [Create a pool](#create-a-pool) |
| 5 | +- [Quick start](#quick-start) |
| 6 | + - [Create the config folder](#create-the-config-folder) |
| 7 | + - [The config file](#the-config-file) |
| 8 | + - [The provider section](#the-provider-section) |
| 9 | + - [Starting the service](#starting-the-service) |
| 10 | + - [Using Docker](#using-docker) |
| 11 | + - [Setting up GARM as a system service](#setting-up-garm-as-a-system-service) |
| 12 | + - [Initializing GARM](#initializing-garm) |
| 13 | + - [Setting up the webhook](#setting-up-the-webhook) |
| 14 | + - [Creating a GitHub endpoint Optional](#creating-a-github-endpoint-optional) |
| 15 | + - [Adding credentials](#adding-credentials) |
| 16 | + - [Define a repo](#define-a-repo) |
| 17 | + - [Create a pool](#create-a-pool) |
17 | 18 |
|
18 | 19 | <!-- /TOC --> |
19 | 20 |
|
@@ -133,7 +134,7 @@ docker run -d \ |
133 | 134 | -p 80:80 \ |
134 | 135 | -v /etc/garm:/etc/garm:rw \ |
135 | 136 | -v /var/snap/lxd/common/lxd/unix.socket:/var/snap/lxd/common/lxd/unix.socket:rw \ |
136 | | - ghcr.io/cloudbase/garm:v0.1.4 |
| 137 | + ghcr.io/cloudbase/garm:v0.1.6 |
137 | 138 | ``` |
138 | 139 |
|
139 | 140 | You will notice that we also mounted the LXD unix socket from the host inside the container where the config you pasted expects to find it. If you plan to use an external provider that does not need to connect to LXD over a unix socket, feel free to remove that mount. |
@@ -166,7 +167,7 @@ Adding the `garm` user to the LXD group will allow it to connect to the LXD unix |
166 | 167 | Next, download the latest release from the [releases page](https://github.com/cloudbase/garm/releases). |
167 | 168 |
|
168 | 169 | ```bash |
169 | | -wget -q -O - https://github.com/cloudbase/garm/releases/download/v0.1.5/garm-linux-amd64.tgz | tar xzf - -C /usr/local/bin/ |
| 170 | +wget -q -O - https://github.com/cloudbase/garm/releases/download/v0.1.6/garm-linux-amd64.tgz | tar xzf - -C /usr/local/bin/ |
170 | 171 | ``` |
171 | 172 |
|
172 | 173 | We'll be running under an unprivileged user. If we want to be able to listen on any port under `1024`, we'll have to set some capabilities on the binary: |
@@ -199,7 +200,7 @@ Copy the sample `systemd` service file: |
199 | 200 |
|
200 | 201 | ```bash |
201 | 202 | wget -O /etc/systemd/system/garm.service \ |
202 | | - https://raw.githubusercontent.com/cloudbase/garm/v0.1.5/contrib/garm.service |
| 203 | + https://raw.githubusercontent.com/cloudbase/garm/v0.1.6/contrib/garm.service |
203 | 204 | ``` |
204 | 205 |
|
205 | 206 | Reload the `systemd` daemon and start the service: |
@@ -234,7 +235,7 @@ Before we can start using GARM, we need initialize it. This will create the `adm |
234 | 235 | To initialize GARM, we'll use the `garm-cli` tool. You can download the latest release from the [releases page](https://github.com/cloudbase/garm/releases): |
235 | 236 |
|
236 | 237 | ```bash |
237 | | -wget -q -O - https://github.com/cloudbase/garm/releases/download/v0.1.5/garm-cli-linux-amd64.tgz | tar xzf - -C /usr/local/bin/ |
| 238 | +wget -q -O - https://github.com/cloudbase/garm/releases/download/v0.1.6/garm-cli-linux-amd64.tgz | tar xzf - -C /usr/local/bin/ |
238 | 239 | ``` |
239 | 240 |
|
240 | 241 | Now we can initialize GARM: |
|
0 commit comments