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>
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>
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>
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>
This only affects where the pipelines appear in DataWarehouse.
Bugzilla: INTERNAL
Upstream Status: RHEL-only
Signed-off-by: Michael Hofmann <mhofmann@redhat.com>
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>
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>
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>
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>
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>
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>
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>
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>
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>
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>
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>
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>
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>
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>
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>
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>
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>
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>
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>
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>
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>
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>
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>