Commit Graph

82 Commits

Author SHA1 Message Date
Patrick Talbert 8aa8aa334b Merge tag 'kernel-5.14.0-570.3.1.el9_6' into 'main'
This brings all the post-branching changes from 9.6 into c9s.

- redhat/rhel/src/kernel/rhel-9!3499+:
  - dropped .gitlab-ci.yml changes
- redhat/rhel/src/kernel/rhel-9!3429+:
  - dropped .gitlab-ci.yml, Makefile.rhelver, Makefile.variables
    and self-test data changes

Signed-off-by: Patrick Talbert <ptalbert@redhat.com>
2025-03-10 17:24:30 -04:00
Patrick Talbert 28fc3f723d [redhat] gitlab-ci: change automotive_disttag to .el9_6iv
JIRA: INTERNAL
Upstream status: RHEL only

Signed-off-by: Patrick Talbert <ptalbert@redhat.com>
2025-03-05 05:59:04 -05:00
CKI KWF Bot 2ad9e6593d Merge: gitlab-ci: add jobs for rhel9 automotive pipelines
MR: https://gitlab.com/redhat/rhel/src/kernel/rhel-9/-/merge_requests/3456

Part of https://gitlab.com/cki-project/kernel-ark/-/issues/175

Upstream Status: RHEL-only

JIRA: INTERNAL

Signed-off-by: Michael Hofmann <mhofmann@redhat.com>

Approved-by: Bruno Goncalves <bgoncalv@redhat.com>
Approved-by: Tales da Aparecida <tales.aparecida@redhat.com>
Approved-by: CKI KWF Bot <cki-ci-bot+kwf-gitlab-com@redhat.com>

Merged-by: CKI KWF Bot <cki-ci-bot+kwf-gitlab-com@redhat.com>
2025-02-28 15:19:03 +00:00
Michael Hofmann fb0944ea2e
gitlab-ci: add jobs for rhel9 automotive pipelines
Part of https://gitlab.com/cki-project/kernel-ark/-/issues/175

Upstream Status: RHEL-only

JIRA: INTERNAL

Signed-off-by: Michael Hofmann <mhofmann@redhat.com>
2025-02-27 14:48:16 +01:00
Michael Hofmann 19ee250cb2
gitlab-ci: clean up trigger job naming and template inheritance
Prepares for the rhel9 automotive variant jobs.

Part of https://gitlab.com/cki-project/kernel-ark/-/issues/175

Upstream Status: RHEL-only

JIRA: INTERNAL

Signed-off-by: Michael Hofmann <mhofmann@redhat.com>
2025-02-27 14:43:08 +01:00
Patrick Talbert 6f1e8eb807 redhat: change DIST to .el9_6
JIRA: INTERNAL
Upstream Status: RHEL only

This ensures consistency in CKI & brew builds.

Signed-off-by: Patrick Talbert <ptalbert@redhat.com>
2025-02-24 11:06:45 -05:00
Michael Hofmann caa92ac466
gitlab-ci: enable rt/aarch64 for RHEL>=9.6
Part of https://gitlab.com/cki-project/kernel-workflow/-/issues/808

Upstream Status: RHEL-only

JIRA: INTERNAL

Signed-off-by: Michael Hofmann <mhofmann@redhat.com>
2025-01-28 21:40:22 +01:00
Juri Lelli c98abab798 CI: Enable pipelines for rt-64k variant
Upstream Status: RHEL-only
JIRA: https://issues.redhat.com/browse/RHEL-70289

Suggested-by: Michael Hofmann <mhofmann@redhat.com>
Signed-off-by: Juri Lelli <juri.lelli@redhat.com>
2025-01-24 11:15:33 -05:00
Michael Hofmann 66593df99d
gitlab-ci: provide consistent kcidb_tree_name
Part of https://gitlab.com/cki-project/pipeline-data/-/issues/9

JIRA: INTERNAL

