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

Upgrade go to v1.23 #1664

Merged
merged 4 commits into from
Nov 19, 2024

Conversation

Ex4amp1e
Copy link
Contributor

Description

Upgrade go version

Proof of concept of working CI: Ex4amp1e#2 (using updated workflows)

Issue link

networkservicemesh/deployments-k8s#12294

How Has This Been Tested?

  • Added unit testing to cover
  • Tested manually
  • Tested by integration testing
  • Have not tested

Types of changes

  • Bug fix
  • New functionality
  • Documentation
  • Refactoring
  • CI

Signed-off-by: Vladislav Byrgazov <[email protected]>
@denis-tingaikin
Copy link
Member

@Ex4amp1e Could we also use changes from #1548?

Signed-off-by: Vladislav Byrgazov <[email protected]>
- G301 # Fixable
- G302 # Fixable
- G306 # Fixable
- G204
Copy link
Member

Choose a reason for hiding this comment

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

Why are we excluding G204

Copy link
Contributor Author

Choose a reason for hiding this comment

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

G204 was included in exclude-rules list before, but on the current linter version we are getting too many new gosec errors, so decided to put them into one place- general config, not individually

Copy link
Member

Choose a reason for hiding this comment

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

OK, add a todo and refer to the issue where we plan to fix these issues.

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Done

.golangci.yml Outdated
- interfacer
text: "`rawSrv` can be `github.com/networkservicemesh/sdk/pkg/networkservice/common/monitor.EventConsumer`"
- revive
# TODO - remove deprecated opentelemetry functions
Copy link
Member

Choose a reason for hiding this comment

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

Please add a ticket to refer here. Thanks.

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Done

Signed-off-by: Vladislav Byrgazov <[email protected]>
@Ex4amp1e Ex4amp1e changed the title Upgrade go to v1.23.1 Upgrade go to v1.23 Nov 18, 2024
Copy link
Member

@denis-tingaikin denis-tingaikin left a comment

Choose a reason for hiding this comment

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

Looks acceptable.

@NikitaSkrynnik Could you also have a look?

@denis-tingaikin denis-tingaikin merged commit cb2dbb0 into networkservicemesh:main Nov 19, 2024
15 checks passed
nsmbot pushed a commit to networkservicemesh/cmd-csi-driver that referenced this pull request Nov 19, 2024
…k@main

PR link: networkservicemesh/sdk#1664

