Skip to content

Commit f0db2ee

Browse files
fix(ci): repair Windows VM runtime and K3s installer pins (#5736)
Refresh the three VM-runtime artifact hashes from upstream and pin the K3s installer to its configured release, preserving existing versions. CI evidence from #5327 at 9dbf169 is attached to #5736. Both changed files match that tested source; the operator requested reusing those results without a standalone CI rerun. Closes #5734 Signed-off-by: Shailendra Singh <shailendras@nvidia.com>
1 parent 054b3a6 commit f0db2ee

2 files changed

Lines changed: 7 additions & 5 deletions

File tree

‎nix/pkgs/vm-runtime.nix‎

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ let
1313
{
1414
x86_64-linux = {
1515
platform = "linux-x86_64";
16-
hash = "sha256-kA6ZQz53geBp2zHx8tv+D8VcGkSrnC74Op/60H4fmck=";
16+
hash = "sha256-mZwSUhs9IZ0pPLxzVs4AbRLdYWkUlHwP4lmfsbeiUGw=";
1717
artifacts = [
1818
"libkrun.so"
1919
"libkrunfw.so.5"
@@ -22,7 +22,7 @@ let
2222
};
2323
aarch64-linux = {
2424
platform = "linux-aarch64";
25-
hash = "sha256-7FNqUtC6ixfw202EyoYCgZOLdyxJYfg/YzdlkTT/+sM=";
25+
hash = "sha256-Yk5Rxn6JWxMu82Vkyx3eSAxh5/mnfUwcNDNeDIQJz4c=";
2626
artifacts = [
2727
"libkrun.so"
2828
"libkrunfw.so.5"
@@ -31,7 +31,7 @@ let
3131
};
3232
aarch64-darwin = {
3333
platform = "darwin-aarch64";
34-
hash = "sha256-cPfogd7QiPFk76kR1JJeKLaWwFksAZ9BeW/LsmDgsjo=";
34+
hash = "sha256-Sm0zwSkctPETKd46zqOqDO02jLapQ3ST1hafqIVkVjU=";
3535
artifacts = [
3636
"libkrun.dylib"
3737
"libkrunfw.5.dylib"

‎tests/ansible/playbooks/k3s.yaml‎

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -21,10 +21,12 @@
2121
state: present
2222
update_cache: true
2323

24+
# get.k3s.io serves the latest script, so pin the one from the k3s_version
25+
# release tag. Update the checksum whenever k3s_version changes.
2426
- name: Download K3s installer
2527
ansible.builtin.get_url:
26-
url: https://get.k3s.io
27-
checksum: sha256:e5cc3b3d9dfc1662c2d9be6da5abc9a4cd317d6abc3a5ffc02e3dd3248207fee
28+
url: "https://raw.githubusercontent.com/k3s-io/k3s/v{{ k3s_version | urlencode }}/install.sh"
29+
checksum: sha256:46177d4c99440b4c0311b67233823a8e8a2fc09693f6c89af1a7161e152fbfad
2830
dest: /tmp/install-k3s.sh
2931
mode: "0755"
3032

0 commit comments

Comments
 (0)