Upstream Status: RHEL-only

Signed-off-by: Michael Hofmann <mhofmann@redhat.com>
2024-10-29 15:17:07 +01:00
Michael Hofmann b7febb967e
gitlab-ci: allow coverage template to disable debug builds again
The .coverage template is supposed to disable debug builds. This was
implemented via test_debug=False before [1].

As .9-common now sets debug_architectures to the complete set, this
needs to be reverted in the .coverage template as well [2].

To actually make that effective, reorder the templates slightly so that
the .coverage template always comes after .9-common. This was already
the case for c9s_automotive_baseline_coverage, but not yet for
c9s_baseline_coverage_build and rhel9_baseline_coverage_build.

JIRA: INTERNAL
Upstream Status: RHEL-only

Fixes https://gitlab.com/cki-project/pipeline-definition/-/issues/236

[1] https://gitlab.com/cki-project/pipeline-definition/-/issues/225
[2] https://gitlab.com/cki-project/pipeline-definition/-/merge_requests/1970

Signed-off-by: Michael Hofmann <mhofmann@redhat.com>
2024-04-09 14:39:33 +02:00
Michael Hofmann 0bf72f4ed7
gitlab-ci: enable arm64/s390x/ppc64le debug builds
As discussed in [1], enable debug builds, but not tests.

Tests are disabled via [2] and [3].

Bugzilla: INTERNAL
Upstream Status: RHEL only

[1] https://gitlab.com/cki-project/pipeline-definition/-/issues/225
[2] https://gitlab.com/cki-project/pipeline-definition/-/merge_requests/1914
[3] https://gitlab.com/redhat/centos-stream/tests/kernel/kpet-db/-/merge_requests/1190

Signed-off-by: Michael Hofmann <mhofmann@redhat.com>
2024-02-26 20:21:01 +01:00
Nikolai Kondrashov 8a35241737 CI: Remove -rt suffix from kpet_tree_name values
Remove the deprecated `-rt` suffix from `kpet_tree_name` variable
values in the .gitlab-ci.yml file.

Concerns: https://gitlab.com/cki-project/pipeline-definition/-/issues/211

Concerns: https://gitlab.com/redhat/centos-stream/tests/kernel/kpet-db/-/issues/130

Bugzilla: INTERNAL

Upstream Status: RHEL-only

Signed-off-by: Nikolai Kondrashov <Nikolai.Kondrashov@redhat.com>
2023-10-23 19:00:56 +03:00
Nikolai Kondrashov 2c77fb46d7 CI: Remove unused kpet_tree_family
Remove the no-longer used `kpet_tree_family` option from the
.gitlab-ci.yml file.

Concerns: https://gitlab.com/cki-project/pipeline-definition/-/issues/206

Bugzilla: INTERNAL

Upstream Status: RHEL-only

Signed-off-by: Nikolai Kondrashov <Nikolai.Kondrashov@redhat.com>
2023-10-06 13:50:15 +03:00
Vitaly Kuznetsov b8dbb3d3da CI: Enable 'dist-self-test' for C9S/RHEL9
Bugzilla: INTERNAL
Upstream Status: RHEL-only

Signed-off-by: Vitaly Kuznetsov <vkuznets@redhat.com>
2023-09-25 14:35:37 +02:00
bgrech 03f484c7ab Update tree for CI (kpet-db) to autosd-rt from autosd-rhivos-rt
Upstream Status: RHEL-only
Bugzilla: INTERNAL

Signed-off-by: bgrech <bgrech@redhat.com>
2023-08-17 10:41:44 -05:00
Michael Hofmann 32fe5d768b
CI: provide kpet_tree_name for non-RHEL pipelines
For RHEL kernels, kpet_tree_family is used to select the correct kpet-db
tree per stream. For all other kernels, kpet_tree_family is passed
through to kpet_tree_name directly.

To start the process of getting rid of kpet_tree_family, specify
kpet_tree_name directly for non-RHEL kernels.

