Skip to content

v0.4.1

Compare
Choose a tag to compare
@justaugustus justaugustus released this 24 Sep 06:39
· 4162 commits to master since this release
v0.4.1
ebd41a9

Changes by Kind

API Change

  • Add new function git.ParseRepoSlug()
  • Fix a bug where the draft pull request was not created when the release-notes subdirs did not exist
  • New krel release-notes flag --fork that replaces --org, --draft-repo and --website-repo. (#1543, @puerco) [SIG Release]
  • Changed anago's --buildversion flag to be required (#1489, @saschagrunert) [SIG Release]
  • Changed release-notes --github-[org,repo] flags to be just --org and --repo (#1495, @saschagrunert) [SIG Release]
  • Removed release-notes --release-version option since it has only being used for the JSON blob in the website (#1520, @saschagrunert) [SIG Release]

Feature

  • Add configurable timeout to test-go.sh with a new -t|--timeout flag (#1558, @puerco) [SIG Release]

  • Add release.ReadReleaseImageTags() function to read image tags from generated tar files
    Add release.GetTarManifest() function to read the manifest.json file in an image
    Add release.GetOCIManifest() function which return the image manifest in an OCI Image manifest (#1486, @puerco) [SIG Release]

  • Added --fast flag to krel push (#1575, @saschagrunert) [SIG Release]

  • Added NewImages().Publish() API to release package. (#1568, @saschagrunert) [SIG Release]

  • Added krel set-release-version command to be used from anago (#1522, @saschagrunert) [SIG Release]

  • Added release.CopyBinaries to copy built Kubernetes binaries into the pre-defined target directories (#1538, @saschagrunert) [SIG Release]

  • Added release.WriteChecksums() API for writing release checksums (mainly used by krel push) (#1562, @saschagrunert) [SIG Release]

  • Added util.WrapText() which allows to word wrap text to a specified line size

  • Improvements to util.Ask() to recognize more choices, invalid expected answers and a default value. (#1454, @puerco) [SIG Release]

  • Added automatic skip for dependency report if release-notes start and end SHA are the same. (#1507, @saschagrunert) [SIG Release]

  • Bootstrap docker buildx usage for multiarch containers (#1511, @justaugustus) [SIG Release]

  • Deps: Update repo-infra to v0.1.1

  • deps: Add dependency versions check via zeitgeist (#1561, @justaugustus) [SIG Release]

  • Go.mod: Update to go1.15 directives

  • deps: Move tools to its own module

  • deps: Update all dependencies (#1553, @justaugustus) [SIG Release]

  • Images: Build debian-base:v1.2.0

    New Debian images are available upstream, so this is just a periodic
    image update. (#1537, @justaugustus) [SIG Release]

  • Images: Build debian-hyperbase-base:buster-v1.2.0

  • Uses debian-iptables:buster-v1.3.0 (#1542, @justaugustus) [SIG Release]

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

  • Uses debian-base:buster-v1.2.0

  • Updates iptables to 1.8.5 (#1540, @justaugustus) [SIG Release]

  • Images: Build go-runner:buster-v2.0.0 using go1.15

  • images/go-runner: Allow PLATFORMS to be configurable

  • images/go-runner: Echo platform value before starting build

  • images/go-runner: Use multiarch/qemu-user-static

  • images/go-runner: Allow fallback to 'direct' for GOPROXY (#1499, @justaugustus) [SIG Release]

  • Images: Build go1.15.1 images (kube-cross, go-runner)

  • kube-cross:v1.15.1-1

    • etcd updated to v3.4.13
  • go-runner:buster-v2.0.1

  • kube-cross: Remove variant building for go1.13 (which is out of support)

  • kube-cross: Remove variant building for go1.14 (which is unused in k/k) (#1514, @justaugustus) [SIG Release]

  • Images: Build k8s-cloud-builder:v1.15.1-1

  • Update to go1.15.1

  • Update skopeo to v1.1.1 (#1516, @justaugustus) [SIG Release]

  • Images: Build k8s-cloud-builder:v1.15.2-1

  • Uses kube-cross:v1.15.2-1 (#1550, @justaugustus) [SIG Release]

  • Images: Build kube-cross v1.15.2-1 and v1.15.2-canary-1

  • images: Build go-runner:buster-v2.0.2 (using go1.15.2) (#1533, @justaugustus) [SIG Release]

  • Images: Migrate go-runner image building to k/release

  • images/go-runner: Enable variant building

  • images/go-runner: Add 'buster' variant

  • images/go-runner: Allow configurable go versions and use go1.13.15

  • images/go-runner: Fixup go module and build files (#1498, @justaugustus) [SIG Release]

  • Images: Update env to k8s-testimages/gcb-docker-gcloud:v20200824-5d057db

  • kube-cross: Enable building via docker buildx

    Use go-runner Makefile pattern for multi-arch

  • images: Use shell for loops to "simplify" platform building/pushing

  • images: Standardize Makefiles for build images

    Here we create a few "common" Makefiles for image building:

    • images/Makefile.common-image

    • images/build/Makefile.build-image

      Makefile.common-image takes the targets from the go-runner Makefile and
      makes them reusable for both go-runner and kube-cross.

      Makefile.build-image is intended to contain information specific to
      images that will be built in the k8s-staging-build-image GCP project.
      Right now, it only contains the target Google Container Registry.

      images/build/{go-runner,kube-cross}/Makefile now only contains variables
      specific to the image and includes the aforementioned "common" Makefiles
      via the 'include' directive.

      (This is borrowed from how k-sigs/kind handles their image building.)

  • go-runner: Drop extraneous pre-build step in Dockerfile

    This seems like it might be causing build failures on s390x.

  • images: Fix image manifests annotating 'os/arch' instead of 'arch'

    Use make functions for string substitution instead of sed.
    Frankly, the sed was hard for me for comprehend.

    For amending manifests to the final manifest list, we were previously
    pushing images with the full platform name:

    e.g., "linux/amd64" (OS/architecture) instead of "amd64" (just arch)

    This commit properly strips the OS during manifest list creation.

    (The same issue was fixed for image tags in a previous commit.) (#1418, @justaugustus) [SIG Release]

  • Images: Use OS codenames to construct clearer versions for Debian images (#1496, @justaugustus) [SIG Release]

  • K8s-cloud-builder: Build on kube-cross:v1.15.0-1 (#1490, @justaugustus) [SIG Release]

  • Krel/announcement: Add krel command to build the Kubernetes announcement file (#1502, @cpanato) [SIG Release]

  • Kube-cross: Build v1.15.0-1 image (#1487, @justaugustus) [SIG Release]

  • New krel promote-images subcommand to create the image promotion pull requests

  • API to read and write image lists in an image promoter thin-manifest (#1544, @puerco) [SIG Release]

  • Packages: Update to CNI plugins v0.8.7

  • images: Build debian-hyperkube-base:buster-v1.1.4

  • Release Notes Editing Flow. Adds the --fix flag to the krel release-notes subcommand to enable the team to edit the release notes during the release cycle. It also adds logic to handle editing sessions and pushing the modified Draft back to k/sig-release (#1467, @puerco) [SIG Release]

Documentation

  • Update repository documentation to not mention bazel any more (#1564, @saschagrunert) [SIG Release]

Bug or Regression

  • Debian-iptables: Install ebtables from buster-backports

    Resolves the build failure in which we've requested an impossible package
    dependency resolution:

    The following packages have unmet dependencies:
    netbase : Breaks: ebtables (< 2.0.11-2) but 2.0.10.4+snapshot20181205-3
    is to be installed
    E: Error, pkgProblemResolver::Resolve generated breaks, this may be
    caused by held packages.

    ebtables:
    Installed: (none)
    Candidate: 2.0.10.4+snapshot20181205-3
    Version table:
    2.0.11-4~bpo10+1 100
    100 http://deb.debian.org/debian buster-backports/main amd64
    Packages
    2.0.10.4+snapshot20181205-3 500
    500 http://deb.debian.org/debian buster/main amd64 Packages

  • images: Add image name tags to image-building GCB configs

    Now that we're producing images on a regular basis, this will be helpful
    to surface details about which GCB jobs are related to which images.

    Signed-off-by: Stephen Augustus [email protected] (#1541, @justaugustus) [SIG Release]

  • Fixed golang dependency generation for new minor releases. (#1505, @saschagrunert) [SIG Release]

  • Fixed notes exclude regular expression which caused to skip release-notes too early. (#1508, @saschagrunert) [SIG Release]

  • Schedule-builder: fix bug when path release is next and are in the previous patch list (#1519, @cpanato) [SIG Release]

Other (Cleanup or Flake)

Dependencies

Added

  • cloud.google.com/go/bigquery: v1.8.0
  • cloud.google.com/go/pubsub: v1.3.1
  • cloud.google.com/go/storage: v1.11.0
  • dmitri.shuralyov.com/gpu/mtl: 666a987
  • github.com/14rcole/gopopulate: b175b21
  • github.com/Azure/go-ansiterm: d6e3b33
  • github.com/Azure/go-autorest/autorest/adal: v0.8.2
  • github.com/Azure/go-autorest/autorest/date: v0.2.0
  • github.com/Azure/go-autorest/autorest/mocks: v0.3.0
  • github.com/Azure/go-autorest/autorest: v0.9.6
  • github.com/Azure/go-autorest/logger: v0.1.0
  • github.com/Azure/go-autorest/tracing: v0.5.0
  • github.com/MakeNowJust/heredoc: bb23615
  • github.com/Microsoft/go-winio: fc70bd9
  • github.com/Microsoft/hcsshim: v0.8.9
  • github.com/VividCortex/ewma: v1.1.1
  • github.com/acarl005/stripansi: 5a71ef0
  • github.com/bombsimon/wsl/v3: v3.0.0
  • github.com/cespare/xxhash/v2: v2.1.1
  • github.com/chai2010/gettext-go: c6fed77
  • github.com/checkpoint-restore/go-criu/v4: v4.0.2
  • github.com/chzyer/logex: v1.1.10
  • github.com/chzyer/readline: 2972be2
  • github.com/chzyer/test: a1ea475
  • github.com/cilium/ebpf: a9f01ed
  • github.com/cncf/udpa/go: 269d4d4
  • github.com/containerd/cgroups: bf292b2
  • github.com/containerd/console: v1.0.0
  • github.com/containerd/containerd: v1.3.2
  • github.com/containerd/continuity: aaeac12
  • github.com/containerd/fifo: a9fb20d
  • github.com/containerd/go-runc: 5a6d9f3
  • github.com/containerd/ttrpc: 0e0f228
  • github.com/containerd/typeurl: a93fcdb
  • github.com/containers/image/v5: v5.6.0
  • github.com/containers/libtrust: 14b9617
  • github.com/containers/ocicrypt: v1.0.3
  • github.com/containers/storage: v1.23.5
  • github.com/coreos/go-systemd/v22: v22.0.0
  • github.com/cyphar/filepath-securejoin: v0.2.2
  • github.com/daviddengcn/go-colortext: 511bcaf
  • github.com/docker/distribution: v2.7.1+incompatible
  • github.com/docker/docker-credential-helpers: v0.6.3
  • github.com/docker/docker: a9416c6
  • github.com/docker/go-connections: v0.4.0
  • github.com/docker/go-metrics: v0.0.1
  • github.com/docker/go-units: v0.4.0
  • github.com/docker/libtrust: aabc10e
  • github.com/docopt/docopt-go: ee0de3b
  • github.com/exponent-io/jsonpath: d6023ce
  • github.com/fatih/camelcase: v1.0.0
  • github.com/fvbommel/sortorder: v1.0.1
  • github.com/go-gl/glfw/v3.3/glfw: 6f7a984
  • github.com/go-gl/glfw: e6da0ac
  • github.com/go-xmlfmt/xmlfmt: d5b6f63
  • github.com/godbus/dbus/v5: v5.0.3
  • github.com/godbus/dbus: ade71ed
  • github.com/golangplus/bytes: 45c989f
  • github.com/golangplus/fmt: 2a5d6d7
  • github.com/golangplus/testing: af21d9c
  • github.com/google/martian/v3: v3.0.0
  • github.com/gorilla/mux: v1.7.4
  • github.com/gregjones/httpcache: 9cad4c3
  • github.com/ianlancetaylor/demangle: 5e5cf60
  • github.com/klauspost/pgzip: v1.2.5
  • github.com/liggitt/tabwriter: 89fcab3
  • github.com/lithammer/dedent: v1.1.0
  • github.com/maratori/testpackage: v1.0.1
  • github.com/mattn/go-shellwords: v1.0.10
  • github.com/mistifyio/go-zfs: v2.1.1+incompatible
  • github.com/mitchellh/go-wordwrap: v1.0.0
  • github.com/moby/sys/mountinfo: v0.1.3
  • github.com/moby/term: 672ec06
  • github.com/morikuni/aec: v1.0.0
  • github.com/mrunalp/fileutils: 7d4729f
  • github.com/mtrmac/gpgme: v0.1.2
  • github.com/nakabonne/nestif: v0.3.0
  • github.com/opencontainers/go-digest: v1.0.0
  • github.com/opencontainers/image-spec: 775207b
  • github.com/opencontainers/runc: v1.0.0-rc91
  • github.com/opencontainers/runtime-spec: 237cc4f
  • github.com/opencontainers/selinux: v1.6.0
  • github.com/ostreedev/ostree-go: 759a8c1
  • github.com/peterbourgon/diskv: v2.0.1+incompatible
  • github.com/phayes/checkstyle: bfd46e6
  • github.com/pquerna/ffjson: dac163c
  • github.com/ryancurrah/gomodguard: v1.0.2
  • github.com/seccomp/libseccomp-golang: v0.9.1
  • github.com/syndtr/gocapability: d983527
  • github.com/tchap/go-patricia: v2.3.0+incompatible
  • github.com/tetafro/godot: v0.2.5
  • github.com/ulikunitz/xz: v0.5.8
  • github.com/urfave/cli: v1.22.1
  • github.com/vbatts/tar-split: v0.11.1
  • github.com/vbauerster/mpb/v5: v5.3.0
  • github.com/vishvananda/netlink: v1.1.0
  • github.com/vishvananda/netns: 0a2b9b5
  • github.com/willf/bitset: d5bec33
  • github.com/xeipuuv/gojsonpointer: df4f5c8
  • github.com/xeipuuv/gojsonreference: bd5ef7b
  • github.com/xeipuuv/gojsonschema: v1.2.0
  • go.mozilla.org/pkcs7: 432b235
  • google.golang.org/protobuf: v1.25.0
  • gopkg.in/square/go-jose.v2: v2.3.1
  • gotest.tools/v3: v3.0.2
  • gotest.tools: v2.2.0+incompatible
  • k8s.io/api: v0.19.2
  • k8s.io/cli-runtime: v0.19.2
  • k8s.io/client-go: v0.19.2
  • k8s.io/code-generator: v0.19.2
  • k8s.io/component-base: v0.19.2
  • k8s.io/klog/v2: v2.2.0
  • k8s.io/kubectl: v0.19.2
  • k8s.io/metrics: v0.19.2
  • rsc.io/quote/v3: v3.1.0
  • rsc.io/sampler: v1.3.0
  • sigs.k8s.io/kustomize: v2.0.3+incompatible
  • sigs.k8s.io/structured-merge-diff/v4: v4.0.1

Changed

Removed

  • sigs.k8s.io/structured-merge-diff/v3: v3.0.0