ci: define the kind of tests to run in each jinja template
This is the main entrypoint to understand what tests each device is running. Therefore, it avoids one extra level of indirection, and allows for different devices to run different kind of tests in the future. Signed-off-by: Pablo Correa Gómez <pabloyoyoista@postmarketos.org> Part-of: <https://gitlab.postmarketos.org/postmarketOS/pmaports/-/merge_requests/7881>
This commit is contained in:
@@ -88,7 +88,7 @@ prepare-{{ device.name }}:
|
||||
extends:
|
||||
.pmos-ci-tron-build-boot-artifacts
|
||||
{%- if device.has_kernel_variants %}
|
||||
# Let's build all the boot artifacts for all the supported kernel variants in
|
||||
# Build all the boot artifacts for all the supported kernel variants in
|
||||
# different jobs, but hide them behind a single job name so as not to pollute
|
||||
# the pipeline.
|
||||
parallel:
|
||||
@@ -112,10 +112,8 @@ prepare-{{ device.name }}:
|
||||
|
||||
.test-{{ device.name }}:
|
||||
stage: hardware tests
|
||||
extends:
|
||||
- .pmos-ci-tron-initramfs-test
|
||||
{%- if device.has_kernel_variants %}
|
||||
# Let's test all the kernels in different jobs, but hide them behind a single
|
||||
# Test all the kernels in different jobs, but hide them behind a single
|
||||
# job name so as not to pollute the pipeline.
|
||||
parallel:
|
||||
matrix:
|
||||
|
||||
Reference in New Issue
Block a user