automation_images icon indicating copy to clipboard operation
automation_images copied to clipboard

Windows: install dotnet and latest wix

Open lsm5 opened this issue 1 year ago • 16 comments
trafficstars

wix3 is EOL and choco doesn't support installing wix > 3.14.

So, this commit installs the dotnet runtime and uses dotnet to install the latest wix in the windows image.

Resolves: RUN-2055

lsm5 avatar May 03 '24 19:05 lsm5

Cirrus CI build successful. Found built image names and IDs:

Stage Image Name IMAGE_SUFFIX
cache win-server-wsl c20240507t175445z-f40f39d13

github-actions[bot] avatar May 07 '24 18:05 github-actions[bot]

Cirrus CI build successful. Found built image names and IDs:

Stage Image Name IMAGE_SUFFIX
base debian do-not-use
base fedora do-not-use
base fedora-aws do-not-use
base fedora-aws-arm64 do-not-use
base image-builder do-not-use
base prior-fedora do-not-use
cache build-push c20240507t193927z-f40f39d13
cache debian c20240507t193927z-f40f39d13
cache fedora c20240507t193927z-f40f39d13
cache fedora-aws c20240507t193927z-f40f39d13
cache fedora-netavark c20240507t193927z-f40f39d13
cache fedora-netavark-aws-arm64 c20240507t193927z-f40f39d13
cache fedora-podman-aws-arm64 c20240507t193927z-f40f39d13
cache fedora-podman-py c20240507t193927z-f40f39d13
cache prior-fedora c20240507t193927z-f40f39d13
cache rawhide c20240507t193927z-f40f39d13
cache win-server-wsl c20240507t193927z-f40f39d13

github-actions[bot] avatar May 07 '24 20:05 github-actions[bot]

Assuming you want to build AWS arm Fedora.

cevich avatar May 09 '24 15:05 cevich

Win-images build successful, now to wait to test the new image id in the podman PR.

lsm5 avatar May 09 '24 17:05 lsm5

Cirrus CI build successful. Found built image names and IDs:

Stage Image Name IMAGE_SUFFIX
base debian do-not-use
base fedora do-not-use
base fedora-aws do-not-use
base fedora-aws-arm64 do-not-use
base image-builder do-not-use
base prior-fedora do-not-use
cache build-push c20240509t162134z-f40f39d13
cache debian c20240509t162134z-f40f39d13
cache fedora c20240509t162134z-f40f39d13
cache fedora-aws c20240509t162134z-f40f39d13
cache fedora-netavark c20240509t162134z-f40f39d13
cache fedora-netavark-aws-arm64 c20240509t162134z-f40f39d13
cache fedora-podman-aws-arm64 c20240509t162134z-f40f39d13
cache fedora-podman-py c20240509t162134z-f40f39d13
cache prior-fedora c20240509t162134z-f40f39d13
cache rawhide c20240509t162134z-f40f39d13
cache win-server-wsl c20240509t162134z-f40f39d13

github-actions[bot] avatar May 09 '24 17:05 github-actions[bot]