Bugzilla: INTERNAL
Upstream Status: RHEL-only

Signed-off-by: Michael Hofmann <mhofmann@redhat.com>
2023-06-30 09:54:41 +02:00
Michael Hofmann cfa59c9441
CI: Fix kernel-64k DataWarehouse name
This only affects where the pipelines appear in DataWarehouse.

Bugzilla: INTERNAL
Upstream Status: RHEL-only

Signed-off-by: Michael Hofmann <mhofmann@redhat.com>
2023-03-06 21:20:31 +01:00
Michael Hofmann c06eb1102c CI: Remove realtime branch pipelines
Bugzilla: INTERNAL
Upstream Status: RHEL-only

Signed-off-by: Michael Hofmann <mhofmann@redhat.com>
2023-03-06 21:18:02 +01:00
Michael Hofmann 4e2b383579 CI: Remove realtime_check pipelines
Bugzilla: INTERNAL
Upstream Status: RHEL-only

Signed-off-by: Michael Hofmann <mhofmann@redhat.com>
2023-03-06 21:18:01 +01:00
Michael Hofmann eb73553c3d CI: Add pipelines for kernel-rt variant
Bugzilla: INTERNAL
Upstream Status: RHEL-only

Signed-off-by: Michael Hofmann <mhofmann@redhat.com>
2023-03-06 21:18:01 +01:00
Veronika Kabatova 26f48272ce CI: Add pipelines for kernel-64k variant for RHEL
So we don't have to update CI immediately after RHEL branches from c9s.

Bugzilla: INTERNAL
Upstream Status: RHEL-only

Signed-off-by: Veronika Kabatova <vkabatov@redhat.com>
2023-02-07 16:08:49 +01:00
Veronika Kabatova b0a3b48048 CI: Enable pipelines for 64k variant
Upstream Status: RHEL-only
Bugzilla: INTERNAL

Signed-off-by: Veronika Kabatova <vkabatov@redhat.com>
2023-02-07 16:08:49 +01:00
Michael Hofmann d860a36b42
gitlab-ci: use CI templates from production branch
The kernel_templates.yml file is pulled directly from
pipeline-definition in the parent pipeline. While CKI can test new
versions of the child pipelines via the cki-bot instrumentation, that is
not possible for anything related to the parent pipeline.

To at least make it possible to test-run changes before merging an MR in
pipeline-definition, pull the kernel_templates.yml file from the
production branch. This branch can be updated via a manual job from
pipeline-definition MRs and easily rolled back without going through a
full git revert cycle.

Bugzilla: INTERNAL
Upstream Status: RHEL-only

Signed-off-by: Michael Hofmann <mhofmann@redhat.com>
2023-01-24 17:12:03 +01:00
Frantisek Hrbata 85cda502ce Merge: Updates for automotive_full pipeline
MR: https://gitlab.com/redhat/centos-stream/src/kernel/centos-stream-9/-/merge_requests/1636

Update automotive tree for CI (kpet-db) to autosd-rhivos-rt from c9s-rt

Upstream Status: RHEL-only

Bugzilla: INTERNAL

Signed-off-by: Brian Grech <bgrech@redhat.com>

Approved-by: Michael Hofmann <mhofmann@redhat.com>
Approved-by: Serhii Turivnyi <sturivny@redhat.com>
Approved-by: Frantisek Hrbata <fhrbata@redhat.com>
Approved-by: Veronika Kabátová <veruukabatova@protonmail.com>

Signed-off-by: Frantisek Hrbata <fhrbata@redhat.com>
2022-11-23 02:46:02 -05:00
bgrech e1f172683e Update automotive tree for CI (kpet-db) to autosd-rhivos-rt from c9s-rt
Upstream Status: RHEL-only
Bugzilla: INTERNAL

