[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 14:55:08 +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: Create a user for the gitlab-runner service
> + user:
> + user: gitlab-runner
> + group: gitlab-runner
> + comment: GitLab Runner
> + home: /home/gitlab-runner
> + shell: /bin/bash
> +
> + - name: Remove the .bash_logout file when on Ubuntu systems
> + file:
> + path: /home/gitlab-runner/.bash_logout
> + state: absent
> + when: "ansible_facts['distribution'] == 'Ubuntu'"
Can we have a {{gitlab_runner_homedir}} in vars.yml?
- 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é <=
- 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, Alex Bennée, 2021/02/23