Comparing against the versions in podman right now:

  • 20240509t162134z-f40f39d13
  • 20240506t132946z-f40f39d13 ⇑ (built in #349)
debian prior-fedora fedora fedora-aws rawhide
kernel 6.7.12-1 6.8.8-200 6.8.9-300 6.8.8-300 6.9.0-0.rc7.20240507gitdccb07f2914c.59
6.9.0-0.rc6.20240503gitf03359bca01b.56 ⇑
golang 2:1.22~3 1.21.9-1 1.22.3-1 1.22.2-1 1.22.2-3
1.22.2-1 ⇑

edsantiago avatar May 09 '24 17:05 edsantiago

Comparing against the versions in podman right now:

  • 20240509t162134z-f40f39d13
  • 20240506t132946z-f40f39d13 ⇑ (built in Fedora40 #349)

debian prior-fedora fedora fedora-aws rawhide kernel 6.7.12-1 6.8.8-200 6.8.9-300 6.8.8-300 6.9.0-0.rc7.20240507gitdccb07f2914c.59 6.9.0-0.rc6.20240503gitf03359bca01b.56 ⇑ golang 2:1.22~3 1.21.9-1 1.22.3-1 1.22.2-1 1.22.2-3 1.22.2-1 ⇑

Are the new rawhide kernel and fedora golang versions going to be trouble?

lsm5 avatar May 09 '24 17:05 lsm5

Very very unlikely.

edsantiago avatar May 09 '24 17:05 edsantiago

Better, thank you!

edsantiago avatar May 09 '24 19:05 edsantiago

hmm, looks like I need to add an additional package https://www.nuget.org/packages/WixToolset.Heat in the windows image too. ughhhh

lsm5 avatar May 09 '24 19:05 lsm5

Cirrus CI build successful. Found built image names and IDs:

Stage Image Name IMAGE_SUFFIX
base debian do-not-use
base fedora do-not-use
base fedora-aws do-not-use
base fedora-aws-arm64 do-not-use
base image-builder do-not-use
base prior-fedora do-not-use
cache build-push c20240509t185622z-f40f39d13
cache debian c20240509t185622z-f40f39d13
cache fedora c20240509t185622z-f40f39d13
cache fedora-aws c20240509t185622z-f40f39d13
cache fedora-netavark c20240509t185622z-f40f39d13
cache fedora-netavark-aws-arm64 c20240509t185622z-f40f39d13
cache fedora-podman-aws-arm64 c20240509t185622z-f40f39d13
cache fedora-podman-py c20240509t185622z-f40f39d13
cache prior-fedora c20240509t185622z-f40f39d13
cache rawhide c20240509t185622z-f40f39d13
cache win-server-wsl c20240509t185622z-f40f39d13

github-actions[bot] avatar May 09 '24 20:05 github-actions[bot]

(No package diffs against previous build)

edsantiago avatar May 09 '24 20:05 edsantiago

FYI: Since Ed and I will both be gone Friday, and myself all of next week I said it's okay for Lokesh to merge this PR assuming the run through podman CI passes.

cevich avatar May 09 '24 20:05 cevich

Cirrus CI build successful. Found built image names and IDs:

Stage Image Name IMAGE_SUFFIX
base debian do-not-use
base fedora do-not-use
base fedora-aws do-not-use
base fedora-aws-arm64 do-not-use
base image-builder do-not-use
base prior-fedora do-not-use
cache build-push c20240510t174901z-f40f39d13
cache debian c20240510t174901z-f40f39d13
cache fedora c20240510t174901z-f40f39d13
cache fedora-aws c20240510t174901z-f40f39d13
cache fedora-netavark c20240510t174901z-f40f39d13
cache fedora-netavark-aws-arm64 c20240510t174901z-f40f39d13
cache fedora-podman-aws-arm64 c20240510t174901z-f40f39d13
cache fedora-podman-py c20240510t174901z-f40f39d13
cache prior-fedora c20240510t174901z-f40f39d13
cache rawhide c20240510t174901z-f40f39d13
cache win-server-wsl c20240510t174901z-f40f39d13

github-actions[bot] avatar May 10 '24 19:05 github-actions[bot]

  • 20240510t174901z-f40f39d13
  • 20240509t185622z-f40f39d13 ⇑ (built in #354)
debian prior-fedora fedora fedora-aws rawhide
kernel 6.7.12-1 6.8.9-200 6.8.9-300 6.8.9-300 6.9.0-0.rc7.20240509git45db3ab70092.61
6.8.8-200 ⇑ 6.8.8-300 ⇑ 6.9.0-0.rc7.20240507gitdccb07f2914c.59 ⇑
golang 2:1.22~3 1.21.9-1 1.22.3-1 1.22.2-1 1.22.3-1
1.22.2-3 ⇑
systemd 255.5-1 254.10-1 255.6-1 255.4-1 255.5-1
255.4-1 ⇑

edsantiago avatar May 13 '24 12:05 edsantiago

@lsm5 I have no way to know if this build is successful for the purposes you intend. If you're happy with it, feel free to merge.

edsantiago avatar May 13 '24 12:05 edsantiago

Cirrus CI build successful. Found built image names and IDs:

Stage Image Name IMAGE_SUFFIX
base debian do-not-use
base fedora do-not-use
base fedora-aws do-not-use
base fedora-aws-arm64 do-not-use
base image-builder do-not-use
base prior-fedora do-not-use
cache build-push c20240612t140514z-f40f39d13
cache debian c20240612t140514z-f40f39d13
cache fedora c20240612t140514z-f40f39d13
cache fedora-aws c20240612t140514z-f40f39d13
cache fedora-netavark c20240612t140514z-f40f39d13
cache fedora-netavark-aws-arm64 c20240612t140514z-f40f39d13
cache fedora-podman-aws-arm64 c20240612t140514z-f40f39d13
cache fedora-podman-py c20240612t140514z-f40f39d13
cache prior-fedora c20240612t140514z-f40f39d13
cache rawhide c20240612t140514z-f40f39d13
cache win-server-wsl c20240612t140514z-f40f39d13

github-actions[bot] avatar Jun 12 '24 15:06 github-actions[bot]

Cirrus CI build successful. Found built image names and IDs:

Stage Image Name IMAGE_SUFFIX
base debian do-not-use
base fedora do-not-use
base fedora-aws do-not-use
base fedora-aws-arm64 do-not-use
base image-builder do-not-use
base prior-fedora do-not-use
cache build-push c20240612t140514z-f40f39d13
cache debian c20240612t140514z-f40f39d13
cache fedora c20240612t140514z-f40f39d13
cache fedora-aws c20240612t140514z-f40f39d13
cache fedora-netavark c20240612t140514z-f40f39d13
cache fedora-netavark-aws-arm64 c20240612t140514z-f40f39d13
cache fedora-podman-aws-arm64 c20240612t140514z-f40f39d13
cache fedora-podman-py c20240612t140514z-f40f39d13
cache prior-fedora c20240612t140514z-f40f39d13
cache rawhide c20240612t140514z-f40f39d13
cache win-server-wsl c20240612t140514z-f40f39d13

github-actions[bot] avatar Jun 12 '24 15:06 github-actions[bot]

@edsantiago @lsm5 FYI: when these images are ready, I'd like to either tag them or manually bring them over to https://github.com/containers/common/pull/2024 since they will fix a failing test over there.

cevich avatar Jun 12 '24 19:06 cevich

SGTM. Here are the diffs against what's currently in podman. I think the rawhide systemd (4) is a good version.

  • 20240612t140514z-f40f39d13
  • 20240529t141726z-f40f39d13 ⇑ (built in #338)
debian prior-fedora fedora fedora-aws rawhide
base 13.3 39-1.5 Generic ? 41-0
13.2 ⇑
kernel 6.8.12-1 6.8.11-200 6.8.5-301 6.8.5-301 6.8.5-301
6.8.11-1 ⇑ 6.8.10-200 ⇑ 6.9.0-64 ⇑
grub2-common 2.12-2 2.06-120 2.06-123 2.06-123 2.06-123
2.06-121 ⇑ 2.06-121 ⇑ 2.06-121 ⇑
aardvark-dns 1.4.0-5.1 1.10.0-1 1.11.0-1 1.10.0-1 1.11.0-1
1.10.0-1 ⇑ 1.10.0-1 ⇑
netavark 1.4.0-4.1 1.10.3-1 1.11.0-1 1.10.3-3 1.10.3-3
1.10.3-3 ⇑
buildah 1.33.7+ds1-1 1.35.4-1 1.36.0-1 1.35.4-1 1.36.0-1
1.35.4-1 ⇑
conmon 2.1.10+ds1-1+b1 2.1.12-1 2.1.12-1 2.1.10-1 2.1.10-1
2.1.10-1 ⇑
container-selinux ? 2.231.0-1 2.232.1-1 2.231.0-1 2.231.0-6
2.231.0-1 ⇑
containers-common ? 1-99 0.59.1-2 0.59.1-1 0.59.1-1
0.59.0-1 ⇑ 0.58.0-2 ⇑ 0.59.0-1 ⇑
docker-ce 5:26.1.4-1~debian.12~bookworm ? ? ? ?
5:26.1.3-1~debian.12~bookworm ⇑
golang 2:1.22~3 1.21.10-1 1.22.4-1 1.22.4-1 1.22.3-1
1.22.3-1 ⇑ 1.22.3-1 ⇑
nmap-ncat 7.94+git20230807.3be01efb1+dfsg-4 7.95-1 7.95-1 7.95-1 7.95-1
7.94+git20230807.3be01efb1+dfsg-3+b1 ⇑
passt 2024-06-07 2024-05-10 2024-06-07 2024-05-10 2024-06-07
2024-04-26 ⇑ 2024-05-10 ⇑ 2024-05-23 ⇑
podman 4.9.4+ds1-1 4.9.4-1 5.1.1-1 5.1.0-1 5.0.3-1
5.1.0~rc1-1 ⇑ 5.0.3-1 ⇑
skopeo 1.13.3+ds1-2+b1 1.15.1-1 1.15.1-1 1.15.1-1 1.15.1-1
1.15.0-1 ⇑ 1.15.0-1 ⇑
systemd 256-1 254.13-1 255.7-1 255.7-1 256~rc4-2
256~rc3-5 ⇑ 254.12-1 ⇑ 256~rc3-1 ⇑

edsantiago avatar Jun 12 '24 19:06 edsantiago

OOPS! You better not use these images in podman, because of the ima bug. Please grab the setfattr timebomb from #357. You will also need the Makefile fix.

edsantiago avatar Jun 12 '24 20:06 edsantiago

@edsantiago only windows specific. And won't be merged until the wix update PR is finalized.

lsm5 avatar Jun 13 '24 15:06 lsm5

@lsm5 what is the status of this? If you rebase on main, you should end up with images that can be tagged for update into all containers repos. (Assuming this solves the Windows problem you're trying to solve)

edsantiago avatar Jun 21 '24 16:06 edsantiago

@lsm5 what is the status of this? If you rebase on main, you should end up with images that can be tagged for update into all containers repos. (Assuming this solves the Windows problem you're trying to solve)

status is not ready until the windows installer with wix update is ready. But please ignore until further notice.

lsm5 avatar Jun 21 '24 17:06 lsm5

Cirrus CI build successful. Found built image names and IDs:

Stage Image Name IMAGE_SUFFIX
base debian do-not-use
base fedora do-not-use
base fedora-aws do-not-use
base fedora-aws-arm64 do-not-use
base image-builder do-not-use
base prior-fedora do-not-use
cache build-push c20240626t192556z-f40f39d13
cache debian c20240626t192556z-f40f39d13
cache fedora c20240626t192556z-f40f39d13
cache fedora-aws c20240626t192556z-f40f39d13
cache fedora-netavark c20240626t192556z-f40f39d13
cache fedora-netavark-aws-arm64 c20240626t192556z-f40f39d13
cache fedora-podman-aws-arm64 c20240626t192556z-f40f39d13
cache fedora-podman-py c20240626t192556z-f40f39d13
cache prior-fedora c20240626t192556z-f40f39d13
cache rawhide c20240626t192556z-f40f39d13
cache win-server-wsl c20240626t192556z-f40f39d13

github-actions[bot] avatar Jun 26 '24 20:06 github-actions[bot]

@cevich @edsantiago https://github.com/containers/podman/pull/22408 has passed CI but still pending review. Remind me, should I wait for that PR to merge first before merging this image update PR?

lsm5 avatar Jun 27 '24 18:06 lsm5

I have a medium-high preference for merging an auto-imgs PR before a tool-that-uses-it PR, but as long as both get done shortly within each other I think it's OK

edsantiago avatar Jun 27 '24 18:06 edsantiago

ok, I'll set up a hold on the podman PR and remove it only after we have 1. LGTM there and 2. auto-img pr is merged.

lsm5 avatar Jun 27 '24 18:06 lsm5

  • 20240626t192556z-f40f39d13
  • 20240620t153000z-f40f39d13 ⇑ (built in #361)
debian prior-fedora fedora fedora-aws rawhide
kernel 6.8.12-1 6.9.5-100 6.9.6-200 6.9.5-200 6.8.5-301
6.9.4-100 ⇑ 6.9.5-200 ⇑ 6.9.4-200 ⇑
grub2-common 2.12-2 2.06-121 2.06-123 2.06-123 2.06-123
2.06-120 ⇑
aardvark-dns 1.4.0-6 1.11.0-1 1.11.0-1 1.11.0-1 1.11.0-1
1.4.0-5.1 ⇑
docker-ce 5:27.0.1-1~debian.12~bookworm ? ? ? ?
5:26.1.4-1~debian.12~bookworm ⇑
golang 2:1.22~3 1.21.11-1 1.22.4-1 1.22.4-1 1.22.4-4
1.22.4-3 ⇑
passt 2024-06-24 2024-06-07 2024-06-24 2024-06-07 2024-06-24
2024-06-07 ⇑ 2024-05-10 ⇑ 2024-06-07 ⇑ 2024-06-07 ⇑
systemd 256.1-2 254.13-1 255.7-1 255.7-1 256.1-3
256.1-1 ⇑

edsantiago avatar Jun 27 '24 18:06 edsantiago

SGTM

cevich avatar Jun 27 '24 21:06 cevich