Signed-off-by: bgrech <bgrech@redhat.com>
2022-11-17 08:56:57 -06:00
Veronika Kabatova af4f56f666 CI: Remove deprecated variable
The P9 builder is now used by default and the variable is deprecated.

Upstream Status: RHEL-only
Bugzilla: INTERNAL

Signed-off-by: Veronika Kabatova <vkabatov@redhat.com>
2022-11-14 17:32:52 +01:00
Veronika Kabatova b50cb077ae CI: Add automotive-check for rt branches
The automotive team needs a test pipeline to learn about potential
problems introduced into rt, and conflicts between rt and automotive
branches. This is especially needed for aarch64 as rt is not supported
on that architecture.

Bugzilla: INTERNAL
Upstream Status: RHEL-only

Signed-off-by: Veronika Kabatova <vkabatov@redhat.com>
2022-09-22 17:14:55 +02:00
Herton R. Krzesinski f5ca5fbef8 Merge: CI: Switch to c9s container image on quay.io
MR: https://gitlab.com/redhat/centos-stream/src/kernel/centos-stream-9/-/merge_requests/1280

Container images on registry.gitlab.com fall under the proposed storage
limitation of 10GB per repo. Prepare for that by moving all builder
container image use to quay.io.

Bugzilla: INTERNAL
Upstream Status: RHEL-only

Signed-off-by: Michael Hofmann <mhofmann@redhat.com>

Approved-by: Veronika Kabátová <veruukabatova@protonmail.com>
Approved-by: Iñaki Malerba <inaki@malerba.space>

Signed-off-by: Herton R. Krzesinski <herton@redhat.com>
2022-08-19 21:36:22 +00:00
Michael Hofmann a609b3ab04
CI: Switch to c9s container image on quay.io
Container images on registry.gitlab.com fall under the proposed storage
limitation of 10GB per repo. Prepare for that by moving all builder
container image use to quay.io.

Bugzilla: INTERNAL
Upstream Status: RHEL-only

Signed-off-by: Michael Hofmann <mhofmann@redhat.com>
2022-08-18 21:19:21 +02:00
Veronika Kabatova 0f327807fd CI: Add automotive checks
Bugzilla: INTERNAL
Upstream Status: RHEL-only

Signed-off-by: Veronika Kabatova <vkabatov@redhat.com>
2022-08-08 13:40:43 +02:00
Veronika Kabatova c5935730bb CI: Drop baseline runs
These are now substituted by a run on official brew builds with an
extended kt1 test set.

Bugzilla: INTERNAL
Upstream Status: RHEL-only

Signed-off-by: Veronika Kabatova <vkabatov@redhat.com>
2022-04-12 18:32:27 +02:00
Veronika Kabatova 2c4b09d3f8 CI: Remove deprecated option
The `merge_branch` value is now taken from templates and doesn't need
manual overrides in the kernel trees.

Bugzilla: INTERNAL
Upstream Status: RHEL-only

Signed-off-by: Veronika Kabatova <vkabatov@redhat.com>
2022-04-04 19:47:58 +02:00
Bruno Goncalves bbb83e1a20 rename c9s pipeline from centos-stream-9 to c9s
this will make easier to create Data Warehouse issue regex that matches
c9s and kernel-rt-c9s trees.

Bugzilla: INTERNAL
Upstream Status: RHEL-only

Signed-off-by: Bruno Goncalves <bgoncalv@redhat.com>
2022-03-16 10:38:14 +01:00
Veronika Kabatova f28ac94806 CI: Build coverage RPMs on c9s environment
As there was no active development in the RHEL9 repo, we built the
coverage builds here on RHEL environment. That is no longer the case,
and thus we can now move the build to use the c9s env. Anyone in need of
a RHEL9 coverage run can use the builds from the RHEL9 repository.

Bugzilla: INTERNAL
Upstream Status: RHEL-only

