[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [PATCH v5 3/4] Jobs based on custom runners: docs and gitlab-runner
From: |
Philippe Mathieu-Daudé |
Subject: |
Re: [PATCH v5 3/4] Jobs based on custom runners: docs and gitlab-runner setup playbook |
Date: |
Tue, 23 Feb 2021 15:14:15 +0100 |
User-agent: |
Mozilla/5.0 (X11; Linux x86_64; rv:78.0) Gecko/20100101 Thunderbird/78.7.0 |
On 2/19/21 10:58 PM, Cleber Rosa wrote:
> To have the jobs dispatched to custom runners, gitlab-runner must
> be installed, active as a service and properly configured. The
> variables file and playbook introduced here should help with those
> steps.
>
> The playbook introduced here covers a number of different Linux
> distributions and FreeBSD, and are intended to provide a reproducible
> environment.
>
> Signed-off-by: Cleber Rosa <crosa@redhat.com>
> Reviewed-by: Daniel P. Berrangé <berrange@redhat.com>
> ---
> docs/devel/ci.rst | 58 ++++++++++++++++++++++++++
> scripts/ci/setup/.gitignore | 1 +
> scripts/ci/setup/gitlab-runner.yml | 65 ++++++++++++++++++++++++++++++
> scripts/ci/setup/vars.yml.template | 13 ++++++
> 4 files changed, 137 insertions(+)
> create mode 100644 scripts/ci/setup/.gitignore
> create mode 100644 scripts/ci/setup/gitlab-runner.yml
> create mode 100644 scripts/ci/setup/vars.yml.template
> + - name: Register the gitlab-runner
> + command: "/usr/local/bin/gitlab-runner register --non-interactive
> --url {{ gitlab_runner_server_url }} --registration-token {{
> gitlab_runner_registration_token }} --executor shell --description '{{
> ansible_facts[\"distribution\"] }} {{ ansible_facts[\"distribution_version\"]
> }} {{ ansible_facts[\"architecture\"] }} ({{ ansible_facts[\"os_family\"]
> }})'"
Hmm maybe we want to register them with --run-untagged=false or
explicitly add tags like {{ ansible_facts[\"architecture\"] }}.
Also, maybe have --cache-shared by default?
And set a reasonable limits values...
--maximum-timeout 10800 # 3h
--output-limit 8192 # 8MiB
No CPU/memory limits yet.
- Re: [PATCH v5 2/4] Jobs based on custom runners: build environment docs and playbook, (continued)
- [PATCH v5 1/4] Jobs based on custom runners: documentation and configuration placeholder, Cleber Rosa, 2021/02/19
- [PATCH v5 4/4] Jobs based on custom runners: add job definitions for QEMU's machines, Cleber Rosa, 2021/02/19
- [PATCH v5 3/4] Jobs based on custom runners: docs and gitlab-runner setup playbook, Cleber Rosa, 2021/02/19
- Re: [PATCH v5 3/4] Jobs based on custom runners: docs and gitlab-runner setup playbook, Erik Skultety, 2021/02/22
- Re: [PATCH v5 3/4] Jobs based on custom runners: docs and gitlab-runner setup playbook, Wainer dos Santos Moschetta, 2021/02/22
- Re: [PATCH v5 3/4] Jobs based on custom runners: docs and gitlab-runner setup playbook, Philippe Mathieu-Daudé, 2021/02/23
- Re: [PATCH v5 3/4] Jobs based on custom runners: docs and gitlab-runner setup playbook, Philippe Mathieu-Daudé, 2021/02/23
- Re: [PATCH v5 3/4] Jobs based on custom runners: docs and gitlab-runner setup playbook,
Philippe Mathieu-Daudé <=
- Re: [PATCH v5 3/4] Jobs based on custom runners: docs and gitlab-runner setup playbook, Alex Bennée, 2021/02/23