Commit: cb2dbb0
Author: Vladislav Byrgazov
Date: 2024-11-19 15:12:50 +0500
Message:
  - Upgrade go to v1.23 (#1664)
* Upgrade go to v1.23

Signed-off-by: Vladislav Byrgazov <[email protected]>

* Update linter config

Signed-off-by: Vladislav Byrgazov <[email protected]>

* Add todo to fix linters

Signed-off-by: Vladislav Byrgazov <[email protected]>

* Skip TestNSMGRHealEndpoint_DatapathHealthy_CtrlPlaneBroken test

Signed-off-by: Vladislav Byrgazov <[email protected]>

---------

Signed-off-by: Vladislav Byrgazov <[email protected]>
Signed-off-by: NSMBot <[email protected]>
nsmbot pushed a commit to networkservicemesh/cmd-map-ip-k8s that referenced this pull request Nov 19, 2024
…k@main

PR link: networkservicemesh/sdk#1664

Commit: cb2dbb0
Author: Vladislav Byrgazov
Date: 2024-11-19 15:12:50 +0500
Message:
  - Upgrade go to v1.23 (#1664)
* Upgrade go to v1.23

Signed-off-by: Vladislav Byrgazov <[email protected]>

* Update linter config

Signed-off-by: Vladislav Byrgazov <[email protected]>

* Add todo to fix linters

Signed-off-by: Vladislav Byrgazov <[email protected]>

* Skip TestNSMGRHealEndpoint_DatapathHealthy_CtrlPlaneBroken test

Signed-off-by: Vladislav Byrgazov <[email protected]>

---------

Signed-off-by: Vladislav Byrgazov <[email protected]>
Signed-off-by: NSMBot <[email protected]>
nsmbot pushed a commit to networkservicemesh/cmd-cluster-info-k8s that referenced this pull request Nov 19, 2024
…k@main

PR link: networkservicemesh/sdk#1664

Commit: cb2dbb0
Author: Vladislav Byrgazov
Date: 2024-11-19 15:12:50 +0500
Message:
  - Upgrade go to v1.23 (#1664)
* Upgrade go to v1.23

Signed-off-by: Vladislav Byrgazov <[email protected]>

* Update linter config

Signed-off-by: Vladislav Byrgazov <[email protected]>

* Add todo to fix linters

Signed-off-by: Vladislav Byrgazov <[email protected]>

* Skip TestNSMGRHealEndpoint_DatapathHealthy_CtrlPlaneBroken test

Signed-off-by: Vladislav Byrgazov <[email protected]>

---------

Signed-off-by: Vladislav Byrgazov <[email protected]>
Signed-off-by: NSMBot <[email protected]>
nsmbot pushed a commit to networkservicemesh/cmd-nsmgr that referenced this pull request Nov 19, 2024
…k@main

PR link: networkservicemesh/sdk#1664

Commit: cb2dbb0
Author: Vladislav Byrgazov
Date: 2024-11-19 15:12:50 +0500
Message:
  - Upgrade go to v1.23 (#1664)
* Upgrade go to v1.23

Signed-off-by: Vladislav Byrgazov <[email protected]>

* Update linter config

Signed-off-by: Vladislav Byrgazov <[email protected]>

* Add todo to fix linters

Signed-off-by: Vladislav Byrgazov <[email protected]>

* Skip TestNSMGRHealEndpoint_DatapathHealthy_CtrlPlaneBroken test

Signed-off-by: Vladislav Byrgazov <[email protected]>

---------

Signed-off-by: Vladislav Byrgazov <[email protected]>
Signed-off-by: NSMBot <[email protected]>
nsmbot pushed a commit to networkservicemesh/cmd-dashboard-backend that referenced this pull request Nov 19, 2024
…k@main

PR link: networkservicemesh/sdk#1664

Commit: cb2dbb0
Author: Vladislav Byrgazov
Date: 2024-11-19 15:12:50 +0500
Message:
  - Upgrade go to v1.23 (#1664)
* Upgrade go to v1.23

Signed-off-by: Vladislav Byrgazov <[email protected]>

* Update linter config

Signed-off-by: Vladislav Byrgazov <[email protected]>

* Add todo to fix linters

Signed-off-by: Vladislav Byrgazov <[email protected]>

* Skip TestNSMGRHealEndpoint_DatapathHealthy_CtrlPlaneBroken test

Signed-off-by: Vladislav Byrgazov <[email protected]>

---------

Signed-off-by: Vladislav Byrgazov <[email protected]>
Signed-off-by: NSMBot <[email protected]>
nsmbot pushed a commit to networkservicemesh/cmd-registry-proxy-dns that referenced this pull request Nov 19, 2024
…k@main

PR link: networkservicemesh/sdk#1664

Commit: cb2dbb0
Author: Vladislav Byrgazov
Date: 2024-11-19 15:12:50 +0500
Message:
  - Upgrade go to v1.23 (#1664)
* Upgrade go to v1.23

Signed-off-by: Vladislav Byrgazov <[email protected]>

* Update linter config

Signed-off-by: Vladislav Byrgazov <[email protected]>

* Add todo to fix linters

Signed-off-by: Vladislav Byrgazov <[email protected]>

* Skip TestNSMGRHealEndpoint_DatapathHealthy_CtrlPlaneBroken test

Signed-off-by: Vladislav Byrgazov <[email protected]>

---------

Signed-off-by: Vladislav Byrgazov <[email protected]>
Signed-off-by: NSMBot <[email protected]>
nsmbot pushed a commit to networkservicemesh/sdk-kernel that referenced this pull request Nov 19, 2024
…k@main

PR link: networkservicemesh/sdk#1664

Commit: cb2dbb0
Author: Vladislav Byrgazov
Date: 2024-11-19 15:12:50 +0500
Message:
  - Upgrade go to v1.23 (#1664)
* Upgrade go to v1.23

Signed-off-by: Vladislav Byrgazov <[email protected]>

* Update linter config

Signed-off-by: Vladislav Byrgazov <[email protected]>

* Add todo to fix linters

Signed-off-by: Vladislav Byrgazov <[email protected]>

* Skip TestNSMGRHealEndpoint_DatapathHealthy_CtrlPlaneBroken test

Signed-off-by: Vladislav Byrgazov <[email protected]>

---------

Signed-off-by: Vladislav Byrgazov <[email protected]>
Signed-off-by: NSMBot <[email protected]>
nsmbot pushed a commit to networkservicemesh/sdk-k8s that referenced this pull request Nov 19, 2024
…k@main

PR link: networkservicemesh/sdk#1664

Commit: cb2dbb0
Author: Vladislav Byrgazov
Date: 2024-11-19 15:12:50 +0500
Message:
  - Upgrade go to v1.23 (#1664)
* Upgrade go to v1.23

Signed-off-by: Vladislav Byrgazov <[email protected]>

* Update linter config

Signed-off-by: Vladislav Byrgazov <[email protected]>

* Add todo to fix linters

Signed-off-by: Vladislav Byrgazov <[email protected]>

* Skip TestNSMGRHealEndpoint_DatapathHealthy_CtrlPlaneBroken test

Signed-off-by: Vladislav Byrgazov <[email protected]>

---------

Signed-off-by: Vladislav Byrgazov <[email protected]>
Signed-off-by: NSMBot <[email protected]>
nsmbot pushed a commit to networkservicemesh/cmd-nsmgr-proxy that referenced this pull request Nov 19, 2024
…k@main

PR link: networkservicemesh/sdk#1664

Commit: cb2dbb0
Author: Vladislav Byrgazov
Date: 2024-11-19 15:12:50 +0500
Message:
  - Upgrade go to v1.23 (#1664)
* Upgrade go to v1.23

Signed-off-by: Vladislav Byrgazov <[email protected]>

* Update linter config

Signed-off-by: Vladislav Byrgazov <[email protected]>

* Add todo to fix linters

Signed-off-by: Vladislav Byrgazov <[email protected]>

* Skip TestNSMGRHealEndpoint_DatapathHealthy_CtrlPlaneBroken test

Signed-off-by: Vladislav Byrgazov <[email protected]>

---------

Signed-off-by: Vladislav Byrgazov <[email protected]>
Signed-off-by: NSMBot <[email protected]>
nsmbot pushed a commit to networkservicemesh/cmd-ipam-vl3 that referenced this pull request Nov 19, 2024
…k@main

PR link: networkservicemesh/sdk#1664

Commit: cb2dbb0
Author: Vladislav Byrgazov
Date: 2024-11-19 15:12:50 +0500
Message:
  - Upgrade go to v1.23 (#1664)
* Upgrade go to v1.23

Signed-off-by: Vladislav Byrgazov <[email protected]>

* Update linter config

Signed-off-by: Vladislav Byrgazov <[email protected]>

* Add todo to fix linters

Signed-off-by: Vladislav Byrgazov <[email protected]>

* Skip TestNSMGRHealEndpoint_DatapathHealthy_CtrlPlaneBroken test

Signed-off-by: Vladislav Byrgazov <[email protected]>

---------

Signed-off-by: Vladislav Byrgazov <[email protected]>
Signed-off-by: NSMBot <[email protected]>
nsmbot pushed a commit to networkservicemesh/cmd-registry-memory that referenced this pull request Nov 19, 2024
…k@main

PR link: networkservicemesh/sdk#1664

Commit: cb2dbb0
Author: Vladislav Byrgazov
Date: 2024-11-19 15:12:50 +0500
Message:
  - Upgrade go to v1.23 (#1664)
* Upgrade go to v1.23

Signed-off-by: Vladislav Byrgazov <[email protected]>

* Update linter config

Signed-off-by: Vladislav Byrgazov <[email protected]>

* Add todo to fix linters

Signed-off-by: Vladislav Byrgazov <[email protected]>

* Skip TestNSMGRHealEndpoint_DatapathHealthy_CtrlPlaneBroken test

Signed-off-by: Vladislav Byrgazov <[email protected]>

---------

Signed-off-by: Vladislav Byrgazov <[email protected]>
Signed-off-by: NSMBot <[email protected]>
nsmbot pushed a commit to networkservicemesh/cmd-nse-remote-vlan that referenced this pull request Nov 19, 2024
…k@main

PR link: networkservicemesh/sdk#1664

Commit: cb2dbb0
Author: Vladislav Byrgazov
Date: 2024-11-19 15:12:50 +0500
Message:
  - Upgrade go to v1.23 (#1664)
* Upgrade go to v1.23

Signed-off-by: Vladislav Byrgazov <[email protected]>

* Update linter config

Signed-off-by: Vladislav Byrgazov <[email protected]>

* Add todo to fix linters

Signed-off-by: Vladislav Byrgazov <[email protected]>

* Skip TestNSMGRHealEndpoint_DatapathHealthy_CtrlPlaneBroken test

Signed-off-by: Vladislav Byrgazov <[email protected]>

---------

Signed-off-by: Vladislav Byrgazov <[email protected]>
Signed-off-by: NSMBot <[email protected]>
nsmbot pushed a commit to networkservicemesh/cmd-nse-vfio that referenced this pull request Nov 19, 2024
…k@main

PR link: networkservicemesh/sdk#1664

Commit: cb2dbb0
Author: Vladislav Byrgazov
Date: 2024-11-19 15:12:50 +0500
Message:
  - Upgrade go to v1.23 (#1664)
* Upgrade go to v1.23

Signed-off-by: Vladislav Byrgazov <[email protected]>

* Update linter config

Signed-off-by: Vladislav Byrgazov <[email protected]>

* Add todo to fix linters

Signed-off-by: Vladislav Byrgazov <[email protected]>

* Skip TestNSMGRHealEndpoint_DatapathHealthy_CtrlPlaneBroken test

Signed-off-by: Vladislav Byrgazov <[email protected]>

---------

Signed-off-by: Vladislav Byrgazov <[email protected]>
Signed-off-by: NSMBot <[email protected]>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants