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

Update azure sdk lib #2507

Merged
merged 20 commits into from
Dec 11, 2023
Merged

Update azure sdk lib #2507

merged 20 commits into from
Dec 11, 2023

Conversation

mabhi
Copy link
Contributor

@mabhi mabhi commented Dec 1, 2023

Change Overview

As per Azure guidelines, few modules from azure library are retiring support from 31 March 2023 . Due to which there is need to replace such modules with azure recommended azure-go-sdk modules.

go-autorest being used in the blockstorage package will be out of support from March 2023. Follow the documentation below to replace it with a new supported package.
https://azure.microsoft.com/en-us/updates/support-for-azure-sdk-libraries-that-do-not-conform-to-our-current-azure-sdk-guidelines-will-be-retired-as-of-31-march-2023/

Pull request type

Please check the type of change your PR introduces:

  • 🚧 Work in Progress
  • 🌈 Refactoring (no functional changes, no api changes)
  • 🐹 Trivial/Minor
  • 🐛 Bugfix
  • 🌻 Feature
  • 🗺️ Documentation
  • 🤖 Test

Test Plan

  • 💪 Manual
  • ⚡ Unit test
  • 💚 E2E

@infraq infraq added this to In Progress in Kanister Dec 1, 2023
@mabhi mabhi force-pushed the update-azure-sdk-lib branch 2 times, most recently from 80f7bd6 to 7e3024b Compare December 5, 2023 08:52
Copy link
Contributor

@leuyentran leuyentran left a comment

Choose a reason for hiding this comment

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

For more context, the review is technically a re-review from #2368 . My review strategy was mainly maing sure the changes match, albeit that was not entirely successful with azuredisk.go due to recent changes in this file.

The recent changes in this file that need extra review are:

  1. Implementation of SnapshotCreateWaitForCompletion - review added
  2. Re-org of code from here - LGTM

pkg/blockstorage/azure/azuredisk.go Outdated Show resolved Hide resolved
Kanister automation moved this from In Progress to Review Required Dec 6, 2023
@mabhi mabhi force-pushed the update-azure-sdk-lib branch 2 times, most recently from 9f2d2e6 to 5e70bd8 Compare December 7, 2023 08:25
pkg/blockstorage/azure/environments.go Outdated Show resolved Hide resolved
pkg/blockstorage/helper_test.go Outdated Show resolved Hide resolved
pkg/kopia/command/storage/secret_utils.go Outdated Show resolved Hide resolved
pkg/kopia/command/storage/secret_utils.go Outdated Show resolved Hide resolved
pkg/kopia/command/storage/secret_utils.go Show resolved Hide resolved
Copy link
Contributor

@leuyentran leuyentran left a comment

Choose a reason for hiding this comment

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

LGTM, please let Pavan do another pass as well before merging

Kanister automation moved this from Review Required to Reviewer approved Dec 8, 2023
Signed-off-by: mabhi <abhijit.mukherjee@infracloud.io>
Signed-off-by: mabhi <abhijit.mukherjee@infracloud.io>
Signed-off-by: mabhi <abhijit.mukherjee@infracloud.io>
Signed-off-by: mabhi <abhijit.mukherjee@infracloud.io>
Signed-off-by: mabhi <abhijit.mukherjee@infracloud.io>
Signed-off-by: mabhi <abhijit.mukherjee@infracloud.io>
Signed-off-by: mabhi <abhijit.mukherjee@infracloud.io>
Signed-off-by: mabhi <abhijit.mukherjee@infracloud.io>
Signed-off-by: mabhi <abhijit.mukherjee@infracloud.io>
Signed-off-by: mabhi <abhijit.mukherjee@infracloud.io>
Signed-off-by: mabhi <abhijit.mukherjee@infracloud.io>
Signed-off-by: mabhi <abhijit.mukherjee@infracloud.io>
Signed-off-by: Abhijit Mukherjee <abhijit.mukherjee@infracloud.io>
Signed-off-by: Abhijit Mukherjee <abhijit.mukherjee@infracloud.io>
Signed-off-by: Abhijit Mukherjee <abhijit.mukherjee@infracloud.io>
Signed-off-by: Abhijit Mukherjee <abhijit.mukherjee@infracloud.io>
Signed-off-by: Abhijit Mukherjee <abhijit.mukherjee@infracloud.io>
Signed-off-by: Abhijit Mukherjee <abhijit.mukherjee@infracloud.io>
Signed-off-by: Abhijit Mukherjee <abhijit.mukherjee@infracloud.io>
@mergify mergify bot merged commit c11c8fe into master Dec 11, 2023
15 checks passed
@mergify mergify bot deleted the update-azure-sdk-lib branch December 11, 2023 19:23
Kanister automation moved this from Reviewer approved to Done Dec 11, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
Development

Successfully merging this pull request may close these issues.

None yet

3 participants