pg.ddx.io  pgsql-committers@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Andres Freund <andres@anarazel.de>
To: pgsql-committers@lists.postgresql.org
Subject: pgsql: ci: Use windows VMs instead of windows containers
Date: Fri, 03 Feb 2023 05:56:54 +0000
Message-ID: <E1pNp49-001L1u-JY@gemulon.postgresql.org> (raw)

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@gmail.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(-)



view thread (2+ messages)  latest in thread

Message-ID: <E1pNp49-001L1u-JY@gemulon.postgresql.org>
Permalink:  ../E1pNp49-001L1u-JY@gemulon.postgresql.org/
Also on:    postgresql.org/message-id/E1pNp49-001L1u-JY@gemulon.postgresql.org

 · 

reply

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Reply to all the recipients from your mail client; the link fills in
  the headers below: reply via email
  Some clients, webmail especially, drop In-Reply-To and References from
  a link, and the reply then starts a new thread: use the mbox below.

  To: pgsql-committers@postgresql.org
  Cc: andres@anarazel.de
  Subject: Re: pgsql: ci: Use windows VMs instead of windows containers
  In-Reply-To: <E1pNp49-001L1u-JY@gemulon.postgresql.org>
  References: <E1pNp49-001L1u-JY@gemulon.postgresql.org>

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox