Skip to content

Commit

Permalink
Merge branch 'master' into renovate/deb2404-moby-runc-1.1.x
Browse files Browse the repository at this point in the history
  • Loading branch information
Devinwong authored Oct 14, 2024
2 parents f96ca44 + 4d9c9fa commit 298d9fb
Show file tree
Hide file tree
Showing 270 changed files with 495 additions and 1,325 deletions.
5 changes: 1 addition & 4 deletions .github/workflows/check-coverage.yml
Original file line number Diff line number Diff line change
@@ -1,9 +1,6 @@
name: "Test coverage"
on:
push:
branches: ["master"]
pull_request:
branches: ["master"]
workflow_dispatch:

permissions:
id-token: write
Expand Down
51 changes: 33 additions & 18 deletions parts/linux/cloud-init/artifacts/components.json
Original file line number Diff line number Diff line change
Expand Up @@ -36,6 +36,17 @@
"downloadURL": "mcr.microsoft.com/containernetworking/azure-cni:*",
"amd64OnlyVersions": [],
"multiArchVersionsV2": [
{
"renovateTag": "registry=https://mcr.microsoft.com, name=containernetworking/azure-cni",
"latestVersion": "v1.4.56",
"containerImagePrefetch": {
"latestVersion": {
"binaries": [
"/dropgz"
]
}
}
},
{
"renovateTag": "registry=https://mcr.microsoft.com, name=containernetworking/azure-cni",
"latestVersion": "v1.5.35",
Expand All @@ -55,7 +66,7 @@
},
{
"renovateTag": "registry=https://mcr.microsoft.com, name=containernetworking/azure-cni",
"latestVersion": "v1.6.10",
"latestVersion": "v1.6.13",
"previousLatestVersion": "v1.6.7",
"containerImagePrefetch": {
"latestVersion": {
Expand Down Expand Up @@ -127,6 +138,17 @@
"downloadURL": "mcr.microsoft.com/containernetworking/azure-ipam:*",
"amd64OnlyVersions": [],
"multiArchVersionsV2": [
{
"renovateTag": "registry=https://mcr.microsoft.com, name=containernetworking/azure-ipam",
"latestVersion": "v0.0.7",
"containerImagePrefetch": {
"latestVersion": {
"binaries": [
"/dropgz"
]
}
}
},
{
"renovateTag": "registry=https://mcr.microsoft.com, name=containernetworking/azure-ipam",
"latestVersion": "v0.2.0",
Expand Down Expand Up @@ -375,12 +397,12 @@
},
{
"renovateTag": "registry=https://mcr.microsoft.com, name=oss/kubernetes-csi/blob-csi",
"latestVersion": "v1.23.8",
"latestVersion": "v1.23.9",
"previousLatestVersion": "v1.23.7"
},
{
"renovateTag": "registry=https://mcr.microsoft.com, name=oss/kubernetes-csi/blob-csi",
"latestVersion": "v1.24.4",
"latestVersion": "v1.24.5",
"previousLatestVersion": "v1.24.3"
}
]
Expand All @@ -391,8 +413,8 @@
"multiArchVersionsV2": [
{
"renovateTag": "registry=https://mcr.microsoft.com, name=oss/kubernetes-csi/livenessprobe",
"latestVersion": "v2.13.1",
"previousLatestVersion": "v2.13.0"
"latestVersion": "v2.14.0",
"previousLatestVersion": "v2.13.1"
},
{
"renovateTag": "registry=https://mcr.microsoft.com, name=oss/kubernetes-csi/livenessprobe",
Expand All @@ -406,7 +428,8 @@
"multiArchVersionsV2": [
{
"renovateTag": "registry=https://mcr.microsoft.com, name=oss/kubernetes-csi/csi-node-driver-registrar",
"latestVersion": "v2.11.1"
"latestVersion": "v2.12.0",
"previousLatestVersion": "v2.11.1"
},
{
"renovateTag": "registry=https://mcr.microsoft.com, name=oss/kubernetes-csi/csi-node-driver-registrar",
Expand Down Expand Up @@ -444,12 +467,8 @@
"multiArchVersionsV2": [
{
"renovateTag": "registry=https://mcr.microsoft.com, name=azure-policy/policy-kubernetes-addon-prod",
"latestVersion": "1.7.1",
"previousLatestVersion": "1.7.0"
},
{
"renovateTag": "registry=https://mcr.microsoft.com, name=azure-policy/policy-kubernetes-addon-prod",
"latestVersion": "1.5.0"
"latestVersion": "1.8.0",
"previousLatestVersion": "1.7.1"
}
]
},
Expand All @@ -459,12 +478,8 @@
"multiArchVersionsV2": [
{
"renovateTag": "registry=https://mcr.microsoft.com, name=azure-policy/policy-kubernetes-webhook",
"latestVersion": "1.7.1",
"previousLatestVersion": "1.7.0"
},
{
"renovateTag": "registry=https://mcr.microsoft.com, name=azure-policy/policy-kubernetes-webhook",
"latestVersion": "1.5.0"
"latestVersion": "1.8.0",
"previousLatestVersion": "1.7.1"
}
]
},
Expand Down
4 changes: 2 additions & 2 deletions parts/linux/cloud-init/artifacts/cse_config.sh
Original file line number Diff line number Diff line change
Expand Up @@ -744,14 +744,14 @@ configGPUDrivers() {
if [[ $OS == $UBUNTU_OS_NAME ]]; then
mkdir -p /opt/{actions,gpu}
if [[ "${CONTAINER_RUNTIME}" == "containerd" ]]; then
ctr image pull $NVIDIA_DRIVER_IMAGE:$NVIDIA_DRIVER_IMAGE_TAG
ctr -n k8s.io image pull $NVIDIA_DRIVER_IMAGE:$NVIDIA_DRIVER_IMAGE_TAG
retrycmd_if_failure 5 10 600 bash -c "$CTR_GPU_INSTALL_CMD $NVIDIA_DRIVER_IMAGE:$NVIDIA_DRIVER_IMAGE_TAG gpuinstall /entrypoint.sh install"
ret=$?
if [[ "$ret" != "0" ]]; then
echo "Failed to install GPU driver, exiting..."
exit $ERR_GPU_DRIVERS_START_FAIL
fi
ctr images rm --sync $NVIDIA_DRIVER_IMAGE:$NVIDIA_DRIVER_IMAGE_TAG
ctr -n k8s.io images rm --sync $NVIDIA_DRIVER_IMAGE:$NVIDIA_DRIVER_IMAGE_TAG
else
bash -c "$DOCKER_GPU_INSTALL_CMD $NVIDIA_DRIVER_IMAGE:$NVIDIA_DRIVER_IMAGE_TAG install"
ret=$?
Expand Down
2 changes: 1 addition & 1 deletion parts/linux/cloud-init/artifacts/cse_helpers.sh
Original file line number Diff line number Diff line change
Expand Up @@ -151,7 +151,7 @@ NVIDIA_CONTAINER_RUNTIME_VERSION="3.6.0"
export NVIDIA_DRIVER_IMAGE_SHA="${GPU_IMAGE_SHA:=}"
export NVIDIA_DRIVER_IMAGE_TAG="${GPU_DV}-${NVIDIA_DRIVER_IMAGE_SHA}"
export NVIDIA_DRIVER_IMAGE="mcr.microsoft.com/aks/aks-gpu"
export CTR_GPU_INSTALL_CMD="ctr run --privileged --rm --net-host --with-ns pid:/proc/1/ns/pid --mount type=bind,src=/opt/gpu,dst=/mnt/gpu,options=rbind --mount type=bind,src=/opt/actions,dst=/mnt/actions,options=rbind"
export CTR_GPU_INSTALL_CMD="ctr -n k8s.io run --privileged --rm --net-host --with-ns pid:/proc/1/ns/pid --mount type=bind,src=/opt/gpu,dst=/mnt/gpu,options=rbind --mount type=bind,src=/opt/actions,dst=/mnt/actions,options=rbind"
export DOCKER_GPU_INSTALL_CMD="docker run --privileged --net=host --pid=host -v /opt/gpu:/mnt/gpu -v /opt/actions:/mnt/actions --rm"
APT_CACHE_DIR=/var/cache/apt/archives/
PERMANENT_CACHE_DIR=/root/aptcache/
Expand Down
Loading

0 comments on commit 298d9fb

Please sign in to comment.