Skip to content

v0.7.0

Compare
Choose a tag to compare
@hasheddan hasheddan released this 22 Jan 18:06
· 3553 commits to master since this release
v0.7.0
77cec6b

Changes by Kind

Feature

  • Added StageExtraFiles to build.Options to allow staging ExtraGcpStageFiles and ExtraWindowsStageFiles (#1843, @saschagrunert) [SIG Release]

  • Added release notes JSON as krel stage/release artifact (#1805, @saschagrunert) [SIG Release]

  • Added release notes index publishing API to release package.

  • Added the release-notes.json to krel release artifacts as well as an updated index file.
    The index file can be used to find referencing release notes. The location of the index file
    is https://storage.googleapis.com/kubernetes-release-gcb/release/release-notes-index.json
    for the mock bucket and https://storage.googleapis.com/kubernetes-release/release/release-notes-index.json
    for the production bucket. (#1814, @saschagrunert) [SIG Release]

  • Changed release notes fetching for official (non patch) releases to also assume a JSON version side by side to the markdown draft (#1815, @saschagrunert) [SIG Release]

  • Images: Add 1.20 variant for k8s-ci-builder (#1807, @xmudrii) [SIG Release]

  • Images: Build debian-base:buster-v1.3.0 (#1835, @wespanther) [SIG Release]

  • Images: Build debian-hyperkube-base:buster-v1.3.0

  • Images: Build debian-iptables:buster-v1.4.0

  • Krel release-notes now has 'do_not_publish' field in map to override release-note-none

    • fixes regression where k/sig-release local copy might be deleted when user does not want to create automated PR at the end of create-draft-pr workflow (#1846, @wilsonehusin) [SIG Release]
  • Krel: add option to post the testgridshot straight to github issue (#1810, @cpanato) [SIG Release]

  • New binary module for analysis of executables. Initial functionality includes parsing of ELF, Mach-O and PE (win) executables to determine platform, OS, and wordlength (64/32 bit) (#1856, @puerco) [SIG Release]

  • New tool publish-release to make available our release announcement tools to other projects. (#1705, @puerco) [SIG Release]

  • Pkg/cip: Add cli package

    The cli package holds configurable options and command function logic
    for the commands in the k8s-container-image-promoter repo.

    This will allow us to:

    • refactor/integrate the commands without updates to the cip repo
    • start pulling functionality into kpromo
    • further decrease reliance on bazel

    (Commands were copied in from https://github.com/kubernetes-sigs/k8s-container-image-promoter/tree/455e8e6a6d2888de200d1fdadf2ee0e3d5c7d1d3.) (#1804, @justaugustus) [SIG Release]

  • Retry up to 3 times if the release does not show up right away when updating the GitHub page. (#1852, @puerco) [SIG Release]

  • Switch to docker buildx for building debian-base, debian-iptables and debian-hyperkube-base container images (#1864, @saschagrunert) [SIG Release]

  • The Release Notes draft pull request now includes the JSON version of the release notes draft which (#1821, @puerco) [SIG Release]

  • The following images are now built with Go 1.15.7:

    • kube-cross:v1.15.7-1
    • go-runner:buster-v2.2.3
    • vulndash:v0.4.3-1
    • releng-ci:v0.1.3 (#1857, @ameukam) [SIG Release]
  • Vulndash: add filter to get vulnerabilities for a specific registry hostname (#1847, @cpanato) [SIG Release]

  • Vulndash: improve vulndash html page (#1854, @cpanato) [SIG Release]

  • krel release-notes will now generate the complete release notes in JSON when updating the website with the first minor (eg 1.20.0) (#1828, @puerco) [SIG Release]

Documentation

  • Update README.md
    • Add tool descriptions, statuses, audiences, and links to code
    • Regenerate ToC
    • Add badges for pkg.go.dev, goreportcard.com, and Slack
    • Drop unused links
    • Wrap at 80-char (#1803, @justaugustus) [SIG Release]

Bug or Regression

  • Ensure the Go version used to build the release is present in the announcement (#1816, @xmudrii) [SIG Release]

  • Fixed krel stage bug to not build the release if the build version is exactly a tag without a commit ID. (#1813, @saschagrunert) [SIG Release]

  • Images: fix Archs expansion in makefile (#1865, @cpanato) [SIG Release]

  • Mark debian images with their corresponding architectures (#1839, @sozercan) [SIG Release]

  • Pkg/cip: Use --no-dry-run instead of --dry-run

    Similar to our --nomock flags for other tools, we should use a
    --no-dry-run for cip, since the default nil value for booleans is
    false.

    Meaning: If --dry-run is not explicitly set to true, our tooling will
    initiate an image promotion. (#1806, @justaugustus) [SIG Release]

  • Print the krel announce send command after a successful release run (#1817, @xmudrii) [SIG Release]

  • The announce package now support reading the changelog from a file defined in changelogFile (#1811, @puerco) [SIG Release]

  • When staging releases, we now always checkout a branch and avoid going into detached HEAD (#1826, @puerco) [SIG Release]

Other (Cleanup or Flake)

  • Cip: calling some functions by passing the parameters by pointer (#1802, @cpanato) [SIG Release]
  • Cip: calling the function by passing the parameters by pointer (#1799, @cpanato) [SIG Release]
  • Krel/testgrid: add footer note about the generated comment (#1823, @cpanato) [SIG Release]
  • Promobot: replace klog to use logrus (#1800, @cpanato) [SIG Release]
  • Removed "Done" log message when copying local files. (#1809, @saschagrunert) [SIG Release]
  • Removing klog lib in favor of logrus (#1801, @cpanato) [SIG Release]
  • Update cloud.google.com/go dependency to v0.73.0
    • Update cloud.google.com/go/logging dependency to v1.1.2
    • Update github.com/GoogleCloudPlatform/testgrid dependency to v0.0.32
    • Update github.com/containers/image/v5 dependency to v5.9.0
    • Update github.com/google/go-containerregistry dependency to v0.2.1
    • Update github.com/mitchellh/mapstructure dependency to v1.4.0
    • Update github.com/sendgrid/sendgrid-go dependency to v3.7.2
    • Update github.com/shirou/gopsutil/v3 dependency to v3.20.11
    • Update google.golang.org/api dependency to v0.36.0
    • Update gopkg.in/yaml.v2 dependency to v2.4.0
    • Update golang.org/x/net dependency to v0.0.0-20201207224615-747e23833adb
    • Update golang.org/x/oauth2 dependency to v0.0.0-20201208152858-08078c50e5b5
    • Update google.golang.org/genproto dependency to v0.0.0-20201207150747-9ee31aac76e7 (#1822, @cpanato) [SIG Release]
  • Update cloud.google.com/go dependency to v0.75.0
    • Update github.com/GoogleCloudPlatform/testgrid dependency to v0.0.38
    • Update github.com/google/go-containerregistry dependency to v0.3.0
    • Update github.com/google/uuid dependency to v1.1.4
    • Update github.com/mitchellh/mapstructure dependency to v1.4.1
    • Update github.com/moby/term dependency to v0.0.0-20201216013528-df9cb8a40635
    • Update github.com/shirou/gopsutil/v3 dependency to v3.20.12
    • Update github.com/stretchr/testify dependency to v1.7.0
    • Update github.com/yuin/goldmark dependency to v1.3.1
    • Update golang.org/x/net dependency to v0.0.0-20201224014010-6772e930b67b
    • Update golang.org/x/oauth2 dependency to v0.0.0-20210112200429-01de73cf58bd
    • Update google.golang.org/genproto dependency to v0.0.0-20210111234610-22ae2b108f89
    • Update k8s.io/utils dependency to v0.0.0-20210111153108-fddb29f9d009 (#1844, @cpanato) [SIG Release]
  • Update shirou/gopsutil to use v3 (#1808, @cpanato) [SIG Release]

Uncategorized

Dependencies

Added

  • github.com/Azure/go-autorest: v14.2.0+incompatible
  • github.com/containerd/stargz-snapshotter/estargz: 2b97b58
  • github.com/form3tech-oss/jwt-go: v3.2.2+incompatible
  • github.com/google/go-github/v33: v33.0.0
  • github.com/juju/ansiterm: 720a095
  • github.com/lunixbochs/vtclean: 2d01aac
  • github.com/manifoldco/promptui: v0.8.0
  • github.com/shirou/gopsutil/v3: v3.20.12
  • golang.org/x/term: 7de9c90
  • sigs.k8s.io/apiserver-network-proxy/konnectivity-client: v0.0.7

Changed

Removed

Nothing has changed.