aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndres Freund <andres@anarazel.de>2023-08-23 12:30:38 -0700
committerAndres Freund <andres@anarazel.de>2023-08-23 12:30:38 -0700
commit4fdfd0629d77af19582ca4d59c0e7fe99619f048 (patch)
tree3b368cba7b6c419f91fcacea85d4d85451042cd8
parent462f4df0a86d2c497a1739f386835d246ea8645e (diff)
downloadpostgresql-4fdfd0629d77af19582ca4d59c0e7fe99619f048.tar.gz
postgresql-4fdfd0629d77af19582ca4d59c0e7fe99619f048.zip
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
-rw-r--r--.cirrus.yml5
1 files changed, 2 insertions, 3 deletions
diff --git a/.cirrus.yml b/.cirrus.yml
index 0427b7aca5f..20496406c6b 100644
--- a/.cirrus.yml
+++ b/.cirrus.yml
@@ -498,6 +498,7 @@ task:
env:
CPUS: 4
BUILD_JOBS: 4
+ IMAGE_FAMILY: pg-ci-bullseye
# Use larger ccache cache, as this task compiles with multiple compilers /
# flag combinations
@@ -510,9 +511,7 @@ task:
# condition here ...
only_if: $CIRRUS_CHANGE_MESSAGE !=~ '.*\nci-os-only:.*' || $CIRRUS_CHANGE_MESSAGE =~ '.*\nci-os-only:[^\n]*linux.*'
- container:
- image: $CONTAINER_REPO/linux_debian_bullseye_ci:latest
- cpu: $CPUS
+ <<: *linux_task_template
sysinfo_script: |
id