Signed-off-by: Veronika Kabatova <vkabatov@redhat.com>
2022-03-07 15:28:55 +01:00
Herton R. Krzesinski a40a9e6fd2 Merge: Change "-auto" suffix to fix CI automotive pipeline issues
MR: https://gitlab.com/redhat/centos-stream/src/kernel/centos-stream-9/-/merge_requests/476

Recently, the automotive kernel package name was renamed from
kernel-auto to kernel-automotive. It should reflect to others systems
and tools. This replacement is causing some falures to the CKI pipeline
for the automotive branch. It is important to observe the branch remains
the same: main-auto. It is only applicable to package name and its
processes.

Bugzilla: INTERNAL
Upstream Status: RHEL-only

Signed-off-by: Julio Faracco <jfaracco@redhat.com>

Approved-by: Scott Weaver <scweaver@redhat.com>
Approved-by: Michael Hofmann <mhofmann@redhat.com>

Signed-off-by: Herton R. Krzesinski <herton@redhat.com>
2022-02-15 02:29:41 +00:00
Julio Faracco 1b910b4466 Change "-auto" suffix to fix CI automotive pipeline issues
Recently, the automotive kernel package name was renamed from
kernel-auto to kernel-automotive. It should reflect to others systems
and tools. This replacement is causing some falures to the CKI pipeline
for the automotive branch. It is important to observe the branch remains
the same: main-auto. It is only applicable to package name and its
processes.

Bugzilla: INTERNAL
Upstream Status: RHEL-only

Signed-off-by: Julio Faracco <jfaracco@redhat.com>
2022-02-03 14:45:54 -03:00
Veronika Kabatova a01c09627b CI: Update the RHEL9-private pipeline names to new schema
The new naming schema to be consistent across all releases was derived,
and the optional security level should be specified at the end of the
name.

Bugzilla: INTERNAL
Upstream Status: RHEL-only

Signed-off-by: Veronika Kabatova <vkabatov@redhat.com>
2022-01-27 19:44:45 +01:00
Veronika Kabatova 275a9cd3af CI: Sync RHEL9-RT-baseline with c9s-RT-baseline
Upstream Status: RHEL-only
Bugzilla: INTERNAL

Signed-off-by: Veronika Kabatova <vkabatov@redhat.com>
2022-01-27 19:41:16 +01:00
Veronika Kabatova 63622d54b4 CI: Add kpet_tree_family to RT check config
This allows us to reuse the RT check for both builds only (merge
request runs) and baseline runs (that include tests).

Being able to run tests for the RT baseline runs allows the RT team to
get rid of the manual step of running the tests after they go through
the trouble of building the kernel.

Upstream Status: RHEL-only
Bugzilla: INTERNAL

Signed-off-by: Veronika Kabatova <vkabatov@redhat.com>
2022-01-27 19:37:15 +01:00
Herton R. Krzesinski 22a2a1b359 Merge: CI: Use realtime_check_baseline template
MR: https://gitlab.com/redhat/centos-stream/src/kernel/centos-stream-9/-/merge_requests/386

The merge_tree variable differs baseline on whether the pipeline runs
for a merge request or a baseline. Use a specific template rather than
adding the single variable, so we have easier time extending the run if
needed in the future.

Bugzilla: INTERNAL
Upstream Status: RHEL-only

Signed-off-by: Veronika Kabatova <vkabatov@redhat.com>

Approved-by: Iñaki Malerba <inaki@malerba.space>
Approved-by: Michael Hofmann <mhofmann@redhat.com>

Signed-off-by: Herton R. Krzesinski <herton@redhat.com>
2022-01-26 21:13:03 +00:00
Herton R. Krzesinski 1da311e548 Merge: adding support for c9s automotive coverage build
MR: https://gitlab.com/redhat/centos-stream/src/kernel/centos-stream-9/-/merge_requests/361

Adding definition for automotive c9s baseline coverage build

Bugzilla: INTERNAL

Signed-off-by: Brian Grech <bgrech@redhat.com>

