]> git.ipfire.org Git - thirdparty/postgresql.git/commit
ci: Use windows VMs instead of windows containers
authorAndres Freund <andres@anarazel.de>
Fri, 3 Feb 2023 05:31:48 +0000 (21:31 -0800)
committerAndres Freund <andres@anarazel.de>
Fri, 3 Feb 2023 05:31:48 +0000 (21:31 -0800)
commit8488babc7f497949f89f77c1b18e41e0962e5398
tree958aa2778075ce40d8d92f8969474b3065da61d8
parent83c7e2f2a2f541b5adc11c9d2826eeaf2a22361a
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
.cirrus.yml