cirrus: use faster VM's for integration tests

Use 4 core VM vompred to the standard 2 cores, integration tests scale
almost linear with extra cores, as such doubling the cores makes the
tests almost twice as fast. This brings the test time down to 15-17 min
in CI.

Signed-off-by: Paul Holzinger <pholzing@redhat.com>
This commit is contained in:
Paul Holzinger
2024-05-14 15:41:47 +02:00
parent 8ae59f8923
commit 47f01e85c5

View File

@ -639,7 +639,11 @@ local_integration_test_task: &local_integration_test_task
only_if: *not_tag_branch_build_docs_machine
depends_on: *build
matrix: *platform_axis
gce_instance: *standardvm
# integration tests scale well with cpu as they are parallelized
# so we give these tests 4 cores to make them faster
gce_instance: &fastvm
<<: *standardvm
cpu: 4
timeout_in: 50m
env:
TEST_FLAVOR: int
@ -687,7 +691,7 @@ container_integration_test_task:
CTR_FQIN: ${PRIOR_FEDORA_CONTAINER_FQIN}
CI_DESIRED_RUNTIME: crun
CI_DESIRED_DATABASE: boltdb
gce_instance: *standardvm
gce_instance: *fastvm
timeout_in: 50m
env:
TEST_FLAVOR: int
@ -706,7 +710,7 @@ rootless_integration_test_task:
only_if: *not_tag_branch_build_docs_machine
depends_on: *build
matrix: *platform_axis
gce_instance: *standardvm
gce_instance: *fastvm
timeout_in: 50m
env:
TEST_FLAVOR: int