Skip to content

Commit 4fdfd06

Browse files
committed
ci: Use VMs for SanityCheck and CompilerWarnings
The main reason for this change is to reduce different ways of executing tasks, making it easier to use custom compute resources for cfbot. A secondary benefit is that the tasks seem slightly faster this way, apparently the increased startup overhead is outweighed by reduced runtime overhead. Reviewed-by: Daniel Gustafsson <daniel@yesql.se> Discussion: https://postgr.es/m/20230808021541.7lbzdefvma7qmn3w@awork3.anarazel.de Backpatch: 15-, where CI support was added
1 parent 462f4df commit 4fdfd06

File tree

1 file changed

+2
-3
lines changed

1 file changed

+2
-3
lines changed

.cirrus.yml

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -498,6 +498,7 @@ task:
498498
env:
499499
CPUS: 4
500500
BUILD_JOBS: 4
501+
IMAGE_FAMILY: pg-ci-bullseye
501502

502503
# Use larger ccache cache, as this task compiles with multiple compilers /
503504
# flag combinations
@@ -510,9 +511,7 @@ task:
510511
# condition here ...
511512
only_if: $CIRRUS_CHANGE_MESSAGE !=~ '.*\nci-os-only:.*' || $CIRRUS_CHANGE_MESSAGE =~ '.*\nci-os-only:[^\n]*linux.*'
512513

513-
container:
514-
image: $CONTAINER_REPO/linux_debian_bullseye_ci:latest
515-
cpu: $CPUS
514+
<<: *linux_task_template
516515

517516
sysinfo_script: |
518517
id

0 commit comments

Comments
 (0)