Content-Length: 306677 | pFad | http://github.com/postgrespro/postgres/commit/b2c91d841f1f58f6f553d9e6832fdfaedec00402

DF ci: Use VMs for SanityCheck and CompilerWarnings · postgrespro/postgres@b2c91d8 · GitHub
Skip to content

Commit b2c91d8

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 119ee6a commit b2c91d8

File tree

1 file changed

+6
-8
lines changed

1 file changed

+6
-8
lines changed

.cirrus.yml

Lines changed: 6 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -110,15 +110,14 @@ task:
110110
CPUS: 4
111111
BUILD_JOBS: 8
112112
TEST_JOBS: 8
113+
IMAGE_FAMILY: pg-ci-bullseye
113114
CCACHE_DIR: ${CIRRUS_WORKING_DIR}/ccache_dir
114115
# no options enabled, should be small
115116
CCACHE_MAXSIZE: "150M"
116117

117-
# Container starts up quickly, but is slower at runtime, particularly for
118-
# tests. Good for the briefly running sanity check.
119-
container:
120-
image: $CONTAINER_REPO/linux_debian_bullseye_ci:latest
121-
cpu: $CPUS
118+
# While containers would start up a bit quicker, building is a bit
119+
# slower. This way we don't have to maintain a container image.
120+
<<: *linux_task_template
122121

123122
ccache_cache:
124123
folder: $CCACHE_DIR
@@ -691,6 +690,7 @@ task:
691690
env:
692691
CPUS: 4
693692
BUILD_JOBS: 4
693+
IMAGE_FAMILY: pg-ci-bullseye
694694

695695
# Use larger ccache cache, as this task compiles with multiple compilers /
696696
# flag combinations
@@ -700,9 +700,7 @@ task:
700700
LINUX_CONFIGURE_FEATURES: *LINUX_CONFIGURE_FEATURES
701701
LINUX_MESON_FEATURES: *LINUX_MESON_FEATURES
702702

703-
container:
704-
image: $CONTAINER_REPO/linux_debian_bullseye_ci:latest
705-
cpu: $CPUS
703+
<<: *linux_task_template
706704

707705
sysinfo_script: |
708706
id

0 commit comments

Comments
 (0)








ApplySandwichStrip

pFad - (p)hone/(F)rame/(a)nonymizer/(d)eclutterfier!      Saves Data!


--- a PPN by Garber Painting Akron. With Image Size Reduction included!

Fetched URL: http://github.com/postgrespro/postgres/commit/b2c91d841f1f58f6f553d9e6832fdfaedec00402

Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy