containerd/script/setup
Danny Canter 15b13fb3ea Windows: Supply windows shim version via file
Somewhat similar to how we supply the version of runc to grab for testing via
a file in script/, this change supplies the Windows shim version to build off
of via a file in the same directory. This seems like a decent home given it now
lives next to the script that pulls and builds the shim to include in our build
artifacts/locally.

The motivation behind this change is:

Cut down on unneccessary hcsshim vendorings if no library code for containerd
changed. It was some what clunky how the Windows builds work today. The Windows
shim is developed out of tree at github.com/microsoft/hcsshim. To let containerd know
what tag to build the shim off of we'd vendor hcsshim into containerd, and then
parse the version string from go.mod, fetch this tag, and then build the shim and
include it in our artifacts. As mentioned, often times the vendoring would bring in
no actual changes that would affect containerd's usage of hcsshim as a library, and
would just serve as a means to bump the version of the containerd shim we should build.

Now this process can be a one line change and we can avoid the possible headaches that come
with bumping go.mod (bumping other unrelated deps etc.)

Signed-off-by: Danny Canter <danny@dcantah.dev>
2023-08-28 11:55:55 -07:00
..
config-containerd Update Vagrantfile for testing SELinux 2020-08-10 01:55:44 -07:00
config-selinux scripts: add missing quotes, and minor linting issues 2021-08-03 17:23:18 +02:00
critools-version Update critools to 1.28.0 2023-08-24 11:15:24 -04:00
crun-version CI: bump up crun to 1.8.3 2023-04-03 14:30:15 +09:00
enable_docker_tls_on_windows.ps1 Add image build workflow 2021-11-25 09:26:17 +00:00
enable_ssh_windows.ps1 Add CI periodic Windows Jobs. 2021-04-20 17:18:46 +03:00
imgcrypt-version just release ctd-decoder not ctr-enc 2021-05-13 15:56:45 -05:00
install-cni fix install cni script 2022-10-10 10:29:20 +08:00
install-cni-windows Add arm64 to releases 2021-11-11 20:00:34 +00:00
install-critools Update ginkgo to match cri-tools' version 2023-06-28 13:14:22 +00:00
install-dev-tools Bump up golangci-lint to v1.52.2 2023-05-09 15:07:55 +09:00
install-failpoint-binaries integration: Add injected failpoint testing for RunPodSandbox 2022-07-22 23:25:40 +08:00
install-gotestsum gotestsum match go version 1.19 2022-11-17 20:42:22 +08:00
install-imgcrypt just release ctd-decoder not ctr-enc 2021-05-13 15:56:45 -05:00
install-protobuf Add Linux arm64 arch to install-protobuf script 2023-02-27 09:14:57 -08:00
install-runc Rework permission handling in scripts 2022-08-05 17:05:36 -07:00
install-runhcs-shim Windows: Supply windows shim version via file 2023-08-28 11:55:55 -07:00
install-seccomp Bump seccomp version to be the same as one in runc repo 2023-05-16 09:33:26 -04:00
install-teststat CI: Output a summary using GITHUB_SUMMARY 2022-09-14 23:30:47 +00:00
prepare_env_windows.ps1 Go 1.21.0 2023-08-17 16:54:01 +09:00
prepare_windows_docker_helper.ps1 Add image build workflow 2021-11-25 09:26:17 +00:00
runc-version update runc binary to v1.1.9 2023-08-11 21:25:56 +09:00
runhcs-version Windows: Supply windows shim version via file 2023-08-28 11:55:55 -07:00