Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commit8488bab

Browse files
committed
ci: Use windows VMs instead of windows containers
So far we have used containers for testing windows on cirrus-ci. Unfortunatelythey come with substantial overhead: First, the container images are pulledonto the host on-demand. Due to the large size of windows containers, thatends up taking nearly 4 minutes. Secondly, IO is slow, leading to CI runstaking 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.comBackpatch: 15-, where CI was added
1 parent83c7e2f commit8488bab

File tree

1 file changed

+4
-2
lines changed

1 file changed

+4
-2
lines changed

‎.cirrus.yml

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -400,8 +400,10 @@ task:
400400

401401
only_if:$CIRRUS_CHANGE_MESSAGE !=~ '.*\nci-os-only:.*' || $CIRRUS_CHANGE_MESSAGE =~ '.*\nci-os-only:[^\n]*windows.*'
402402

403-
windows_container:
404-
image:$CONTAINER_REPO/windows_ci_vs_2019:latest
403+
compute_engine_instance:
404+
image_project:$IMAGE_PROJECT
405+
image:family/pg-ci-windows-ci-vs-2019
406+
platform:windows
405407
cpu:$CPUS
406408
memory:4G
407409

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp