]> git.proxmox.com Git - mirror_qemu.git/commit
gitlab: always use updated msys installer
authorDaniel P. Berrangé <berrange@redhat.com>
Tue, 1 Aug 2023 13:03:58 +0000 (14:03 +0100)
committerThomas Huth <thuth@redhat.com>
Thu, 3 Aug 2023 11:04:47 +0000 (13:04 +0200)
commit46aedd34b459a9e0ff7f61d554368b27910dd56d
treef870751f6608123fe7d87189e9010e7e30b0090a
parentb64052cdada197a06fd7ffe1ba239d4de8b89d45
gitlab: always use updated msys installer

We current reference an msys installer binary from mid-2022, which means
after installation, it immediately has to re-download a bunch of newer
content. This wastes precious CI time.

The msys project publishes an installer binary with a fixed URL that
always references the latest content. We cache the downloads in gitlab
though and so once downloaded we would never re-fetch the installer
leading back to the same problem.

To deal with this we also fetch the pgp signature for the installer
on every run, and compare that to the previously cached signature. If
the signature changes, we re-download the full installer.

This ensures we always have the latest installer for msys, while also
maximising use of the gitlab cache.

Signed-off-by: Daniel P. Berrangé <berrange@redhat.com>
Reviewed-by: Thomas Huth <thuth@redhat.com>
Message-Id: <20230801130403.164060-4-berrange@redhat.com>
Signed-off-by: Thomas Huth <thuth@redhat.com>
.gitlab-ci.d/windows.yml