Skip to content

Commit bd15ee4

Browse files
committed
Merge tag 'v1.6.21' into release-4.13
containerd 1.6.21 Welcome to the v1.6.21 release of containerd! The twenty-first patch release for containerd 1.6 contains various fixes and updates. * **update runc binary to v1.1.7 ([containerd#8450](containerd#8450)) * **Remove entry for container from container store on error ([containerd#8456](containerd#8456)) * **oci: partially restore comment on read-only mounts for uid/gid uses ([containerd#8403](containerd#8403)) * **windows: Add ArgsEscaped support for CRI ([containerd#8247](containerd#8247)) * **oci: Use WithReadonlyTempMount when adding users/groups ([containerd#8357](containerd#8357)) * **archive: consistently respect value of WithSkipDockerManifest ([containerd#8345](containerd#8345)) See the changelog for complete list of changes Please try out the release binaries and report any issues at https://github.com/containerd/containerd/issues. * Derek McGowan * Sebastiaan van Stijn * Iceber Gu * Kirtana Ashok * Justin Chadwell * Phil Estes * Akihiro Suda * Djordje Lukic * Kazuyoshi Kato * Mike Brown * Wei Fu * kiashok <details><summary>26 commits</summary> <p> * [release/1.6] Prepare release notes for v1.6.21 ([containerd#8463](containerd#8463)) * [`9226c362a`](containerd@9226c36) Add release notes for v1.6.21 * [release/1.6] update go to go1.19.9 ([containerd#8469](containerd#8469)) * [`39566aade`](containerd@39566aa) [release/1.6] update go to go1.19.9 * [release/1.6] fix the task setting the runtime path ([containerd#8454](containerd#8454)) * [`e8840f688`](containerd@e8840f6) skip TestContainerStartWithAbsRuntimePath if the runtime is v1 * [`75ab094de`](containerd@75ab094) integration: add container start test using abs runtime path * [`f49254f0b`](containerd@f49254f) WithRuntimePath uses the TaskInfo.RuntimePath field * [release/1.6 backport] update runc binary to v1.1.7 ([containerd#8450](containerd#8450)) * [`ccb51ff26`](containerd@ccb51ff) update runc binary to v1.1.7 * [release/1.6] Remove entry for container from container store on error ([containerd#8456](containerd#8456)) * [`95d31551d`](containerd@95d3155) Remove entry for container from container store on error * [release/1.6 backport] oci: partially restore comment on read-only mounts for uid/gid uses ([containerd#8403](containerd#8403)) * [`c33eb574d`](containerd@c33eb57) oci: partially restore comment on read-only mounts for uid/gid uses * [release/1.6 ] Add ArgsEscaped support for CRI ([containerd#8247](containerd#8247)) * [`bc2e01303`](containerd@bc2e013) Fix argsEscaped tests * [`8b81d5acc`](containerd@8b81d5a) Add ArgsEscaped support for CRI * [release/1.6 backport] update runc binary to v1.1.6 ([containerd#8385](containerd#8385)) * [`57d953482`](containerd@57d9534) update runc binary to v1.1.6 * [release/1.6 backport] oci: Use WithReadonlyTempMount when adding users/groups ([containerd#8357](containerd#8357)) * [`fb5e663d0`](containerd@fb5e663) oci: Use WithReadonlyTempMount when adding users/groups * [release/1.6] update go to go1.19.8 ([containerd#8353](containerd#8353)) * [`26efb8fd5`](containerd@26efb8f) [release/1.6] update go to go1.19.8 * [release/1.6] archive: consistently respect value of WithSkipDockerManifest ([containerd#8345](containerd#8345)) * [`ec13b497e`](containerd@ec13b49) export: add test for WithSkipDockerManifest * [`d1f3771c4`](containerd@d1f3771) archive: consistently respect value of WithSkipDockerManifest </p> </details> This release has no dependency changes Previous release can be found at [v1.6.20](https://github.com/containerd/containerd/releases/tag/v1.6.20)
2 parents d594a39 + 3dce8eb commit bd15ee4

File tree

193 files changed

+6501
-665
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

193 files changed

+6501
-665
lines changed

.github/workflows/build-test-images.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -41,7 +41,7 @@ jobs:
4141
steps:
4242
- uses: actions/setup-go@v3
4343
with:
44-
go-version: '1.19.6'
44+
go-version: '1.19.9'
4545

4646
- uses: actions/checkout@v3
4747
with:

.github/workflows/ci.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ on:
1212
env:
1313
# Go version we currently use to build containerd across all CI.
1414
# Note: don't forget to update `Binaries` step, as it contains the matrix of all supported Go versions.
15-
GO_VERSION: '1.19.6'
15+
GO_VERSION: '1.19.9'
1616

1717
permissions: # added using https://github.com/step-security/secure-workflows
1818
contents: read
@@ -47,7 +47,7 @@ jobs:
4747
- uses: actions/checkout@v3
4848
- uses: golangci/golangci-lint-action@v3
4949
with:
50-
version: v1.49.0
50+
version: v1.50.1
5151
skip-cache: true
5252
args: --timeout=5m
5353

@@ -233,7 +233,7 @@ jobs:
233233
strategy:
234234
matrix:
235235
os: [ubuntu-20.04, macos-12, windows-2019, windows-2022]
236-
go-version: ["1.17.13", "1.19.6"]
236+
go-version: ["1.17.13", "1.19.9"]
237237
steps:
238238
- name: Install dependencies
239239
if: matrix.os == 'ubuntu-20.04'

.github/workflows/codeql.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -33,7 +33,7 @@ jobs:
3333

3434
- uses: actions/setup-go@v3
3535
with:
36-
go-version: 1.19.6
36+
go-version: 1.19.9
3737

3838
# Initializes the CodeQL tools for scanning.
3939
- name: Initialize CodeQL

.github/workflows/images.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@ jobs:
2626
steps:
2727
- uses: actions/setup-go@v3
2828
with:
29-
go-version: '1.19.6'
29+
go-version: '1.19.9'
3030

3131
- uses: actions/checkout@v3
3232
with:

.github/workflows/nightly.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ on:
77
- '.github/workflows/nightly.yml'
88

99
env:
10-
GO_VERSION: '1.19.6'
10+
GO_VERSION: '1.19.9'
1111

1212
permissions: # added using https://github.com/step-security/secure-workflows
1313
contents: read

.github/workflows/release.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ on:
66
name: Containerd Release
77

88
env:
9-
GO_VERSION: '1.19.6'
9+
GO_VERSION: '1.19.9'
1010

1111
permissions: # added using https://github.com/step-security/secure-workflows
1212
contents: read

.github/workflows/windows-periodic.yml

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -162,7 +162,11 @@ jobs:
162162
163163
- name: RunIntegrationTests
164164
run: |
165-
ssh -i $HOME/.ssh/id_rsa ${{ env.SSH_OPTS }} azureuser@${{ env.VM_PUB_IP }} "sh.exe -c 'cd /c/containerd && (make integration | tee /c/Logs/integration.log)'"
165+
ssh -i $HOME/.ssh/id_rsa ${{ env.SSH_OPTS }} azureuser@${{ env.VM_PUB_IP }} "sh.exe -s" << EOF
166+
cd /c/containerd
167+
export EXTRA_TESTFLAGS="-timeout=20m"
168+
make integration | tee /c/Logs/integration.log
169+
EOF
166170
ssh -i $HOME/.ssh/id_rsa ${{ env.SSH_OPTS }} azureuser@${{ env.VM_PUB_IP }} "sh.exe -c 'cat /c/Logs/integration.log | go-junit-report.exe > /c/Logs/junit_00.xml'"
167171
168172
- name: PrepareRepoList
@@ -185,7 +189,6 @@ jobs:
185189
ssh -i $HOME/.ssh/id_rsa ${{ env.SSH_OPTS }} azureuser@${{ env.VM_PUB_IP }} "sh.exe -s" <<EOF
186190
cd c:/containerd
187191
./script/setup/install-cni-windows
188-
mkdir /c/tmp
189192
export TEST_IMAGE_LIST=c:/repolist.toml
190193
make cri-integration | tee c:/Logs/cri-integration.log
191194
EOF

.golangci.yml

Lines changed: 35 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -1,27 +1,55 @@
11
linters:
22
enable:
3-
- structcheck
4-
- varcheck
5-
- staticcheck
6-
- unconvert
3+
- exportloopref # Checks for pointers to enclosing loop variables
74
- gofmt
85
- goimports
9-
- revive
6+
- gosec
107
- ineffassign
11-
- vet
12-
- unused
138
- misspell
9+
- nolintlint
10+
- revive
11+
- staticcheck
12+
- tenv # Detects using os.Setenv instead of t.Setenv since Go 1.17
13+
- unconvert
14+
- unused
15+
- vet
16+
- dupword # Checks for duplicate words in the source code
1417
disable:
1518
- errcheck
1619

1720
issues:
1821
include:
1922
- EXC0002
23+
max-issues-per-linter: 0
24+
max-same-issues: 0
25+
26+
# Only using / doesn't work due to https://github.com/golangci/golangci-lint/issues/1398.
27+
exclude-rules:
28+
- path: 'archive[\\/]tarheader[\\/]'
29+
# conversion is necessary on Linux, unnecessary on macOS
30+
text: "unnecessary conversion"
31+
32+
linters-settings:
33+
gosec:
34+
# The following issues surfaced when `gosec` linter
35+
# was enabled. They are temporarily excluded to unblock
36+
# the existing workflow, but still to be addressed by
37+
# future works.
38+
excludes:
39+
- G204
40+
- G305
41+
- G306
42+
- G402
43+
- G404
2044

2145
run:
2246
timeout: 8m
2347
skip-dirs:
2448
- api
49+
- cluster
2550
- design
2651
- docs
2752
- docs/man
53+
- releases
54+
- reports
55+
- test # e2e scripts

Vagrantfile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -93,7 +93,7 @@ EOF
9393
config.vm.provision "install-golang", type: "shell", run: "once" do |sh|
9494
sh.upload_path = "/tmp/vagrant-install-golang"
9595
sh.env = {
96-
'GO_VERSION': ENV['GO_VERSION'] || "1.19.6",
96+
'GO_VERSION': ENV['GO_VERSION'] || "1.19.9",
9797
}
9898
sh.inline = <<~SHELL
9999
#!/usr/bin/env bash

api/services/containers/v1/containers.pb.go

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)