Skip to content

Commit e46a7a2

Browse files
akhilermk8s-infra-cherrypick-robot
authored andcommitted
set fetch-depth for containerd to 0 for version parsing
image volume e2e tests in k/k uses containerd version to trigger tests for some features. ref: https://github.com/kubernetes/kubernetes/blob/bfafa32d90958a8fe7a2ce09ed553fdfef4edd98/test/e2e_node/image_volume.go#L64 The current CI builds have only the SHA as the version since the tags are not present. setting fetch-depth makes sure the tags are present and will be used while testing. Signed-off-by: Akhil Mohan <[email protected]>
1 parent 531a4d5 commit e46a7a2

1 file changed

Lines changed: 1 addition & 0 deletions

File tree

.github/workflows/node-e2e.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -15,6 +15,7 @@ jobs:
1515
uses: actions/checkout@08c6903cd8c0fde910a37f88322edcfb5dd907a8 # v5.0.0
1616
with:
1717
path: src/github.com/containerd/containerd
18+
fetch-depth: 0
1819

1920
- name: Checkout Kubernetes
2021
uses: actions/checkout@08c6903cd8c0fde910a37f88322edcfb5dd907a8 # v5.0.0

0 commit comments

Comments
 (0)