Skip to content

Commit de8046a

Browse files
authored
Merge pull request #6725 from dmcgowan/prepare-v1.6.2
Prepare release notes for v1.6.2
2 parents 8a36855 + 8461dd6 commit de8046a

4 files changed

Lines changed: 29 additions & 7 deletions

File tree

.github/workflows/ci.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -32,6 +32,7 @@ jobs:
3232
- uses: golangci/golangci-lint-action@v3
3333
with:
3434
version: v1.44.2
35+
skip-cache: true
3536
args: --timeout=5m
3637

3738
#

releases/v1.6.2.toml

Lines changed: 21 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,21 @@
1+
# commit to be tagged for new release
2+
commit = "HEAD"
3+
4+
project_name = "containerd"
5+
github_repo = "containerd/containerd"
6+
match_deps = "^github.com/(containerd/[a-zA-Z0-9-]+)$"
7+
8+
# previous release
9+
previous = "v1.6.1"
10+
11+
pre_release = false
12+
13+
preface = """\
14+
The second patch release for containerd 1.6 includes a fix for
15+
[CVE-2022-24769](https://github.com/containerd/containerd/security/advisories/GHSA-c9cp-9c75-9v8c).
16+
17+
### Notable Updates
18+
19+
* **Fix the inheritable capability defaults** ([GHSA-c9cp-9c75-9v8c](https://github.com/containerd/containerd/security/advisories/GHSA-c9cp-9c75-9v8c))
20+
21+
See the changelog for complete list of changes"""

runtime/v2/shim/shim.go

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -169,7 +169,7 @@ func setLogger(ctx context.Context, id string) (context.Context, error) {
169169
l.Logger.SetLevel(logrus.DebugLevel)
170170
}
171171
f, err := openLog(ctx, id)
172-
if err != nil {
172+
if err != nil { //nolint:staticcheck // Ignore SA4023 as some platforms always return error
173173
return ctx, err
174174
}
175175
l.Logger.SetOutput(f)
@@ -255,12 +255,12 @@ func run(ctx context.Context, manager Manager, initFunc Init, name string, confi
255255
setRuntime()
256256

257257
signals, err := setupSignals(config)
258-
if err != nil {
258+
if err != nil { //nolint:staticcheck // Ignore SA4023 as some platforms always return error
259259
return err
260260
}
261261

262262
if !config.NoSubreaper {
263-
if err := subreaper(); err != nil {
263+
if err := subreaper(); err != nil { //nolint:staticcheck // Ignore SA4023 as some platforms always return error
264264
return err
265265
}
266266
}
@@ -418,7 +418,7 @@ func run(ctx context.Context, manager Manager, initFunc Init, name string, confi
418418
}
419419

420420
server, err := newServer()
421-
if err != nil {
421+
if err != nil { //nolint:staticcheck // Ignore SA4023 as some platforms always return error
422422
return fmt.Errorf("failed creating server: %w", err)
423423
}
424424

@@ -428,7 +428,7 @@ func run(ctx context.Context, manager Manager, initFunc Init, name string, confi
428428
}
429429
}
430430

431-
if err := serve(ctx, server, signals, sd.Shutdown); err != nil {
431+
if err := serve(ctx, server, signals, sd.Shutdown); err != nil { //nolint:staticcheck // Ignore SA4023 as some platforms always return error
432432
if err != shutdown.ErrShutdown {
433433
return err
434434
}
@@ -460,7 +460,7 @@ func serve(ctx context.Context, server *ttrpc.Server, signals chan os.Signal, sh
460460
}
461461

462462
l, err := serveListener(socketFlag)
463-
if err != nil {
463+
if err != nil { //nolint:staticcheck // Ignore SA4023 as some platforms always return error
464464
return err
465465
}
466466
go func() {

version/version.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@ var (
2323
Package = "github.com/containerd/containerd"
2424

2525
// Version holds the complete version number. Filled in at linking time.
26-
Version = "1.6.1+unknown"
26+
Version = "1.6.2+unknown"
2727

2828
// Revision is filled with the VCS (e.g. git) revision being used to build
2929
// the program at linking time.

0 commit comments

Comments
 (0)