v0.4.1
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 themanifest.json
file in an image
Addrelease.GetOCIManifest()
function which return the image manifest in an OCI Image manifest (#1486, @puerco) [SIG Release] -
Added
--fast
flag tokrel push
(#1575, @saschagrunert) [SIG Release] -
Added
NewImages().Publish()
API torelease
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 bykrel 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
- Update CNI plugins to v0.8.7 (#1515, @justaugustus) [SIG Release]
-
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)
- Changed
git.Master
global const togit.DefaultBranch
andgit.DefaultMasterRef
togit.DefaultRef
(#1525, @saschagrunert) [SIG Release] - Images/releng/ci: Use Golang as the base image for CI (#1552, @justaugustus) [SIG Release]
- Images: Build debian-base:buster-v1.1.4 (#1509, @justaugustus) [SIG Release]
- Images: Build debian-iptables:buster-v1.2.0 (#1510, @justaugustus) [SIG Release]
- Remove bazel from k/release (#1433, @justaugustus) [SIG Release]
- Removed
find_green_build
script and all of it's dependent logic (#1513, @saschagrunert) [SIG Release] - Removed scripts using bazel from ./hack directory (#1554, @saschagrunert) [SIG Release]
- Removed unused
--mailto
flag from anago (#1488, @saschagrunert) [SIG Release]
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
- cloud.google.com/go/datastore: v1.0.0 → v1.1.0
- cloud.google.com/go: v0.44.3 → v0.65.0
- github.com/GoogleCloudPlatform/testgrid: v0.0.10 → v0.0.22
- github.com/PuerkitoBio/purell: v1.0.0 → v1.1.1
- github.com/PuerkitoBio/urlesc: 5bd2802 → de5bf2a
- github.com/alecthomas/template: a0175ee → fb15b89
- github.com/alecthomas/units: 2efee85 → c3de453
- github.com/bazelbuild/rules_go: v0.23.3 → v0.22.1
- github.com/beorn7/perks: v1.0.0 → v1.0.1
- github.com/emicklei/go-restful: ff4f55a → v2.9.5+incompatible
- github.com/envoyproxy/go-control-plane: 5f8ba28 → v0.9.4
- github.com/evanphx/json-patch: v4.2.0+incompatible → v4.9.0+incompatible
- github.com/fsnotify/fsnotify: v1.4.7 → v1.4.9
- github.com/go-kit/kit: v0.8.0 → v0.9.0
- github.com/go-logr/logr: v0.1.0 → v0.2.0
- github.com/go-openapi/jsonpointer: 46af16f → v0.19.3
- github.com/go-openapi/jsonreference: 13c6e35 → v0.19.3
- github.com/go-openapi/spec: 6aced65 → v0.19.3
- github.com/go-openapi/swag: 1d0bd11 → v0.19.5
- github.com/golang/groupcache: 869f871 → 8c9f03a
- github.com/golang/mock: v1.3.1 → v1.4.4
- github.com/golang/protobuf: v1.3.2 → v1.4.2
- github.com/golangci/golangci-lint: v1.23.3 → v1.25.0
- github.com/google/go-cmp: v0.3.1 → v0.5.2
- github.com/google/pprof: 54271f7 → 1a94d86
- github.com/google/uuid: v1.1.1 → v1.1.2
- github.com/googleapis/gnostic: v0.1.0 → v0.4.1
- github.com/hashicorp/go-multierror: v1.0.0 → v1.1.0
- github.com/imdario/mergo: v0.3.9 → v0.3.11
- github.com/json-iterator/go: v1.1.8 → v1.1.10
- github.com/jstemmer/go-junit-report: af01ea7 → v0.9.1
- github.com/klauspost/compress: v1.4.1 → v1.11.0
- github.com/kr/pretty: v0.1.0 → v0.2.0
- github.com/mailru/easyjson: d5b7844 → v0.7.0
- github.com/matttproud/golang_protobuf_extensions: v1.0.1 → c182aff
- github.com/prometheus/client_golang: v0.9.3 → v1.7.1
- github.com/prometheus/client_model: 14fe0d1 → v0.2.0
- github.com/prometheus/common: v0.4.0 → v0.10.0
- github.com/prometheus/procfs: 5867b95 → v0.1.3
- github.com/sendgrid/rest: v2.6.0+incompatible → v2.6.1+incompatible
- github.com/sendgrid/sendgrid-go: v3.6.0+incompatible → v3.6.3+incompatible
- github.com/tommy-muehle/go-mnd: v1.1.1 → e6f9a99
- github.com/yuin/goldmark: v1.1.32 → v1.2.1
- go.etcd.io/bbolt: v1.3.2 → v1.3.5
- go.opencensus.io: v0.22.1 → v0.22.4
- golang.org/x/crypto: 78000ba → 75b2880
- golang.org/x/exp: efd6b22 → 6cc2880
- golang.org/x/image: 0694c2d → cff245a
- golang.org/x/lint: 959b441 → 738671d
- golang.org/x/mobile: d3739f8 → d2bd2a2
- golang.org/x/mod: c90efee → v0.3.0
- golang.org/x/net: 627f964 → 62affa3
- golang.org/x/oauth2: bf48bf1 → 5d25da1
- golang.org/x/sync: 1122301 → 6e8e738
- golang.org/x/sys: 85ca7c5 → be1d343
- golang.org/x/text: v0.3.2 → v0.3.3
- golang.org/x/time: 9d24e82 → 555d28b
- golang.org/x/tools: 066e0c0 → 39188db
- golang.org/x/xerrors: 1b5146a → 5ec99f8
- google.golang.org/api: v0.21.0 → v0.32.0
- google.golang.org/appengine: v1.6.2 → v1.6.6
- google.golang.org/genproto: 24fa4b2 → 0bd0a95
- google.golang.org/grpc: v1.27.0 → v1.31.1
- gopkg.in/yaml.v2: v2.2.8 → v2.3.0
- honnef.co/go/tools: v0.0.1-2019.2.3 → v0.0.1-2020.1.4
- k8s.io/apimachinery: v0.18.3 → v0.19.2
- k8s.io/gengo: 0689ccc → 8167cfd
- k8s.io/klog: v1.0.0 → v0.3.0
- k8s.io/kube-openapi: 61e04a5 → 6aeccd4
- k8s.io/utils: 0a110f9 → 4140de9
Removed
- sigs.k8s.io/structured-merge-diff/v3: v3.0.0