pgsql: ci: Use windows VMs instead of windows containers

Lists: pgsql-committers
From: Andres Freund <andres(at)anarazel(dot)de>
To: pgsql-committers(at)lists(dot)postgresql(dot)org
Subject: pgsql: ci: Use windows VMs instead of windows containers
Date: 2023-02-03 05:56:54
Message-ID: [email protected]
Views: Raw Message | Whole Thread | Download mbox | Resend email
Lists: pgsql-committers

ci: Use windows VMs instead of windows containers

So far we have used containers for testing windows on cirrus-ci. Unfortunately
they come with substantial overhead: First, the container images are pulled
onto the host on-demand. Due to the large size of windows containers, that
ends up taking nearly 4 minutes. Secondly, IO is slow, leading to CI runs
taking long.

Thus switch to windows VMs, improving windows CI times by well over 2x.

Author: Nazir Bilal Yavuz <byavuz81(at)gmail(dot)com>
Discussion: https://postgr.es/m/[email protected]
Backpatch: 15-, where CI was added

Branch
------
REL_15_STABLE

Details
-------
https://git.postgresql.org/pg/commitdiff/8488babc7f497949f89f77c1b18e41e0962e5398

Modified Files
--------------
.cirrus.yml | 6 ++++--
1 file changed, 4 insertions(+), 2 deletions(-)