pgsql: ci: Use windows VMs instead of windows containers

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: E1pNp49-001L1u-JY@gemulon.postgresql.org
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
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/211afb88-6df6-b74d-f1b7-84b5f21ad875@gmail.com
Backpatch: 15-, where CI was added

Branch
------
master

Details
-------
https://git.postgresql.org/pg/commitdiff/98811323c8e9a1995b828a47504b6608f0f3f59a

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

Browse pgsql-committers by date

  From Date Subject
Next Message Dean Rasheed 2023-02-03 08:12:39 Re: pgsql: Ensure that numeric.c compiles with other NBASE values.
Previous Message David Rowley 2023-02-03 03:21:13 pgsql: Reduce code duplication between heapgettup and heapgettup_pagemo