From: | Thomas Munro <tmunro(at)postgresql(dot)org> |
---|---|
To: | pgsql-committers(at)lists(dot)postgresql(dot)org |
Subject: | pgsql: ci: Use a RAM disk for NetBSD and OpenBSD. |
Date: | 2025-03-03 22:34:43 |
Message-ID: | E1tpEN1-000eEY-1B@gemulon.postgresql.org |
Views: | Raw Message | Whole Thread | Download mbox | Resend email |
Thread: | |
Lists: | pgsql-committers |
ci: Use a RAM disk for NetBSD and OpenBSD.
Put the RAM disk setup for all three *BSD CI tasks into a common script,
replacing the old FreeBSD-specific one from commit 0265e5c1. This makes
them run 3 times and a bit over 2 times faster, respectively.
NetBSD and FreeBSD now share the same one-liner to mount tmpfs. OpenBSD
needs a GCP-image specific recipe that knows where to steal an unused
disk partition needed to reserve swap space for an mfs RAM disk, because
its tmpfs is deprecated and currently broken. The configured size is
enough for our current tests but could potentially need future
expansion. Thanks to Bilal for the disklabel incantation.
Reviewed-by: Nazir Bilal Yavuz <byavuz81(at)gmail(dot)com>
Discussion: https://postgr.es/m/CA%2BhUKGJJ-XrPhN%2BQA4ZUfYAAXcwOSDty9t0vE9Z8__AdacKnQg%40mail.gmail.com
Branch
------
master
Details
-------
https://git.postgresql.org/pg/commitdiff/b6904afae40d94c2f34bc3c94aee1cdbe0bcfbe9
Modified Files
--------------
.cirrus.tasks.yml | 5 ++---
src/tools/ci/gcp_freebsd_repartition.sh | 26 --------------------------
src/tools/ci/gcp_ram_disk.sh | 22 ++++++++++++++++++++++
3 files changed, 24 insertions(+), 29 deletions(-)
From | Date | Subject | |
---|---|---|---|
Next Message | Tom Lane | 2025-03-03 23:00:22 | pgsql: Allow => syntax for named cursor arguments in plpgsql. |
Previous Message | Melanie Plageman | 2025-03-03 19:45:31 | pgsql: Trigger more frequent autovacuums with relallfrozen |