Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

chore(deps): update oss/binaries/kubernetes/azure-acr-credential-provider docker tag to v1.29.11 #5307

Open
wants to merge 124 commits into
base: master
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
124 commits
Select commit Hold shift + click to select a range
8ea0b5a
Fix 24.04 ARM64 pipeline (#5181)
artunduman Oct 30, 2024
1074647
cherry-pick: fix: append existing env variables to provision cmd (#5189)
lilypan26 Oct 31, 2024
7f7e189
Cherry pick Renovate config fix for AKS GPU CUDA and GRID updates (#5…
ganeshkumarashok Nov 4, 2024
4dd29eb
cherry-pick: 202411.03.0 release notes + image bump PRs (#5222)
cameronmeissner Nov 5, 2024
d307b50
cherry-pick: cve fix kube-proxy patch version bump (#5241)
jason1028kr Nov 11, 2024
68fa912
cherry-pick: patch version bump for k8s binaries (#5251)
jason1028kr Nov 12, 2024
2e71a96
cherry picking the crictl version bump and trivy-db logic to avoid th…
djsly Nov 12, 2024
2daedf8
cherry-pick: cleanup + refactor for test infra migration (#5252)
cameronmeissner Nov 12, 2024
25bb3e8
[email protected]
timmy-wright Nov 14, 2024
3e62fdc
bug: try not to fail if performance data file is not set (#5262) (#5266)
timmy-wright Nov 14, 2024
e3d5db4
feat: update windows release notes for 2024-11 (#5272) (#5273)
AbelHu Nov 15, 2024
cdc54ce
chore: automated PR to update ReleaseNotes for 202411.12.0 VHD (#5254…
jason1028kr Nov 16, 2024
f4e60d5
cherry-pick: packer vnet RG name resolution for prod builds (#5283)
cameronmeissner Nov 18, 2024
1f49ea4
feat: Update WS2022 gen2 base image to 2024-11B (#5291) (#5292)
AbelHu Nov 19, 2024
d2001ea
fix: ensure /mnt is mounted before bind-mount.service (#5297) (#5303)
lilypan26 Nov 20, 2024
2cc674f
docs: add release notes for WS2022 gen2 with 2024.11B (#5308) (#5309)
AbelHu Nov 20, 2024
30fdcce
cherry-pick: use aks-node-assistant for VHD automation (#5339)
cameronmeissner Dec 2, 2024
a31fe52
cherry-pick: VHD automation fixes and enhancements (#5342)
cameronmeissner Dec 2, 2024
ef6290a
fix: updates packages for cvm (#5328) (#5356)
anujmaheshwari1 Dec 3, 2024
7a700f5
fix: python package vuln (#5357) (#5361)
lilypan26 Dec 4, 2024
1b41dc0
fix: confidential machine CVEs for December (#5364)
zachary-bailey Dec 4, 2024
a34b0f7
chore(deps): update aks/aks-gpu-grid docker tag to v535.161.08-202412…
ganeshkumarashok Dec 5, 2024
6177555
chore(deps): update aks/aks-gpu-cuda docker tag to v550.127.08-202412…
lilypan26 Dec 5, 2024
cc1adab
cherry-pick: fix airgapped cluster e2e image pull (#5377)
AlisonB319 Dec 5, 2024
15a5c4c
chore: automated PR to update ReleaseNotes for 202412.04.0 VHD (#5376…
lilypan26 Dec 6, 2024
92f9612
fix: resolve Azure Linux nvidia-container-toolkit posttrans error (#5…
henryli001 Dec 7, 2024
8218e4a
cherry-pick: refactor: packer vnet resolution (#5391)
cameronmeissner Dec 9, 2024
f2a400c
chore: automated PR to update VHDVersion for 202412.04.0 VHD (#5375) …
lilypan26 Dec 9, 2024
537e8ae
chore: upgrade oras version (#5385) (#5389)
AlisonB319 Dec 9, 2024
9d93f90
Cherry-pick: chore: update Kubernetes versions add binary for 1.29.11…
jason1028kr Dec 10, 2024
2a89489
chore: update 2404 base image and turn on weekly builds to be in sync…
anujmaheshwari1 Dec 10, 2024
997a2ec
cherry-pick: fix: always specify agent identity ID when logging into …
cameronmeissner Dec 12, 2024
8d14f56
security: Windows update to 2024-12b (#5409) (#5420)
timmy-wright Dec 13, 2024
9ac8b81
chore: cherry pick "mode in pipeline master" (#5437)
timmy-wright Dec 16, 2024
45cc0e3
feat: use github app for VHD automation tasks (#5379) (#5429)
timmy-wright Dec 16, 2024
2e44234
cherry-pick: image bump + release notes 20241210 (#5427)
jason1028kr Dec 16, 2024
cd8590e
chore: Update .NET patch version for Windows (#5445) (#5451)
timmy-wright Dec 18, 2024
c94e045
fix: remove depreciate kube flags for e2e (#5462)
AlisonB319 Dec 20, 2024
2ff6042
chore: bump oras version (#5459) (#5460)
AlisonB319 Dec 20, 2024
b7fc7e1
chore: add dedicated pipeline variable for E2E location (#5447) (#5463)
AlisonB319 Dec 20, 2024
4db445b
chore: new addon version (#5467) (#5468)
AlisonB319 Dec 21, 2024
f50f5aa
fix: Kubelet restarts initiated by nvidia-modprobe service (#5450) (#…
timmy-wright Dec 22, 2024
5968948
chore: automated PR to update VHDVersion for 202412.15.0 VHD (#5433)
aks-node-sig-release-assistant[bot] Dec 22, 2024
d4a5645
chore: automated PR to update ReleaseNotes for 202412.15.0 VHD (#5434)
aks-node-sig-release-assistant[bot] Dec 22, 2024
a602df5
docs: update windows release notes for 2024-12B (#5471)
aks-node-sig-release-assistant[bot] Dec 22, 2024
b34e70f
chore: increase vhd expiration (#5483)
timmy-wright Dec 27, 2024
d39990d
Revert release notes and version update for an unreleased version. (#…
r2k1 Dec 29, 2024
5c55f0b
chore: automated PR to update VHDVersion for 202412.29.0 VHD (#5486)
aks-node-sig-release-assistant[bot] Jan 3, 2025
0f6b0c8
chore: automated PR to update ReleaseNotes for 202412.29.0 VHD (#5487)
aks-node-sig-release-assistant[bot] Jan 3, 2025
cbf5f8f
docs: update windows release notes for 2024-12B (#5502)
aks-node-sig-release-assistant[bot] Jan 5, 2025
61c2d2d
fix: install missing udev rules for v6 vm sku (#5523)
andyzhangx Jan 8, 2025
51cf667
cherry-pick: refactor: manually generate self-signed kubelet serving …
cameronmeissner Jan 8, 2025
fc3fe29
cherry pick: 20250105 changes (#5547)
djsly Jan 10, 2025
f255e5e
fix: retire gpu dedicated aks image (#5548) (#5552)
zachary-bailey Jan 11, 2025
632c07d
cherry-pick: fix vhd name env variable (#5288)
jason1028kr Jan 14, 2025
79d2559
chore: merge dev into master (#5557)
cameronmeissner Jan 15, 2025
288d376
fix: ensure /etc/kubernetes/certs exists before generating kubelet se…
cameronmeissner Jan 15, 2025
2fec2d9
fix: add nolint stylecheck to ebpf consts (#5584)
anujmaheshwari1 Jan 15, 2025
d452fea
chore: add irqbalance to 2404 VHDs (#5488)
anujmaheshwari1 Jan 15, 2025
b5e4cd9
chore: automated PR to update ReleaseNotes for 202501.12.0 VHD (#5559)
aks-node-sig-release-assistant[bot] Jan 15, 2025
7aef98e
chore: automated PR to update VHDVersion for 202501.12.0 VHD (#5558)
aks-node-sig-release-assistant[bot] Jan 15, 2025
a9d0b74
Update windows base VHD to 2025-1B (#5576)
timmy-wright Jan 16, 2025
98ef1f4
feat: add release notes for win 2024-1226 12b (#5590)
bravebeaver Jan 16, 2025
5deea89
chore: add 2404 trusted launch build skeleton (#5594)
anujmaheshwari1 Jan 16, 2025
6b86327
chore: add 2404 vhds to autonotes (#5587)
anujmaheshwari1 Jan 16, 2025
7bfd288
fix pipeline step (#5592)
timmy-wright Jan 16, 2025
311b2de
Update coredns images v1.11.3-4 and v1.9.4-4 from MCR oss/v2 (#5596)
SriHarsha001 Jan 16, 2025
465e7e9
chore: set pool name on windows pipelines (#5597)
timmy-wright Jan 16, 2025
5b79aa8
chore: match rollback of cns and cni images on AKS to 1.6.13 for wind…
santhoshmprabhu Jan 17, 2025
479a975
fix pipeline triggers missing (#5601)
timmy-wright Jan 17, 2025
fc6504e
chore: cache latest cilium 14 and 16 patches (#5586)
camrynl Jan 17, 2025
75f15d8
chore: copy Renovate assignees to reviewers so that they can self-app…
Devinwong Jan 17, 2025
8bbb948
fix: use variable group for static abe2e pipeline vars (#5603)
cameronmeissner Jan 17, 2025
e92e271
chore: add binaries for 1.31.5, 1.30.8, 1.29.12 (#5600)
wenhug Jan 18, 2025
54baefc
Test: Add a new E2E test Test_Ubuntu2404_ScriptlessInstaller (#5607)
xmzhao0822 Jan 18, 2025
64b51ef
chore: upgrade Azure File CSI driver to v1.31.2 in vhd image (#5593)
andyzhangx Jan 20, 2025
bcdc76b
chore: cache secrets-store-csi-driver v1.4.7 (#5570)
jiashun0011 Jan 21, 2025
c6c5943
chore: update 1.4.x cni and cns to 1.4.59 (#5551)
QxBytes Jan 21, 2025
66b44a3
chore: upgrade Azure Blob CSI driver versions in vhd image (#5615)
andyzhangx Jan 21, 2025
01bbe4d
test: remove a deprecated variable from e2e test (#5606)
Devinwong Jan 21, 2025
7bd1d08
add tags for E2E test Test_Ubuntu2404_ScriptlessInstaller (#5621)
xmzhao0822 Jan 21, 2025
326b862
chore: bump cni-plugins to 1.6.2 for CVE fixes (#5620)
cameronmeissner Jan 21, 2025
fafa7a4
Enable linter for aks-node-controller (#5618)
r2k1 Jan 21, 2025
1494463
docs: update windows release notes for 2025-01B (#5616)
aks-node-sig-release-assistant[bot] Jan 21, 2025
de05b87
chore: automated PR to update ReleaseNotes for 202501.21.0 VHD (#5631)
aks-node-sig-release-assistant[bot] Jan 21, 2025
f441e32
documentation: update readme for merging runc and containerd (#5629)
Devinwong Jan 22, 2025
9e9cf3c
Add yew and ybaydogan for code owners (#5627)
yagmurbaydogan Jan 22, 2025
26bf9d9
chore(deps): update dependency moby-containerd to v1.7.25-ubuntu22.04…
renovate[bot] Jan 22, 2025
5ba97e6
chore(deps): update dependency moby-containerd to v1.7.25-ubuntu20.04…
renovate[bot] Jan 22, 2025
1cb39a8
chore(deps): update dependency moby-containerd to v2.0.2-ubuntu24.04u…
renovate[bot] Jan 22, 2025
42e3e68
chore(deps): update dependency moby-runc to v1.2.4-ubuntu24.04u1 (#5626)
renovate[bot] Jan 22, 2025
62d6b2d
Xmzhao/add e2e test ubuntu2204 gpua10 scriptless (#5633)
xmzhao0822 Jan 22, 2025
df496f3
chore: don't run e2e tests if the VHD isn't being built (#5636)
timmy-wright Jan 22, 2025
f456075
chore: fix condition in windows pipeline (#5638)
timmy-wright Jan 22, 2025
2284326
chore: bump moby-containerd version for azure linux (#5640)
timmy-wright Jan 22, 2025
61feda1
feat: add AzureLinuxV3 Gen2 TrustedLaunch to autonotes (#5632)
aadhar-agarwal Jan 22, 2025
39c2201
revert: chore: automated PR to update ReleaseNotes for 202501.21.0 VH…
cameronmeissner Jan 22, 2025
31cfc3e
test: include aks-node-controller files and exclude md files in PR ga…
Devinwong Jan 22, 2025
c3de6a0
chore: cleanup cached binaries and container images for disk space (#…
cameronmeissner Jan 22, 2025
864f341
fix: remove encoding from scriptless systctl content (#5646)
Devinwong Jan 22, 2025
cfe184d
Xmzhao/add test ubuntu2204 customsysctls scriptless (#5648)
xmzhao0822 Jan 22, 2025
c16abcc
test(helper): add coverage on getTargetEnvironment method (#5639)
techworldhello Jan 23, 2025
2777a07
Only build and run one of the gen1/gen2 windows VHDs on PR build (#5651)
timmy-wright Jan 23, 2025
41a38a4
chore: automated PR to update ReleaseNotes for 202501.22.0 VHD (#5645)
aks-node-sig-release-assistant[bot] Jan 23, 2025
989219b
chore: better logging of azcopy output (#5634)
timmy-wright Jan 23, 2025
38df0e5
add e2e test for Test_Ubuntu2204_ContainerdURL_Scriptless (#5652)
xmzhao0822 Jan 23, 2025
5c02232
Better test logging for windows VHD unit tests (#5442)
timmy-wright Jan 23, 2025
c45c5fc
configure renovate to automerge runc and containerd patch versions (#…
Devinwong Jan 23, 2025
88a9ba8
fix: separate extractVersion and update readme-renovate.md (#5655)
Devinwong Jan 23, 2025
a97d3fa
feat: add extra logging for custom ca setup (#5649)
UtheMan Jan 23, 2025
2343477
Update coredns images v1.12.0-1 and v1.9.4-5 from MCR oss/v2 (#5657)
SriHarsha001 Jan 24, 2025
fface89
chore: set image version variable within scanning (#5591)
jason1028kr Jan 24, 2025
aa7567f
refactor: containerd config registry host file to cse (#5393)
bingosummer Jan 24, 2025
ba457a5
Add release notes for security patch 20250115T000000Z (#5647)
yagmurbaydogan Jan 24, 2025
c104fb9
chore: adjust custom ca systemd service logging for GA behavior (#5656)
UtheMan Jan 24, 2025
20b5bf8
feat: managed prometheus addon release Jan 2025 (#5653)
rashmichandrashekar Jan 24, 2025
990f7f8
fix: move security patch release notes to correct location (#5658)
cameronmeissner Jan 24, 2025
de1cedb
add e2e test for Test_AzureLinuxV2_Scriptless (#5662)
xmzhao0822 Jan 24, 2025
ad2c036
chore: automated PR to update VHDVersion for 202501.22.0 VHD (#5644)
aks-node-sig-release-assistant[bot] Jan 25, 2025
1b28e88
chore: bump cns 1.5 (#5660)
tyler-lloyd Jan 27, 2025
983e302
add displayname to e2e pipeline (#5666)
timmy-wright Jan 27, 2025
fc20499
fix: convert to VHD blob step fix (#5667)
zachary-bailey Jan 27, 2025
a6e4f9a
fix: build cvm on cvm hardware (#5643)
zachary-bailey Jan 27, 2025
21cde32
chore(deps): update oss/binaries/kubernetes/azure-acr-credential-prov…
renovate[bot] Jan 27, 2025
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
The table of contents is too big for display.
Diff view
Diff view
  •  
  •  
  •  
5 changes: 3 additions & 2 deletions .devcontainer/devcontainer.json
Original file line number Diff line number Diff line change
Expand Up @@ -3,9 +3,10 @@
{
"name": "Go",
// Or use a Dockerfile or Docker Compose file. More info: https://containers.dev/guide/dockerfile
"image": "mcr.microsoft.com/devcontainers/go:1-1.20-bullseye",
"image": "mcr.microsoft.com/devcontainers/go:1-1.22-bullseye",
"features": {
"ghcr.io/devcontainers-contrib/features/protoc:1": {}
"ghcr.io/devcontainers-contrib/features/protoc:1": {},
"ghcr.io/devcontainers/features/azure-cli:1": {}
},

// Features to add to the dev container. More info: https://containers.dev/features.
Expand Down
74 changes: 66 additions & 8 deletions .github/README-RENOVATE.md
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@
- [Okay, I just have 5 minutes. Please just tell me how to onboard a new package/container now to Renovate.json for auto-update.](#okay-i-just-have-5-minutes-please-just-tell-me-how-to-onboard-a-new-packagecontainer-now-to-renovatejson-for-auto-update)
- [What is the responsibility of a PR assignee?](#what-is-the-responsibility-of-a-pr-assignee)
- [What components are onboarded to Renovate for auto-update and what are not yet?](#what-components-are-onboarded-to-renovate-for-auto-update-and-what-are-not-yet)

- [Details on supporting the MAR OCI artifacts.](#details-on-supporting-the-mar-oci-artifacts)
# TL;DR
This readme is mainly describing how the renovate.json is constructed and the reasoning behind. If you are adding a new component to be cached in VHD, please refer to this [Readme-components](../parts/linux/cloud-init/artifacts/README-COMPONENTS.md) for tutorial. If you are onboarding a newly added component to Renovate automatic updates, you can jump to the [Hands-on guide and FAQ](#hands-on-guide-and-faq).

Expand Down Expand Up @@ -73,7 +73,21 @@ In summary, this package rule is saying it will apply auto-update without `autom

Combining these 2 package rules together is actually asking Renovate not to update `major` and `minor`, but just `patch`, `pin` and `digest`.

We configured auto-merge patch version for components `moby-runc` and `moby-containerd`. Please search `"matchPackageNames": ["moby-runc", "moby-containerd"]` in `renovate.json` for an example.

As of 01/23/2025, the PR merging policy is as follows.
| Components | Major | Minor | Patch |
| -------- | ------ | ------ | ------ |
| Runc, Containerd | Manual | Manual | Auto |
| Others | Manual | Manual | Manual |

The update of `Runc` and `Containerd` is owned by Node SIG and we have sufficient confidence to auto-merge it with our tests and PR gates. Thus it's set to `auto-merge`.
For other components, we are still relying on the owner teams to approve and merge. If there is a need to auto-merge a component, it's always configurable.

---

For more context to anyone who is interested, let's walk through a real example. Feel free to skip reading this if it has nothing to do with your task.

### (Optional context) Why not updating minor?
Using azure-cni as an example, if we enable auto updating `minor`, we will see the following PRs created by Renovate automatically at of Sep 12, 2024.
- PR1: containernetworking/azure-cni minor v1.5.32 -> v1.6.6
Expand Down Expand Up @@ -101,9 +115,10 @@ For example,
{
"matchPackageNames": ["moby-runc", "moby-containerd"],
"assignees": ["devinwong", "anujmaheshwari1", "cameronmeissner", "AlisonB319", "lilypan26", "djsly", "jason1028kr", "UtheMan", "zachary-bailey", "ganeshkumarashok"]
"reviewers": ["devinwong", "anujmaheshwari1", "cameronmeissner", "AlisonB319", "lilypan26", "djsly", "jason1028kr", "UtheMan", "zachary-bailey", "ganeshkumarashok"]
},
```
In this block, it is saying that if the package name, that a PR is updating, is one of the defined values, then assign this PR to these Github IDs.
In this block, it is saying that if the package name, that a PR is updating, is one of the defined values, then assign this PR to these Github IDs. The values in `reviewers` are the same group of people to allow them to self-approve the PR. Unfortunately JSON doesn't support variable in value so we have to provide the value strings twice for both `assignees` and `reviewers`

### Additional string operation to specific component
```
Expand Down Expand Up @@ -293,7 +308,7 @@ Depending on what kind of component you are going to onboard.
]
}
```
Please make sure you set the `renovateTag` correctly, where `registry` is always `https://mcr.microsoft.com` now, and the `name` doesn't have a leading slash `/`. As of Sept 2024, The container Images in `components.json` are all hosted in MCR and MCR is the only registry enabled in the current Renovate configuration file `renovate.json`. If there is demand for other container images registry, it will be necessary to double check if it will just work.
Please make sure you set the `renovateTag` correctly, where `registry` is always `https://mcr.microsoft.com` now, and the `name` doesn't have a leading slash `/`. As of Jan 2025, The container Images in `components.json` are all hosted in MCR and MCR is the only registry enabled in the current Renovate configuration file `renovate.json`. If there is demand for other container images registry, it will be necessary to double check if it will just work.

Fore more details, you can refer to Readme-components linked at the beginning of this document.

Expand Down Expand Up @@ -324,9 +339,10 @@ There is an example for packages `moby-runc` and `moby-containred`
{
"matchPackageNames": ["moby-runc", "moby-containerd"],
"assignees": ["devinwong"]
"reviewers": ["devinwong"]
},
```
You can follow this example to create a block and fill in the matchPackageNames with your **GitHub ID** to assign to yourself, assuming you are the owner. Note that the packageName here must be the exact name that you can find in your datasource. For example, in the datasource PMC which hosts `moby-runc` and `moby-containerd`, we are running `apt-get install moby-runc moby-containerd`. So this is the correct package name.
You can follow this example to create a block and fill in the matchPackageNames with your **GitHub ID** to assign and set reviewer to yourself, assuming you are the owner. Note that the packageName here must be the exact name that you can find in your datasource. For example, in the datasource PMC which hosts `moby-runc` and `moby-containerd`, we are running `apt-get install moby-runc moby-containerd`. So this is the correct package name.

Another example is for a container image `mcr.microsoft.com/oss/kubernetes/kube-proxy`. In this case you should fill in the matchPackageNames with packageName `oss/kubernetes/kube-proxy`. Note there is no leading slash `/`.

Expand All @@ -343,9 +359,51 @@ If your GitHub ID is placed in the `assignees` array, you are responsible for th
## What components are onboarded to Renovate for auto-update and what are not yet?
In general, if a component has the `"renovateTag": "<DO_NOT_UPDATE>"`, it means it's not monitored by Renovate and won't be updated automatically.

As of 9/18/2024,
As of 01/23/2025,
- All the container images are onboarded to Renovate for auto-update.
- PMC hosted packages, namely `runc` and `containerd`, are onboarded for auto-update.
- Acs-mirror hosted packages/binaries, namely `cni-plugins`, `azure-cni`, `cri-tools`, `kubernetes-binaries` and `azure-acr-credential-provider`, are NOT onboarded for auto-update yet. There are plans to move the acs-mirror hosted packages to MCR OCI which will be downloaded by Oras. We will wait for this transition to be completed to understand the details how to manage them.
- PMC hosted packages, namely `runc` and `containerd`, are configured as auto-merge patch version.
- OCI artifacts hosted on MAR(aka MCR) such as `kubernetes-binaries`, `azure-acr-credential-provider` and `containerd-wasm-shims` are onboarded for auto-update.
- Acs-mirror hosted packages/binaries, namely `cni-plugins`, `azure-cni`, `cri-tools`, etc., are NOT onboarded for auto-update yet. There are plans to move the acs-mirror hosted packages to MCR OCI which will be downloaded by Oras. We will wait for this transition to be completed to understand the details how to manage them.

For the most up-to-date information, please refer to the actual configuration file `components.json`.
For the most up-to-date information, please refer to the actual configuration file `components.json`.

## Details on supporting the MAR OCI artifacts.
MAR OCI artifact is a bit special. The artifact is hosted/stored in a container registry (e.g. MCR, now rebranded to MAR), while it's not necessarily a container image. Instead it could be any format such as Helm charts, Software Bill of Materials (SBOM), a package or a tar/tgz file.
The `renovate.json` file is configured to support OCI artifact now. There is a packageRule like below to support auto updating OCI artifact, which is,
```
{
"matchDatasources": ["docker"],
"matchPackageNames": ["oss/binaries/kubernetes/kubernetes-node", "oss/binaries/kubernetes/azure-acr-credential-provider", "oss/binaries/deislabs/containerd-wasm-shims"],
"extractVersion": "^(?P<version>.*?)-[^-]*-[^-]*$"
},
```
Explanations as below.
1. The `datasource` should be `docker`.
2. The `packageName` should be one of those in the list.
3. In `extractVersion`, we use a regex to extract only part of the tag as the version to be stored in `latestVersion` in `components.json`.

Take `kubernetes-binaries` as an example. If you view all the tags from this list https://mcr.microsoft.com/v2/oss/binaries/kubernetes/kubernetes-node/tags/list?n=10000, you will notice that the format of the tags is quite varied, like, `v1.27.100-akslts-linux-amd64` , `v1.30.0-linux-amd64`, `v1.31.1-linux-arm64`. This regex is to capture only the values before the second-to-last dash (-). For example, if the tag is `v1.27.100-akslts-linux-amd64`, we capture `v1.27.100-akslts` as the version to be stored in `latestVersion` in `components.json`. If the tag is `v1.30.0-linux-amd64`, we capture `v1.30.0`. We do not capture the CPU architecture (amd64|arm64) to keep it generic, avoiding the need to define the same thing for both `amd64` and `arm64`.

3 packages in `components.json` are onboarded now: `oss/binaries/kubernetes/kubernetes-node`, `oss/binaries/kubernetes/azure-acr-credential-provider` and `oss/binaries/deislabs/containerd-wasm-shims`. You will see a new tag `OCI_registry` in `renovateTag`.

Continue using `kubernetes-binaries` as an example. Here is a block of version information defined as follows.
```
{
"k8sVersion": "1.31",
"renovateTag": "OCI_registry=https://mcr.microsoft.com, name=oss/binaries/kubernetes/kubernetes-node",
"latestVersion": "v1.31.2",
"previousLatestVersion": "v1.31.1"
}
```
where
1. `k8sVersion` is optional and specifies that it is tied to Kubernetes v1.31.
1. `renovateTag` defines the OCI registry and artifact name that Renovate should look up from its datasource.
1. `latestVersion` and `previousLatestVersion` define the versions to be cached as usual.

And next you will see
```
"downloadURL": "mcr.microsoft.com/oss/binaries/kubernetes/kubernetes-node:${version}-linux-${CPU_ARCH}"
```
where
- `${version}` will be resolved at runtime with the `latestVersion` and `previousLatestVersion` defined above.
- `${CPU_ARCH}` will be resolved at runtime depending on the CPU architecture of the Node (VM) under provisioning.
9 changes: 0 additions & 9 deletions .github/README.md

This file was deleted.

49 changes: 44 additions & 5 deletions .github/renovate.json
Original file line number Diff line number Diff line change
Expand Up @@ -70,23 +70,49 @@
},
{
"matchPackageNames": ["moby-runc", "moby-containerd"],
"assignees": ["devinwong", "anujmaheshwari1", "cameronmeissner", "AlisonB319", "lilypan26", "djsly", "jason1028kr", "UtheMan", "zachary-bailey", "ganeshkumarashok"]
"matchUpdateTypes": [
"patch"
],
"automerge": true,
"enabled": true,
"assignees": ["devinwong", "anujmaheshwari1", "cameronmeissner", "AlisonB319", "lilypan26", "djsly", "jason1028kr", "UtheMan", "zachary-bailey", "ganeshkumarashok"],
"reviewers": ["devinwong", "anujmaheshwari1", "cameronmeissner", "AlisonB319", "lilypan26", "djsly", "jason1028kr", "UtheMan", "zachary-bailey", "ganeshkumarashok"]
},
{
"matchPackageNames": ["azure-cni", "azure-cns", "containernetworking/azure-cni", "containernetworking/azure-cns"],
"assignees": ["rbtr", "behzad-mir", "QxBytes"]
"matchPackageNames": ["azure-cni", "azure-cns", "containernetworking/azure-cni", "containernetworking/azure-cns", "containernetworking/cilium/cilium"],
"assignees": ["rbtr", "behzad-mir", "QxBytes", "jpayne3506"],
"reviewers": ["rbtr", "behzad-mir", "QxBytes", "jpayne3506"]
},
{
"matchPackageNames": ["aks/aks-node-ca-watcher"],
"assignees": ["UtheMan"]
"assignees": ["UtheMan"],
"reviewers": ["UtheMan"]
},
{
"matchPackageNames": ["oss/kubernetes/coredns", "oss/v2/kubernetes/coredns"],
"assignees": ["SriHarsha001"]
"assignees": ["SriHarsha001"],
"reviewers": ["SriHarsha001"]
},
{
"matchPackageNames": ["oss/binaries/kubernetes/azure-acr-credential-provider"],
"assignees": ["mainred"],
"reviewers": ["mainred"]
},
{
"matchDatasources": ["docker"],
"matchPackageNames": ["oss/binaries/kubernetes/kubernetes-node", "oss/binaries/kubernetes/azure-acr-credential-provider", "oss/binaries/deislabs/containerd-wasm-shims"],
"extractVersion": "^(?P<version>.*?)-[^-]*-[^-]*$"
},
{
"matchPackageNames": ["moby-runc", "moby-containerd"],
"extractVersion": "^v?(?<version>.+)$"
},
{
"matchPackageNames": ["aks/aks-gpu-cuda", "aks/aks-gpu-grid"],
"versioning": "regex:^(?<major>\\d+)\\.(?<minor>\\d+)\\.(?<patch>\\d+)-(?<prerelease>\\d{14})$",
"automerge": false,
"enabled": true,
"ignoreUnstable": false
}
],
"customManagers": [
Expand All @@ -103,6 +129,19 @@
"datasourceTemplate": "docker",
"autoReplaceStringTemplate": "\"renovateTag\": \"registry={{{registryUrl}}}, name={{{packageName}}}\",\n \"latestVersion\": \"{{{newValue}}}\"{{#if depType}},\n \"previousLatestVersion\": \"{{{currentValue}}}\"{{/if}}"
},
{
"customType": "regex",
"description": "auto update OCI artifacts in components.json",
"fileMatch": [
"parts/linux/cloud-init/artifacts/components.json"
],
"matchStringsStrategy": "any",
"matchStrings": [
"\"renovateTag\":\\s*\"OCI_registry=(?<registryUrl>[^,]+), name=(?<packageName>[^\"]+)\",\\s*\"latestVersion\":\\s*\"(?<currentValue>[^\"]+)\"(?:[^}]*\"previousLatestVersion\":\\s*\"(?<depType>[^\"]+)\")?"
],
"datasourceTemplate": "docker",
"autoReplaceStringTemplate": "\"renovateTag\": \"OCI_registry={{{registryUrl}}}, name={{{packageName}}}\",\n \"latestVersion\": \"{{{newValue}}}\"{{#if depType}},\n \"previousLatestVersion\": \"{{{currentValue}}}\"{{/if}}"
},
{
"customType": "regex",
"description": "auto update packages for OS ubuntu 18.04 in components.json",
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/auto-update.yml
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ on:
jobs:
Auto:
name: Auto-update
runs-on: ubuntu-latest
runs-on: ubuntu-24.04
steps:
- uses: tibdex/auto-update@v2
with:
Expand Down
24 changes: 24 additions & 0 deletions .github/workflows/buf.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,24 @@
name: Buf CI
on:
push:
paths:
- "aks-node-controller/proto/**"
- "aks-node-controller/buf.yaml"
- ".github/workflows/buf.yaml"
pull_request:
types: [opened, synchronize, reopened, labeled, unlabeled]
paths:
- "aks-node-controller/proto/**"
- "aks-node-controller/buf.yaml"
- ".github/workflows/buf.yaml"
permissions:
contents: read
pull-requests: write
jobs:
buf:
runs-on: ubuntu-24.04
steps:
- uses: actions/checkout@v4
- uses: bufbuild/buf-action@v1
with:
input: aks-node-controller
2 changes: 1 addition & 1 deletion .github/workflows/cflite_batch.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ permissions: read-all

jobs:
BatchFuzzing:
runs-on: ubuntu-latest
runs-on: ubuntu-24.04
strategy:
fail-fast: false
matrix:
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/cflite_build.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ on:
permissions: read-all
jobs:
Build:
runs-on: ubuntu-latest
runs-on: ubuntu-24.04
concurrency:
group: ${{ github.workflow }}-${{ matrix.sanitizer }}-${{ github.ref }}
cancel-in-progress: true
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/cflite_prune.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ permissions: read-all

jobs:
Pruning:
runs-on: ubuntu-latest
runs-on: ubuntu-24.04
steps:
- name: Build Fuzzers
id: build
Expand All @@ -34,7 +34,7 @@ jobs:
storage-repo-branch: main # Optional. Defaults to "main"
storage-repo-branch-coverage: gh-pages # Optional. Defaults to "gh-pages".
Coverage:
runs-on: ubuntu-latest
runs-on: ubuntu-24.04
steps:
- name: Build Fuzzers
id: build
Expand Down
11 changes: 2 additions & 9 deletions .github/workflows/check-coverage.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,16 +6,9 @@ permissions:
id-token: write
contents: read

env:
SUBSCRIPTION_ID: "8ecadfc9-d1a3-4ea4-b844-0d9f87e4d7c8"
RESOURCE_GROUP_NAME: "agentbaker-e2e-tests"
LOCATION: "eastus"
CLUSTER_NAME: "agentbaker-e2e-test-cluster"
AZURE_TENANT_ID: "72f988bf-86f1-41af-91ab-2d7cd011db47"

jobs:
unit_tests:
runs-on: ubuntu-latest
runs-on: ubuntu-24.04
steps:
- name: Install Go
if: success()
Expand Down Expand Up @@ -43,7 +36,7 @@ jobs:
finish:
needs: [unit_tests]
if: ${{ success() }}
runs-on: ubuntu-latest
runs-on: ubuntu-24.04
steps:
- name: Coveralls Finished
uses: coverallsapp/github-action@v2
Expand Down
8 changes: 4 additions & 4 deletions .github/workflows/codeql-analysis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ on:
jobs:
analyze:
name: Analyze
runs-on: ubuntu-latest
runs-on: ubuntu-24.04
permissions:
actions: read
contents: read
Expand All @@ -48,7 +48,7 @@ jobs:

# Initializes the CodeQL tools for scanning.
- name: Initialize CodeQL
uses: github/codeql-action/init@v2
uses: github/codeql-action/init@v3
with:
languages: ${{ matrix.language }}
# If you wish to specify custom queries, you can do so here or in a config file.
Expand All @@ -62,7 +62,7 @@ jobs:
# Autobuild attempts to build any compiled languages (C/C++, C#, or Java).
# If this step fails, then you should remove it and run the build manually (see below)
- name: Autobuild
uses: github/codeql-action/autobuild@v2
uses: github/codeql-action/autobuild@v3

# ℹ️ Command-line programs to run using the OS shell.
# πŸ“š See https://docs.github.com/en/actions/using-workflows/workflow-syntax-for-github-actions#jobsjob_idstepsrun
Expand All @@ -75,4 +75,4 @@ jobs:
# ./location_of_script_within_repo/buildscript.sh

- name: Perform CodeQL Analysis
uses: github/codeql-action/analyze@v2
uses: github/codeql-action/analyze@v3
2 changes: 1 addition & 1 deletion .github/workflows/generate-kubelet-flags.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ on:

jobs:
generate-kubelet-flags:
runs-on: ubuntu-latest
runs-on: ubuntu-24.04
steps:
- name: Set up containerd
uses: crazy-max/ghaction-setup-containerd@v2
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/go-test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ on: pull_request

jobs:
go-test:
runs-on: ubuntu-latest
runs-on: ubuntu-24.04
steps:
- uses: actions/checkout@v4
- uses: actions/setup-go@v3
Expand Down
Loading
Loading