[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[PATCH v2 05/32] gitlab: update centos-8-stream job
From: |
Alex Bennée |
Subject: |
[PATCH v2 05/32] gitlab: update centos-8-stream job |
Date: |
Wed, 15 Mar 2023 17:43:04 +0000 |
A couple of clean-ups here:
- inherit from the custom runners job for artefacts
- call check-avocado directly
- add some comments to the top about setup
Signed-off-by: Alex Bennée <alex.bennee@linaro.org>
---
.../custom-runners/centos-stream-8-x86_64.yml | 18 ++++++------------
1 file changed, 6 insertions(+), 12 deletions(-)
diff --git a/.gitlab-ci.d/custom-runners/centos-stream-8-x86_64.yml
b/.gitlab-ci.d/custom-runners/centos-stream-8-x86_64.yml
index 068b0c4335..367424db78 100644
--- a/.gitlab-ci.d/custom-runners/centos-stream-8-x86_64.yml
+++ b/.gitlab-ci.d/custom-runners/centos-stream-8-x86_64.yml
@@ -1,4 +1,9 @@
+# All centos-stream-8 jobs should run successfully in an environment
+# setup by the scripts/ci/setup/stream/8/build-environment.yml task
+# "Installation of extra packages to build QEMU"
+
centos-stream-8-x86_64:
+ extends: .custom_runner_template
allow_failure: true
needs: []
stage: build
@@ -8,15 +13,6 @@ centos-stream-8-x86_64:
rules:
- if: '$CI_PROJECT_NAMESPACE == "qemu-project" && $CI_COMMIT_BRANCH =~
/^staging/'
- if: "$CENTOS_STREAM_8_x86_64_RUNNER_AVAILABLE"
- artifacts:
- name: "$CI_JOB_NAME-$CI_COMMIT_REF_SLUG"
- when: on_failure
- expire_in: 7 days
- paths:
- - build/tests/results/latest/results.xml
- - build/tests/results/latest/test-results
- reports:
- junit: build/tests/results/latest/results.xml
before_script:
- JOBS=$(expr $(nproc) + 1)
script:
@@ -25,6 +21,4 @@ centos-stream-8-x86_64:
- ../scripts/ci/org.centos/stream/8/x86_64/configure
|| { cat config.log meson-logs/meson-log.txt; exit 1; }
- make -j"$JOBS"
- - make NINJA=":" check
- || { cat meson-logs/testlog.txt; exit 1; } ;
- - ../scripts/ci/org.centos/stream/8/x86_64/test-avocado
+ - make NINJA=":" check check-avocado
--
2.39.2
- [PATCH v2 00/32] tweaks and fixes for 8.0-rc1 (tests, plugins, docs), Alex Bennée, 2023/03/15
- [PATCH v2 01/32] tests/avocado: update AArch64 tests to Alpine 3.17.2, Alex Bennée, 2023/03/15
- [PATCH v2 02/32] tests/docker: all add DOCKER_BUILDKIT to RUNC environment, Alex Bennée, 2023/03/15
- [PATCH v2 03/32] scripts/ci: add libslirp-devel to build-environment, Alex Bennée, 2023/03/15
- [PATCH v2 04/32] scripts/ci: update gitlab-runner playbook to handle CentOS, Alex Bennée, 2023/03/15
- [PATCH v2 05/32] gitlab: update centos-8-stream job,
Alex Bennée <=
- [PATCH v2 07/32] tests/tcg: add some help output for running individual tests, Alex Bennée, 2023/03/15
- [PATCH v2 06/32] include/qemu: add documentation for memory callbacks, Alex Bennée, 2023/03/15
- [PATCH v2 15/32] *: Add missing includes of qemu/plugin.h, Alex Bennée, 2023/03/15
- [PATCH v2 14/32] *: Add missing includes of qemu/error-report.h, Alex Bennée, 2023/03/15
- [PATCH v2 16/32] include/qemu: Split out plugin-event.h, Alex Bennée, 2023/03/15
- [PATCH v2 17/32] include/qemu/plugin: Inline qemu_plugin_disable_mem_helpers, Alex Bennée, 2023/03/15
- [PATCH v2 18/32] iotests: explicitly pass source/build dir to 'check' command, Alex Bennée, 2023/03/15