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

refactor: Migrate ACI to Azure SDK v2 - Part 1 #422

Merged
merged 13 commits into from
Jan 24, 2023

Conversation

helayoty
Copy link
Member

@helayoty helayoty commented Jan 20, 2023

We mostly follow this guide for code migration:
https://github.com/Azure/azure-sdk-for-go/blob/main/documentation/MIGRATION_GUIDE.md#pagination

  • Migrate ACI to Azure SDK v2 v2.2.0-beta.1
  • Use azureidentity library instead of adal

Signed-off-by: Heba Elayoty hebaelayoty@gmail.com

@helayoty helayoty temporarily deployed to test January 20, 2023 06:12 — with GitHub Actions Inactive
@helayoty helayoty temporarily deployed to test January 20, 2023 06:13 — with GitHub Actions Inactive
Signed-off-by: Heba Elayoty <hebaelayoty@gmail.com>
@helayoty helayoty temporarily deployed to test January 20, 2023 06:23 — with GitHub Actions Inactive
@helayoty helayoty temporarily deployed to test January 20, 2023 06:24 — with GitHub Actions Inactive
pkg/client/client_apis.go Show resolved Hide resolved
pkg/client/client_apis.go Outdated Show resolved Hide resolved
pkg/client/client_apis.go Outdated Show resolved Hide resolved
pkg/client/client_apis.go Outdated Show resolved Hide resolved
pkg/client/extensions.go Outdated Show resolved Hide resolved
pkg/tests/utils.go Outdated Show resolved Hide resolved
pkg/validation/validator.go Outdated Show resolved Hide resolved
pkg/validation/validator.go Outdated Show resolved Hide resolved
pkg/validation/validator.go Outdated Show resolved Hide resolved
pkg/validation/validator.go Outdated Show resolved Hide resolved
Signed-off-by: Heba Elayoty <hebaelayoty@gmail.com>
@helayoty helayoty temporarily deployed to test January 20, 2023 19:40 — with GitHub Actions Inactive
@helayoty helayoty temporarily deployed to test January 20, 2023 19:40 — with GitHub Actions Inactive
@helayoty helayoty requested a review from Fei-Guo January 20, 2023 19:41
Signed-off-by: Heba Elayoty <hebaelayoty@gmail.com>
@helayoty helayoty temporarily deployed to test January 20, 2023 20:04 — with GitHub Actions Inactive
@helayoty helayoty temporarily deployed to test January 20, 2023 20:04 — with GitHub Actions Inactive
Signed-off-by: Heba Elayoty <hebaelayoty@gmail.com>
@helayoty helayoty temporarily deployed to test January 20, 2023 20:10 — with GitHub Actions Inactive
@helayoty helayoty temporarily deployed to test January 20, 2023 20:11 — with GitHub Actions Inactive
Signed-off-by: Heba Elayoty <hebaelayoty@gmail.com>
@helayoty helayoty temporarily deployed to test January 20, 2023 20:15 — with GitHub Actions Inactive
@Fei-Guo Fei-Guo changed the title refactor: Migrate ACI to Azure SDK v2 refactor: Migrate ACI to Azure SDK v2 - Part 1 Jan 20, 2023
@helayoty helayoty temporarily deployed to test January 20, 2023 20:16 — with GitHub Actions Inactive
@codecov-commenter
Copy link

codecov-commenter commented Jan 20, 2023

Codecov Report

Merging #422 (fb72a69) into master (0c76852) will increase coverage by 0.37%.
The diff coverage is 59.69%.

@@            Coverage Diff             @@
##           master     #422      +/-   ##
==========================================
+ Coverage   42.91%   43.28%   +0.37%     
==========================================
  Files          50       50              
  Lines        5735     5829      +94     
