Skip to content

Commit

Permalink
Merge pull request containerd#6725 from dmcgowan/prepare-v1.6.2
Browse files Browse the repository at this point in the history
Prepare release notes for v1.6.2
  • Loading branch information
dmcgowan authored Mar 24, 2022
2 parents 8a36855 + 8461dd6 commit de8046a
Show file tree
Hide file tree
Showing 4 changed files with 29 additions and 7 deletions.
1 change: 1 addition & 0 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -32,6 +32,7 @@ jobs:
- uses: golangci/golangci-lint-action@v3
with:
version: v1.44.2
skip-cache: true
args: --timeout=5m

#
Expand Down
21 changes: 21 additions & 0 deletions releases/v1.6.2.toml
Original file line number Diff line number Diff line change
@@ -0,0 +1,21 @@
# commit to be tagged for new release
commit = "HEAD"

project_name = "containerd"
github_repo = "containerd/containerd"
match_deps = "^github.com/(containerd/[a-zA-Z0-9-]+)$"

# previous release
previous = "v1.6.1"

pre_release = false

preface = """\
The second patch release for containerd 1.6 includes a fix for
[CVE-2022-24769](https://github.com/containerd/containerd/security/advisories/GHSA-c9cp-9c75-9v8c).
### Notable Updates
* **Fix the inheritable capability defaults** ([GHSA-c9cp-9c75-9v8c](https://github.com/containerd/containerd/security/advisories/GHSA-c9cp-9c75-9v8c))
See the changelog for complete list of changes"""
12 changes: 6 additions & 6 deletions runtime/v2/shim/shim.go
Original file line number Diff line number Diff line change
Expand Up @@ -169,7 +169,7 @@ func setLogger(ctx context.Context, id string) (context.Context, error) {
l.Logger.SetLevel(logrus.DebugLevel)
}
f, err := openLog(ctx, id)
if err != nil {
if err != nil { //nolint:staticcheck // Ignore SA4023 as some platforms always return error
return ctx, err
}
l.Logger.SetOutput(f)
Expand Down Expand Up @@ -255,12 +255,12 @@ func run(ctx context.Context, manager Manager, initFunc Init, name string, confi
setRuntime()

signals, err := setupSignals(config)
if err != nil {
if err != nil { //nolint:staticcheck // Ignore SA4023 as some platforms always return error
return err
}

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

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

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

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

l, err := serveListener(socketFlag)
if err != nil {
if err != nil { //nolint:staticcheck // Ignore SA4023 as some platforms always return error
return err
}
go func() {
Expand Down
2 changes: 1 addition & 1 deletion version/version.go
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ var (
Package = "github.com/containerd/containerd"

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

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

0 comments on commit de8046a

Please sign in to comment.