Approved-by: Iñaki Malerba <inaki@malerba.space>
Approved-by: Veronika Kabátová <veruukabatova@protonmail.com>

Signed-off-by: Herton R. Krzesinski <herton@redhat.com>
2022-01-26 19:08:37 +00:00
Veronika Kabatova 0fb7c9de2a CI: Use realtime_check_baseline template
The merge_tree variable differs baseline on whether the pipeline runs
for a merge request or a baseline. Use a specific template rather than
adding the single variable, so we have easier time extending the run if
needed in the future.

Bugzilla: INTERNAL
Upstream Status: RHEL-only

Signed-off-by: Veronika Kabatova <vkabatov@redhat.com>
2022-01-19 19:48:24 +01:00
bgrech 755a66ef41 adding support for c9s automotive coverage build
Bugzilla: INTERNAL

Upstream Status: RHEL only

Signed-off-by: bgrech <bgrech@redhat.com>
2022-01-17 10:14:08 -06:00
Veronika Kabatova 7a19b1c3dc CI: Use tagged containers
Up till now, we were using nightly container builds as the early
development was fast paced and there was a lot of e.g. dependency
changes we had to accommodate. However, that also lead to occasional
problems with broken containers that failed to build the kernels,
causing both us and developers headaches.

Now that the main bootstrapping phase is really over, we can use
production container tags like we do with the other CI runs. The updates
of the tags should not cause any significant delays on the rare case
when a change is needed.

Bugzilla: INTERNAL
Upstream Status: RHEL-only

Signed-off-by: Veronika Kabatova <vkabatov@redhat.com>
2022-01-14 14:21:56 +01:00
Veronika Kabatova 55603d5c1c CI: Enable realtime checks for baselines
Enable the RT team to see when the merge would cause problems with their
tree.

Upstream Status: RHEL-only
Bugzilla: INTERNAL

Signed-off-by: Veronika Kabatova <vkabatov@redhat.com>
2021-12-16 05:34:44 +01:00
Veronika Kabatova 48f8296e6b CI: Cleanup residue from ARK
The pipeline stage list must have been left over from ARK common CI and
is not needed here.

Upstream Status: RHEL-only
Bugzilla: INTERNAL

Signed-off-by: Veronika Kabatova <vkabatov@redhat.com>
2021-12-16 05:34:39 +01:00
Michael Hofmann 3c54f7e3b5 Add automotive CI jobs
Copy the definitions from the realtime jobs, and adjust as needed.

Bugzilla: INTERNAL
Upstream Status: RHEL-only
Signed-off-by: Michael Hofmann <mhofmann@redhat.com>
2021-11-24 16:34:00 +01:00
Michael Hofmann bfcf581da8
CI: Add template for baseline gcov build (c9s repos)
42932d5c2bea added support for building gcov kernels in the rhel-9
repositories. Add a gcov template for the c9s repos as well so it runs
for 9.0 GA.

Bugzilla: INTERNAL
Upstream Status: RHEL-only

Signed-off-by: Michael Hofmann <mhofmann@redhat.com>
2021-11-15 13:26:33 +01:00
Israel Santana Aleman 556970fbc0 CI: Add template for baseline gcov build for RHEL
Include a new template to run a new baseline regular
pipeline to build the rhel kernel with gcov enabled. This pipeline
will not run any tests, since it will be executed in the
`rhel9_baseline` pipeline.

Bugzilla: INTERNAL
Upstream Status: RHEL-only
Signed-off-by: Israel Santana Aleman <isantana@redhat.com>
2021-11-09 13:19:01 +00:00
Veronika Kabatova 0befb43436 CI: Update deprecated configs
The skip_only_test variable was modified to skip_test. The kernel type
override was removed from rhel_common and is not needed anymore.

Bugzilla: INTERNAL
Upstream Status: RHEL-only

Signed-off-by: Veronika Kabatova <vkabatov@redhat.com>
2021-10-21 15:58:02 +02:00