Skip to content

Releases: kubernetes/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)