[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[PATCH v3 06/12] docs/ci: clean-up references for consistency
From: |
Alex Bennée |
Subject: |
[PATCH v3 06/12] docs/ci: clean-up references for consistency |
Date: |
Mon, 3 Jun 2024 18:53:22 +0100 |
Document we have split up build-environment by distro and update the
references that exist in the code base to be correct.
Signed-off-by: Alex Bennée <alex.bennee@linaro.org>
Message-Id: <20240529160934.982373-7-alex.bennee@linaro.org>
---
docs/devel/ci-runners.rst.inc | 13 ++++++-------
.../custom-runners/ubuntu-22.04-aarch32.yml | 2 +-
.../custom-runners/ubuntu-22.04-aarch64.yml | 2 +-
.gitlab-ci.d/custom-runners/ubuntu-22.04-s390x.yml | 2 +-
scripts/ci/setup/{ => ubuntu}/build-environment.yml | 0
5 files changed, 9 insertions(+), 10 deletions(-)
rename scripts/ci/setup/{ => ubuntu}/build-environment.yml (100%)
diff --git a/docs/devel/ci-runners.rst.inc b/docs/devel/ci-runners.rst.inc
index 7817001fb2..67b23d3719 100644
--- a/docs/devel/ci-runners.rst.inc
+++ b/docs/devel/ci-runners.rst.inc
@@ -41,19 +41,18 @@ those hosts. This would look like::
Build environment
~~~~~~~~~~~~~~~~~
-The ``scripts/ci/setup/build-environment.yml`` Ansible playbook will
-set up machines with the environment needed to perform builds and run
-QEMU tests. This playbook consists on the installation of various
-required packages (and a general package update while at it). It
-currently covers a number of different Linux distributions, but it can
-be expanded to cover other systems.
+The ``scripts/ci/setup/$DISTRO/build-environment.yml`` Ansible
+playbook will set up machines with the environment needed to perform
+builds and run QEMU tests. This playbook consists on the installation
+of various required packages (and a general package update while at
+it).
The minimum required version of Ansible successfully tested in this
playbook is 2.8.0 (a version check is embedded within the playbook
itself). To run the playbook, execute::
cd scripts/ci/setup
- ansible-playbook -i inventory build-environment.yml
+ ansible-playbook -i inventory $DISTRO/build-environment.yml
Please note that most of the tasks in the playbook require superuser
privileges, such as those from the ``root`` account or those obtained
diff --git a/.gitlab-ci.d/custom-runners/ubuntu-22.04-aarch32.yml
b/.gitlab-ci.d/custom-runners/ubuntu-22.04-aarch32.yml
index b8a0d75162..8727687e2b 100644
--- a/.gitlab-ci.d/custom-runners/ubuntu-22.04-aarch32.yml
+++ b/.gitlab-ci.d/custom-runners/ubuntu-22.04-aarch32.yml
@@ -1,5 +1,5 @@
# All ubuntu-22.04 jobs should run successfully in an environment
-# setup by the scripts/ci/setup/qemu/build-environment.yml task
+# setup by the scripts/ci/setup/ubuntu/build-environment.yml task
# "Install basic packages to build QEMU on Ubuntu 22.04"
ubuntu-22.04-aarch32-all:
diff --git a/.gitlab-ci.d/custom-runners/ubuntu-22.04-aarch64.yml
b/.gitlab-ci.d/custom-runners/ubuntu-22.04-aarch64.yml
index 374b0956c3..263a3c2140 100644
--- a/.gitlab-ci.d/custom-runners/ubuntu-22.04-aarch64.yml
+++ b/.gitlab-ci.d/custom-runners/ubuntu-22.04-aarch64.yml
@@ -1,5 +1,5 @@
# All ubuntu-22.04 jobs should run successfully in an environment
-# setup by the scripts/ci/setup/qemu/build-environment.yml task
+# setup by the scripts/ci/setup/ubuntu/build-environment.yml task
# "Install basic packages to build QEMU on Ubuntu 22.04"
ubuntu-22.04-aarch64-all-linux-static:
diff --git a/.gitlab-ci.d/custom-runners/ubuntu-22.04-s390x.yml
b/.gitlab-ci.d/custom-runners/ubuntu-22.04-s390x.yml
index 25935048e2..69ddd3e7d5 100644
--- a/.gitlab-ci.d/custom-runners/ubuntu-22.04-s390x.yml
+++ b/.gitlab-ci.d/custom-runners/ubuntu-22.04-s390x.yml
@@ -1,5 +1,5 @@
# All ubuntu-22.04 jobs should run successfully in an environment
-# setup by the scripts/ci/setup/build-environment.yml task
+# setup by the scripts/ci/setup/ubuntu/build-environment.yml task
# "Install basic packages to build QEMU on Ubuntu 22.04"
ubuntu-22.04-s390x-all-linux:
diff --git a/scripts/ci/setup/build-environment.yml
b/scripts/ci/setup/ubuntu/build-environment.yml
similarity index 100%
rename from scripts/ci/setup/build-environment.yml
rename to scripts/ci/setup/ubuntu/build-environment.yml
--
2.39.2
- [PATCH v3 00/12] testing/next: purging centos and more lcitool (pre-PR), Alex Bennée, 2024/06/03
- [PATCH v3 02/12] docs/devel: update references to centos to non-versioned container, Alex Bennée, 2024/06/03
- [PATCH v3 03/12] tests/vm: update centos.aarch64 image to 9, Alex Bennée, 2024/06/03
- [PATCH v3 08/12] .gitlab-ci.d/buildtest.yml: Use -fno-sanitize=function in the clang-system job, Alex Bennée, 2024/06/03
- [PATCH v3 10/12] tests/lcitool: Install mingw-w64-tools for the Windows cross-builds, Alex Bennée, 2024/06/03
- [PATCH v3 04/12] tests/vm: remove plain centos image, Alex Bennée, 2024/06/03
- [PATCH v3 01/12] ci: remove centos-steam-8 customer runner, Alex Bennée, 2024/06/03
- [PATCH v3 06/12] docs/ci: clean-up references for consistency,
Alex Bennée <=
- [PATCH v3 07/12] tests/lcitool: Delete obsolete centos-stream-8.yml file, Alex Bennée, 2024/06/03
- [PATCH v3 05/12] scripts/ci: remove CentOS bits from common build-environment, Alex Bennée, 2024/06/03
- [PATCH v3 11/12] tests/lcitool: generate package lists for ansible, Alex Bennée, 2024/06/03
- [PATCH v3 09/12] tests/lcitool: Bump to latest libvirt-ci and update Fedora and Alpine version, Alex Bennée, 2024/06/03
- [PATCH v3 12/12] scripts/ci: drive ubuntu/build-environment.yml from lcitool, Alex Bennée, 2024/06/03