Skip to content

Releases: kubernetes/release

v0.1.5

02 Jun 04:17
v0.1.5
843311f
Compare
Choose a tag to compare

Changes by Kind

Deprecation

  • Bundle CNI plugins (v0.8.6) in kubelet deb/rpm packages (#1309, @justaugustus) [SIG Network and Release]

Bug or Regression

  • Systemd would now start the kubelet service after the network-online.target is reached. (#1250, @justaugustus) [SIG Node and Release]

Other (Cleanup or Flake)

  • Use k8s-artifacts-cri-tools GCS bucket as source for CRI tools (#1322, @justaugustus) [SIG Release]

v0.3.2

19 May 19:26
v0.3.2
f647485
Compare
Choose a tag to compare

Changes by Kind

API Change

  • Added kubepkg.Client struct type to allow better encapsulation (has to be created via kubepkg.New()) (#1282, @saschagrunert)
  • Added dedicated options package for configuring kubepkg (#1285, @saschagrunert)
  • Added new anago flag --type=[alpha|beta|rc|official] which deprecates the --official and --rc flags
  • Changed the krel gcbmgr --type flag to now accept alpha, beta, rc and official as well (#1286, @saschagrunert)
  • Switched to go-git/v5 dependency which makes manual import path adaption required (#1283, @saschagrunert)

Feature

  • Add DependencyChanges() function to the notes package to be able to collect Kubernetes dependency changes (#1253, @saschagrunert)
  • Add --dependencies option to krel release-notes (default: true) (#1298, @saschagrunert)
  • Add RepoIsForkOf() to check repository inheritance.
  • Add GetRepository() functions in all clients to get repository data from the GitHub API. (#1287, @puerco)
  • Added --dependencies flag to release-notes tool to add a dependency report (#1292, @saschagrunert)
  • Added git.IsDirty() method to verify the state of a local repository
  • krel gcbmgr now verifies that the local copy of k/release is neither dirty nor diverged with the latest remote commit (#1284, @saschagrunert)
  • Added dependency report to generated CHANGELOG.{md,html} when running krel changelog (#1291, @saschagrunert)
  • Added flag validation for anago --type, which must be either alpha, beta, rc or official. (#1289, @saschagrunert)
  • K8s-cloud-builder: Build cross1.14 variant on kube-cross:v1.14.3-1 (#1299, @justaugustus)
  • kube-cross: Build v1.14.3-1 image (#1294, @justaugustus)

Bug or Regression

  • Changed git.OpenRepo to now correctly choose the path when prefixed with ~/ (#1297, @saschagrunert)
  • lib/release: Fix version label logic for release cuts
  • Move branch creation to RC cuts
  • Enable beta cuts on master
  • Disallow alpha releases after a beta has been cut (#1288, @justaugustus)
  • [krel] gcbmgr: Add validation method for GcbmgrOptions (#1293, @justaugustus)

Dependencies

Added

  • github.com/saschagrunert/ccli: b68f755
  • github.com/saschagrunert/go-modiff: v1.2.0
  • github.com/urfave/cli/v2: v2.2.0

Changed

Removed

Nothing has changed.

v0.3.1

13 May 06:12
v0.3.1
c600d12
Compare
Choose a tag to compare

Changes by Kind

API Change

  • Added --format go-template:inline:<template-string> options to release-notes tool
  • Removed deprecated FormatSpecMarkdown from options package (#1271, @saschagrunert) [SIG Release]
  • Added document.GatherReleaseNotesDocument and notes.GatherReleaseNotes API
  • Changed document.CreateDocument to document.New which now needs a start and end tag for later rendering as well (#1272, @saschagrunert) [SIG Release]
  • Removed deprecated document.RenderMarkdown function (#1274, @saschagrunert) [SIG Release]

Feature

  • Add CreatePullRequest() to the github package (#1268, @puerco) [SIG Release]
  • Added MatchesExcludeFilter and MatchesIncludeFilter public functions to notes package (#1270, @saschagrunert) [SIG Release]
  • k8s-cloud-builder: Build images on kube-cross v1.14.2-4 and v1.13.9-5 (#1280, @justaugustus) [SIG Release]
  • [krel] anago: Initial commit (#1106, @justaugustus) [SIG Release]
  • images/k8s-cloud-builder: Support building against multiple kube-cross versions in parallel
  • kube-cross: Build v1.14.2-4 and v1.13.9-5 images (#1279, @justaugustus) [SIG Release]

Bug or Regression

  • Fixed krel changelog start revision retrieval issue (#1276) (#1277, @saschagrunert) [SIG Release]
  • pkg/gcp: Swap GCloudExecutable and TarExecutable const values
  • anago: Add '--branch' to krel gcbmgr command tip (#1275, @justaugustus) [SIG Release]

Dependencies

  • Dependencies/logrus: update logrus to v1.6.0 (#1236, @cpanato) [SIG Release]

v0.3.0

07 May 06:29
v0.3.0
abf58af
Compare
Choose a tag to compare

Changes by Kind

Deprecation

API Change

  • Removed git.DescribeTag and git.GetTag in favor of the new method git.Describe().
    This method takes the new type git.DescribeOptions to ensure enough flexibility for the future. (#1220, @saschagrunert) [SIG Release]
  • The functions GetRepoURL, GetKubernetesRepoURL, and GetDefaultKubernetesRepoURL
    of the git package are not able to error any more and return only the resulting string. (#1213, @saschagrunert) [SIG Release]

Feature

  • Add LsRemote() method to git package repository (#1252, @saschagrunert) [SIG Release]
  • Add file location to debug log output of kubepkg (#1262, @saschagrunert) [SIG Release]
  • Add release notes inline template support (via go-template:inline:<string>) to document.RenderMarkdownTemplate() (#1266, @saschagrunert) [SIG Release]
  • Added testgrid package to retrieve the blocking testgrid tests (#1226, @saschagrunert) [SIG Release]
  • Added support for kind/regression on release notes generation (#1232, @saschagrunert) [SIG Release]
  • Adds "patch-to-latest" discover mode. (#1245, @msau42) [SIG Release]
  • Kube-cross: Build v1.14.2-3 and v1.13.9-4 images
    • Dependency updates:
      • PROTOBUF_VERSION to 3.11.4
      • ETCD_VERSION to v3.4.7
      • SKOPEO_VERSION to v0.2.0 (#1264, @justaugustus)
  • Kube-cross: Support building against multiple Go versions in parallel (#1258, @justaugustus) [SIG Release]
  • Kube-cross: Update to go1.14.2 (#1246, @justaugustus)
  • Update k8s-cloud-builder to use kube-cross:v1.13.9-2 (#1209, @justaugustus) [SIG Release]
  • [VDF] anago: Publish container images on K8s Infra (k8s-staging-kubernetes) (#1199, @justaugustus) [SIG Release]
  • krel gcbmgr now validates that the latest remote commit of the release repository
    is available in the local repository checkout. To ensure that a new git API
    method Branch() has been added as well. (#1254, @saschagrunert) [SIG Release]
  • krel gcbmgr now validates the state of the currently checked out release repository (branch and remote) (#1221, @saschagrunert) [SIG Release]

Bug or Regression

  • Fixed missing release_version field in generated krel release-notes JSON output (#1217, @saschagrunert) [SIG Release]
  • Fixed very slow performance of repo.Add() method within the git package (#1215, @saschagrunert) [SIG Release]
  • Gcbmgr: default to 5 last jobs when a negative number is set (#1235, @cpanato) [SIG Release]
  • Images: add skopeo binary for the 1.15 releases (#1242, @cpanato) [SIG Release]
  • Systemd would now start the kubelet service after the network-online.target is reached. (#1249, @rosti) [SIG Node and Release]
  • Testgridshot: removed canned_acl option when uploading to K8s Infra (#1210, @cpanato) [SIG Release]

Other (Cleanup or Flake)

  • Dependencies/cobra: update cobra to v0.0.7 (#1237, @cpanato) [SIG Release]
  • Dependencies/google.golang.org/api: update google.golang.org/api to v0.21.0 (#1238, @cpanato) [SIG Release]
  • Dependencies/testgrid: update to use release v0.0.10 (#1240, @cpanato) [SIG Release]
  • Lib/release: Use regex to prevent ACL changes on K8s Infra GCS buckets (#1223, @justaugustus) [SIG Release]
  • Modify the krel release-notes subcommand to always create clean checkouts of k/sig-release and k-sigs/release-notes instead of re-using existing clones. Removed --kubernetes-sigs-fork-path and --sigrelease-fork-path flags. (#1126, @JamesLaverack) [SIG Release]
  • [VDF] Partial revert of k8s.gcr.io cutover (#1229, @justaugustus) [SIG Release]
  • krel gcbmgr does not require the yq dependency any more
  • Added gcp package which contains a PreCheck function to validate the system requirements (#1251, @saschagrunert) [SIG Release]

v0.2.7

24 Mar 14:11
v0.2.7
ec90dee
Compare
Choose a tag to compare

Changes by Kind

Deprecations

  • This change soft-deprecates the --format="markdown" option which is excepted but will be deprecated soon. The go-template:default option is now the default format. Since pr#1008 when this option is given, the internal default template is used anyway. Additionally Document.RenderMarkdown() is soft deprecated as it will be removed in #1019. Finally for API users Document.NotesByKind is deprecated. (#1148, @j0n3lson)

Feature

  • Added Addwriter(), AddErrorWriter() and AddOutputWriter() to command package which allows commands to specify additional writers, for example when having the need for logging to files. (#1198, @saschagrunert)

  • Changed krel gcbmgr to check for available packages (jq, git, bsdmainutils) and binaries (gsutil, gcloud) on the host system (#1171, @saschagrunert)

  • This change adds four new flags to the krel release-notes subcommand:

    • --create-website-pr - Flag to enable the release notes json generator
    • --website-org - GitHub Organization of the users fork of kubernetes/sig-release
    • --website-repo - Repository containing the fork of the user's repo
    • --kubernetes-sigs-fork-path - Filesystem path to the user's fork of k/sig-release

    After this change it is not longer possible to run --create-website-pr and --create-draft-pr during the same invocation.
    Implementation of --create-website-pr in the krel release-notes subcommand to generate the release notes in json format for relnotes.k8s.io (#1185, @puerco)

  • Gcbmgr: Add list build jobs (#1194, @cpanato)

  • Images/releng-ci-bazel: Add jq, bsdmainutils and google-cloud-sdk (#1170, @saschagrunert)

  • Images: Move kube-cross image building to k/release (#1140, @justaugustus)

  • Kube-cross: Update to go1.13.9 (#1200, @justaugustus)

  • Kube-cross: Update to go1.14.1 (#1208, @justaugustus)

Documentation

  • Added documentation to options.Options structure (#1183, @saschagrunert)
  • First batch of krel usage documents. Main README.md and a doc for each subcommand. (#1201, @puerco)

Failing Test

Other (Bug, Cleanup or Flake)

  • Change krel changelog to remove non release branch related CHANGELOG/CHANGELOG-*.md only on the first release candidate (for example v1.18.0-rc.1) (#1182, @saschagrunert)
  • Changed util.EnvDefault() to also return the default if the set value is empty (aka "") (#1197, @saschagrunert)
  • Changed kubepkg to take GITHUB_TOKEN into account for doing authenticated GitHub requests (#1177, @saschagrunert)
  • Fix building of deb packages in kubepkg (#1188, @saschagrunert)
  • Increased log verbosity of krel changelog (#1190, @saschagrunert)
  • krel gcbmgr now defaults to the master branch if no --branch is provided (#1205, @saschagrunert)
  • Configure releng GCB jobs to use new staging project and add VDF TODOs (#1172, @justaugustus)
  • Testgridshot: removed canned_acl option when uploading to K8s Infra (#1210, @cpanato)
  • Update GoogleCloudPlatform/testgrid to v0.0.7 (#1193, @cpanato)

v0.2.5

02 Mar 18:22
v0.2.5
15d26e2
Compare
Choose a tag to compare

Changes by Kind

Feature

  • Added git.HasRemote and git.Remotes API
    • Added pre-check in krel release-notes if the fork remote is already available (#1122, @saschagrunert)
  • The function git.Remotify does not remotify remotes which have been already remotified (#1118, @saschagrunert)
  • Add --create-draft-pr --draft-org and --draft-repo flags to automate the creation of the release notes draft
    Add --output-dir to output a copy of the release notes. (#1102, @puerco)
  • [krel] gcbmgr: Dynamically retrieve build version from CI markers (#1114, @justaugustus)

Documentation

Other (Bug, Cleanup or Flake)

  • Changed git.CloneOrOpenRepo() to not take a separate useSSH indicator any more (#1111, @saschagrunert)
  • Add dedicated github package (#1136, @saschagrunert)
  • Change git.Remotes to always return the remotes sorted alphabetically (#1130, @saschagrunert)
  • Changed krel ff to restore the currently checked out git branch (#1123, @saschagrunert)
  • Enhanced krel ff documentation and fixed --ref to be taken into consideration (#1117, @saschagrunert)
  • Fixed wrong CHANGELOG link not targeting to the release tag any more (#1137, @saschagrunert)
  • Remove owner from git.CloneOrOpenDefaultGitHubRepoSSH and use the default one (kubernetes) (#1116, @saschagrunert)
  • Removed branchff script in favor of krel ff (#1129, @saschagrunert)
  • Updated krel changelog to correctly choose the start tag for a release (#1135, @saschagrunert)
  • Images: Update k8s-cloud-builder to use the new kube-cross location (#1141, @justaugustus)
  • Removes federation release kind option from krel push (#1128, @hasheddan)
  • Update go dependencies
    • github.com/google/go-github/v29 (v29.0.2 --> v29.0.3)
    • github.com/pkg/errors (v0.8.1 --> v0.9.1)
    • github.com/spf13/cobra (v0.0.5 --> v0.0.6)
    • github.com/stretchr/testify (v1.4.0 --> v1.5.1)
    • k8s.io/utils (v0.0.0-20200117235808-5f6fbceb4c31 --> v0.0.0-20200229041039-0a110f9eb7ab)
    • sigs.k8s.io/yaml (v1.1.0 --> v1.2.0) (#1142, @justaugustus)
  • [krel] changelog: Include CHANGELOG/README.md in master commit logic (#1143, @justaugustus)

Other Changes

  • Changed krel ff to print a short git commit hash instead of the full one (#1124, @cpanato)
  • Util/common: new line when printing to stdout added (#1125, @cpanato)