==========================================
+ Hits         2461     2523      +62     
- Misses       3017     3050      +33     
+ Partials      257      256       -1     
Impacted Files Coverage Δ
pkg/network/aci_network.go 25.92% <31.42%> (-0.61%) ⬇️
pkg/auth/auth.go 60.32% <44.68%> (-6.35%) ⬇️
pkg/metrics/metrics.go 75.18% <57.14%> (-1.56%) ⬇️
pkg/provider/aci.go 37.07% <59.61%> (+3.18%) ⬆️
pkg/provider/aci_volumes.go 45.19% <66.66%> (ø)
pkg/provider/containergroup_to_pod.go 75.39% <86.53%> (+0.11%) ⬆️
pkg/analytics/analytics.go 64.70% <100.00%> (ø)

📣 We’re building smart automated test selection to slash your CI/CD build times. Learn more

@helayoty helayoty temporarily deployed to test January 20, 2023 21:53 — with GitHub Actions Inactive
@helayoty helayoty temporarily deployed to test January 20, 2023 21:53 — with GitHub Actions Inactive
pkg/provider/aci.go Show resolved Hide resolved
pkg/provider/aci.go Outdated Show resolved Hide resolved
pkg/provider/aci.go Outdated Show resolved Hide resolved
pkg/network/aci_network.go Outdated Show resolved Hide resolved
pkg/provider/aci.go Outdated Show resolved Hide resolved
pkg/analytics/analytics.go Outdated Show resolved Hide resolved
Signed-off-by: Heba Elayoty <hebaelayoty@gmail.com>
@helayoty helayoty temporarily deployed to test January 20, 2023 22:51 — with GitHub Actions Inactive
@helayoty helayoty requested a review from Fei-Guo January 23, 2023 17:18
@helayoty helayoty temporarily deployed to test January 23, 2023 18:10 — with GitHub Actions Inactive
pkg/provider/aci.go Show resolved Hide resolved
pkg/provider/containergroup_to_pod.go Outdated Show resolved Hide resolved
Signed-off-by: Heba Elayoty <hebaelayoty@gmail.com>
@helayoty helayoty temporarily deployed to test January 23, 2023 22:51 — with GitHub Actions Inactive
@helayoty helayoty temporarily deployed to test January 23, 2023 22:51 — with GitHub Actions Inactive
@helayoty helayoty requested a review from Fei-Guo January 23, 2023 22:53
@helayoty helayoty temporarily deployed to test January 23, 2023 23:12 — with GitHub Actions Inactive
@helayoty helayoty temporarily deployed to test January 23, 2023 23:20 — with GitHub Actions Inactive
@helayoty helayoty temporarily deployed to test January 23, 2023 23:20 — with GitHub Actions Inactive
Signed-off-by: Heba Elayoty <hebaelayoty@gmail.com>
@helayoty helayoty temporarily deployed to test January 23, 2023 23:25 — with GitHub Actions Inactive
@helayoty helayoty temporarily deployed to test January 23, 2023 23:26 — with GitHub Actions Inactive
@helayoty helayoty temporarily deployed to test January 24, 2023 00:22 — with GitHub Actions Inactive
@helayoty helayoty temporarily deployed to test January 24, 2023 00:23 — with GitHub Actions Inactive
@helayoty helayoty temporarily deployed to test January 24, 2023 00:33 — with GitHub Actions Inactive
@helayoty helayoty temporarily deployed to test January 24, 2023 00:34 — with GitHub Actions Inactive
Signed-off-by: Heba Elayoty <hebaelayoty@gmail.com>
@helayoty helayoty temporarily deployed to test January 24, 2023 01:54 — with GitHub Actions Inactive
@helayoty helayoty temporarily deployed to test January 24, 2023 01:55 — with GitHub Actions Inactive
@helayoty helayoty temporarily deployed to test January 24, 2023 02:13 — with GitHub Actions Inactive
@helayoty helayoty temporarily deployed to test January 24, 2023 02:22 — with GitHub Actions Inactive
pkg/provider/containergroup_to_pod.go Outdated Show resolved Hide resolved
@helayoty helayoty temporarily deployed to test January 24, 2023 02:39 — with GitHub Actions Inactive
@helayoty helayoty temporarily deployed to test January 24, 2023 02:42 — with GitHub Actions Inactive
@helayoty helayoty merged commit a628b01 into virtual-kubelet:master Jan 24, 2023
@helayoty helayoty deleted the update-aci-sdk branch January 24, 2023 03:12
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants