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’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Use go 1.17 to build release assets #3007

Merged

Conversation

antoninbas
Copy link
Contributor

For some reason, I forgot to use the setup-go action for that workflow
when I added it, which means that we have been using the default Go
version provided by the Github runners since the beginning. The default
Go version is currently 1.15, which is not maintained.

We now use the setup-go action to use the same Go version as all other
workflows (1.17).

Signed-off-by: Antonin Bas abas@vmware.com

For some reason, I forgot to use the setup-go action for that workflow
when I added it, which means that we have been using the default Go
version provided by the Github runners since the beginning. The default
Go version is currently 1.15
(https://github.com/actions/virtual-environments/blob/8fd74ebe0f0706cb6aa2cc01f5863961d01173e9/images/linux/toolsets/toolset-2004.json#L52),
which is not maintained.

We now use the setup-go action to use the same Go version as all other
workflows (1.17).

Signed-off-by: Antonin Bas <abas@vmware.com>
@antoninbas antoninbas added the area/build-release Issues or PRs related to building and releasing label Nov 9, 2021
@antoninbas
Copy link
Contributor Author

Thanks @liu4480 for reporting this issue

@antoninbas
Copy link
Contributor Author

/skip-all

@codecov-commenter
Copy link

codecov-commenter commented Nov 9, 2021

Codecov Report

Merging #3007 (7e7a10f) into main (ca264d3) will decrease coverage by 1.35%.
The diff coverage is n/a.

Impacted file tree graph

@@            Coverage Diff             @@
##             main    #3007      +/-   ##
==========================================
- Coverage   61.06%   59.71%   -1.36%     
==========================================
  Files         289      289              
  Lines       24548    24548              
==========================================
- Hits        14991    14658     -333     
- Misses       7938     8289     +351     
+ Partials     1619     1601      -18     
Flag Coverage Δ
kind-e2e-tests 46.59% <ø> (-1.60%) ⬇️
unit-tests 40.19% <ø> (-0.01%) ⬇️

Flags with carried forward coverage won't be shown. Click here to find out more.

Impacted Files Coverage Δ
...ver/registry/controlplane/nodestatssummary/rest.go 50.00% <0.00%> (-50.00%) ⬇️
pkg/agent/util/net.go 16.32% <0.00%> (-22.45%) ⬇️
pkg/agent/route/route_linux.go 26.99% <0.00%> (-19.77%) ⬇️
pkg/agent/openflow/pipeline.go 67.02% <0.00%> (-8.54%) ⬇️
pkg/agent/util/ipset/ipset.go 61.53% <0.00%> (-7.70%) ⬇️
pkg/apiserver/certificate/certificate.go 69.86% <0.00%> (-6.85%) ⬇️
...kg/agent/flowexporter/connections/conntrack_ovs.go 76.36% <0.00%> (-5.46%) ⬇️
pkg/util/k8s/client.go 46.34% <0.00%> (-4.88%) ⬇️
pkg/agent/proxy/types/groupcounter.go 90.56% <0.00%> (-3.78%) ⬇️
...g/controller/networkpolicy/store/appliedtogroup.go 86.36% <0.00%> (-3.04%) ⬇️
... and 13 more

Copy link
Member

@tnqn tnqn left a comment

Choose a reason for hiding this comment

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

LGTM

@antoninbas antoninbas merged commit ecef57f into antrea-io:main Nov 9, 2021
@antoninbas antoninbas deleted the use-go-1.17-to-build-release-assets branch November 9, 2021 20:38
@antoninbas
Copy link
Contributor Author

Cherry-picking this to 1.4 and 1.3 (1.3 is when we switched from Go 1.15 to 1.17)

wenyingd pushed a commit to wenyingd/antrea that referenced this pull request Nov 15, 2021
For some reason, I forgot to use the setup-go action for that workflow
when I added it, which means that we have been using the default Go
version provided by the Github runners since the beginning. The default
Go version is currently 1.15
(https://github.com/actions/virtual-environments/blob/8fd74ebe0f0706cb6aa2cc01f5863961d01173e9/images/linux/toolsets/toolset-2004.json#L52),
which is not maintained.

We now use the setup-go action to use the same Go version as all other
workflows (1.17).

Signed-off-by: Antonin Bas <abas@vmware.com>
@tnqn tnqn added the action/backport Indicates a PR that requires backports. label Jan 25, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
action/backport Indicates a PR that requires backports. area/build-release Issues or PRs related to building and releasing
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants