ci: Don't specify amount of memory
authorAndres Freund <andres@anarazel.de>
Wed, 23 Aug 2023 19:30:11 +0000 (12:30 -0700)
committerAndres Freund <andres@anarazel.de>
Wed, 23 Aug 2023 19:30:11 +0000 (12:30 -0700)
The number of CPUs is the cost-determining factor. Most instance types that
run tests have more memory/core than what we specified, there's no real
benefit in wasting that.

Reviewed-by: Daniel Gustafsson <daniel@yesql.se>
Discussion: https://postgr.es/m/20230808021541.7lbzdefvma7qmn3w@awork3.anarazel.de
Backpatch: 15-, where CI support was added

.cirrus.yml

index 706b42c795b86f838a630ac2a17714ead77dcb24..280948bcc7ccd83e789cee52180d7f5c8f0be684 100644 (file)
@@ -55,7 +55,6 @@ task:
     image: family/pg-ci-freebsd-13
     platform: freebsd
     cpu: $CPUS
-    memory: 4G
     disk: 50
 
   sysinfo_script: |
@@ -166,7 +165,6 @@ task:
     image: family/pg-ci-bullseye
     platform: linux
     cpu: $CPUS
-    memory: 4G
 
   ccache_cache:
     folder: ${CCACHE_DIR}
@@ -392,7 +390,6 @@ task:
     image: family/pg-ci-windows-ci-vs-2019
     platform: windows
     cpu: $CPUS
-    memory: 4G
 
   sysinfo_script: |
     chcp