mirror of
https://github.com/containers/podman.git
synced 2025-06-29 23:22:40 +08:00
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:
10
.cirrus.yml
10
.cirrus.yml
@ -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
|
||||
|
Reference in New Issue
Block a user