-
Notifications
You must be signed in to change notification settings - Fork 38
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
docs(docker): add self-hosted configuration
Signed-off-by: Evgeniy Frolov <evgeniy.frolov@flant.com>
- Loading branch information
Showing
2 changed files
with
49 additions
and
0 deletions.
There are no files selected for viewing
24 changes: 24 additions & 0 deletions
24
...des/en/configurator/tab/ci/github-actions/simple/host-runner/linux/docker/infra.md.liquid
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,24 @@ | ||
> Preparing your infrastructure for self-hosting GitHub Runner | ||
|
||
### Requirements | ||
|
||
- GitHub Actions; | ||
|
||
- Host to run GitHub Runner with: | ||
|
||
- [Docker Engine](https://docs.docker.com/engine/install/). | ||
|
||
### Installing the GitHub Runner | ||
|
||
Follow [official instructions](https://docs.github.com/en/actions/hosting-your-own-runners/managing-self-hosted-runners/adding-self-hosted-runners) to install the GitHub Runner on your dedicated host. | ||
|
||
### Preparing the system for cross-platform building (optional) | ||
|
||
{% include configurator/partials/ci/cross_platform_note.md.liquid %} | ||
|
||
|
||
Register emulators on your system using qemu-user-static: | ||
|
||
```shell | ||
docker run --restart=always --name=qemu-user-static -d --privileged --entrypoint=/bin/sh multiarch/qemu-user-static -c "/register --reset -p yes && tail -f /dev/null" | ||
``` |
25 changes: 25 additions & 0 deletions
25
...des/ru/configurator/tab/ci/github-actions/simple/host-runner/linux/docker/infra.md.liquid
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,25 @@ | ||
> Подготовка инфрастурктуры для self-hosted GitHub Runner | ||
|
||
### Требования | ||
|
||
* GitHub Actions; | ||
|
||
- Хост для установки GitHub Runner, имеющий: | ||
|
||
- [Docker Engine](https://docs.docker.com/engine/install/). | ||
|
||
### Установка GitHub Runner | ||
|
||
Установите GitHub Runner на выделенный для него хост, следуя [официальным инструкциям](https://docs.github.com/ru/actions/hosting-your-own-runners/managing-self-hosted-runners/adding-self-hosted-runners). | ||
|
||
{% include configurator/partials/ci/configuring_the_container_registry.md.liquid %} | ||
|
||
### Подготовка системы к кроссплатформенной сборке (опционально) | ||
|
||
{% include configurator/partials/ci/cross_platform_note.md.liquid %} | ||
|
||
Регистрируем в системе эмуляторы с помощью образа qemu-user-static: | ||
|
||
```shell | ||
docker run --restart=always --name=qemu-user-static -d --privileged --entrypoint=/bin/sh multiarch/qemu-user-static -c "/register --reset -p yes && tail -f /dev/null" | ||
``` |