Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We鈥檒l occasionally send you account related emails.

Already on GitHub? Sign in to your account

[go1.15] Update to go1.15 #93939

Merged
merged 3 commits into from Aug 12, 2020
Merged

[go1.15] Update to go1.15 #93939

merged 3 commits into from Aug 12, 2020

Conversation

justaugustus
Copy link
Member

What type of PR is this?

/kind cleanup
/area dependency release-eng
/sig release

What this PR does / why we need it:

IT'S HAPPENING 馃帀
Update to go1.15.0

Signed-off-by: Stephen Augustus saugustus@vmware.com

cc: @kubernetes/release-engineering @kubernetes/release-team-leads @kubernetes/sig-release-admins @kubernetes/sig-scalability @liggitt @dims
Tracking issue: kubernetes/release#1421

Special notes for your reviewer:

Does this PR introduce a user-facing change?:

- Kubernetes is now built with go1.15.0

@k8s-ci-robot k8s-ci-robot added release-note Denotes a PR that will be considered when it comes time to generate release notes. kind/cleanup Categorizes issue or PR as related to cleaning up code, process, or technical debt. size/M Denotes a PR that changes 30-99 lines, ignoring generated files. area/dependency Issues or PRs related to dependency changes area/release-eng Issues or PRs related to the Release Engineering subproject sig/release Categorizes an issue or PR as relevant to SIG Release. cncf-cla: yes Indicates the PR's author has signed the CNCF CLA. needs-priority Indicates a PR lacks a `priority/foo` label and requires one. area/test sig/testing Categorizes an issue or PR as relevant to SIG Testing. labels Aug 12, 2020
@k8s-ci-robot k8s-ci-robot requested review from BenTheElder, spiffxp and a team August 12, 2020 17:43
@@ -16,7 +16,7 @@ REGISTRY ?= gcr.io/kubernetes-e2e-test-images
GOARM ?= 7
DOCKER_CERT_BASE_PATH ?=
QEMUVERSION=v2.9.1
GOLANG_VERSION=1.15rc2
GOLANG_VERSION=1.15.0
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

is this just 1.15 or is it 1.15.0?

Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

the docker image includes the .0 馃槣

https://hub.docker.com/_/golang?tab=tags&page=1&name=1.15.0

#go_version = "1.15.0",
# TODO(go1.15): Comment out once we've published a repo-infra release that supports go1.15
override_go_version = "1.15.0-rc.2",
go_version = "1.15.0",
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

unknown Go version: 1.15.0

should this be "1.15"?

Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

this missing ".0" really bugs me

Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

yeah :|
it's 1.15

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

It really bugs me too.

Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

w00t! i caught something in my review.... now make me an approver :)

@BenTheElder
Copy link
Member

/retitle [go1.15] Update to go1.15

@k8s-ci-robot k8s-ci-robot changed the title [go1.15] Update to go1.15.0 [go1.15] Update to go1.15 Aug 12, 2020
@BenTheElder
Copy link
Member

don't forget to update the release notes too! go doesn't have .0 versions 馃檮

  • Kubernetes is now built with go1.15.0

@justaugustus
Copy link
Member Author

Yep, it's throwing errors because of the .0. I'm fixing up regexes locally :)

Signed-off-by: Stephen Augustus <saugustus@vmware.com>
Signed-off-by: Stephen Augustus <saugustus@vmware.com>
Signed-off-by: Stephen Augustus <saugustus@vmware.com>
@justaugustus
Copy link
Member Author

/milestone v1.19

@k8s-ci-robot k8s-ci-robot added this to the v1.19 milestone Aug 12, 2020
- name: "golang: upstream container image"
version: 1.15rc2
refPaths:
match: (override_)?go_version = "\d+.\d+(alpha|beta|rc)?\.?\d+"
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I think you want something like:

"\d+\.\d+(alpha\d*|beta\d*|rc\d*|\.\d+)?"
# one or more digits, followed by .
\d+\.
# one or more digits
\d+
# optionally followed by alpha/beta/rc of any number, or a specific patch release
(
  alpha\d*
  |
  beta\d*
  |
  rc\d*
  |
  \.\d+
)?

Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

follow up for this is fine, just noting that the only reason this currently passes 1.15 is:

"\d+.\d+(alpha|beta|rc)?\.?\d+"
"1  .1                     5"

and the . in the regex would match any character, not just a literal .

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Yep, will issue a follow up to clean up some of the regex in dependencies.yaml.
It's a bit Wild Wild West in there at this point.

@liggitt
Copy link
Member

liggitt commented Aug 12, 2020

/lgtm
/approve

followups:

  • switch CI jobs to 1.15.0
  • set minimum_go_version=go1.15.0 in golang.sh

@k8s-ci-robot k8s-ci-robot added the lgtm "Looks good to me", indicates that a PR is ready to be merged. label Aug 12, 2020
@k8s-ci-robot
Copy link
Contributor

[APPROVALNOTIFIER] This PR is APPROVED

This pull-request has been approved by: justaugustus, liggitt

The full list of commands accepted by this bot can be found here.

The pull request process is described here

Needs approval from an approver in each of these files:

Approvers can indicate their approval by writing /approve in a comment
Approvers can cancel approval by writing /approve cancel in a comment

@k8s-ci-robot k8s-ci-robot added the approved Indicates a PR has been approved by an approver from all required OWNERS files. label Aug 12, 2020
@liggitt
Copy link
Member

liggitt commented Aug 12, 2020

/priority critical-urgent

@k8s-ci-robot k8s-ci-robot added priority/critical-urgent Highest priority. Must be actively worked on as someone's top priority right now. and removed needs-priority Indicates a PR lacks a `priority/foo` label and requires one. labels Aug 12, 2020
@k8s-ci-robot k8s-ci-robot merged commit b1d89d6 into kubernetes:master Aug 12, 2020
@liggitt
Copy link
Member

liggitt commented Aug 13, 2020

  • set minimum_go_version=go1.15.0 in golang.sh

opened in #93969

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
approved Indicates a PR has been approved by an approver from all required OWNERS files. area/dependency Issues or PRs related to dependency changes area/release-eng Issues or PRs related to the Release Engineering subproject area/test cncf-cla: yes Indicates the PR's author has signed the CNCF CLA. kind/cleanup Categorizes issue or PR as related to cleaning up code, process, or technical debt. lgtm "Looks good to me", indicates that a PR is ready to be merged. priority/critical-urgent Highest priority. Must be actively worked on as someone's top priority right now. release-note Denotes a PR that will be considered when it comes time to generate release notes. sig/release Categorizes an issue or PR as relevant to SIG Release. sig/testing Categorizes an issue or PR as relevant to SIG Testing. size/M Denotes a PR that changes 30-99 lines, ignoring generated files.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

5 participants