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

[chore] Upgrade kube version to v1.18.3 #726

Merged
merged 6 commits into from
Aug 6, 2020
Merged

Conversation

rahulchheda
Copy link
Contributor

@rahulchheda rahulchheda commented Jul 23, 2020

Change Overview

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

Issues

  • #XXX

Test Plan

  • 💪 Manual
  • ⚡ Unit test
  • 💚 E2E

@rahulchheda rahulchheda force-pushed the upgrade_kube_version branch from 7d49245 to a62cc22 Compare July 24, 2020 10:07
@rahulchheda rahulchheda force-pushed the upgrade_kube_version branch from 50d314b to 4841ef4 Compare July 27, 2020 13:00
@rahulchheda rahulchheda requested review from tdmanv, viveksinghggits, PrasadG193 and pavannd1 and removed request for tdmanv and viveksinghggits July 27, 2020 13:35
@rahulchheda rahulchheda marked this pull request as ready for review July 27, 2020 13:35
.travis.yml Show resolved Hide resolved
@rahulchheda rahulchheda requested a review from pavannd1 July 27, 2020 19:01
@pavannd1
Copy link
Contributor

pavannd1 commented Aug 4, 2020

Still have around 30+ files to go through. Looks good so far.

@rahulchheda rahulchheda force-pushed the upgrade_kube_version branch 3 times, most recently from e5fa53a to b29eaab Compare August 5, 2020 09:37
pkg/param/param_test.go Outdated Show resolved Hide resolved
pkg/resource/resource_test.go Outdated Show resolved Hide resolved
pkg/resource/resource_test.go Outdated Show resolved Hide resolved
pkg/resource/resource_test.go Outdated Show resolved Hide resolved
pkg/resource/resource_test.go Outdated Show resolved Hide resolved
pkg/resource/resource_test.go Outdated Show resolved Hide resolved
pkg/resource/resource_test.go Outdated Show resolved Hide resolved
pkg/resource/resource_test.go Outdated Show resolved Hide resolved
pkg/resource/resource_test.go Outdated Show resolved Hide resolved
Rahul M Chheda added 6 commits August 6, 2020 13:44
Signed-off-by: Rahul M Chheda <rchheda@infracloud.io>
Signed-off-by: Rahul M Chheda <rchheda@infracloud.io>
Signed-off-by: Rahul M Chheda <rchheda@infracloud.io>
Signed-off-by: Rahul M Chheda <rchheda@infracloud.io>
Signed-off-by: Rahul M Chheda <rchheda@infracloud.io>
Signed-off-by: Rahul M Chheda <rchheda@infracloud.io>
@rahulchheda rahulchheda force-pushed the upgrade_kube_version branch from e2ee7ce to 0fe5198 Compare August 6, 2020 08:16
@tdmanv tdmanv added the kueue label Aug 6, 2020
@mergify mergify bot merged commit f6822ca into master Aug 6, 2020
@mergify mergify bot deleted the upgrade_kube_version branch August 6, 2020 08:40
Comment on lines +125 to 132
if _, err := cli.CrV1alpha1().ActionSets(ns).List(context.TODO(), v1.ListOptions{}); err != nil {
return errors.Wrap(err, "Could not list ActionSets")
}
if _, err := cli.CrV1alpha1().Blueprints(ns).List(v1.ListOptions{}); err != nil {
if _, err := cli.CrV1alpha1().Blueprints(ns).List(context.TODO(), v1.ListOptions{}); err != nil {
return errors.Wrap(err, "Could not list Blueprints")
}
if _, err := cli.CrV1alpha1().Profiles(ns).List(v1.ListOptions{}); err != nil {
if _, err := cli.CrV1alpha1().Profiles(ns).List(context.TODO(), v1.ListOptions{}); err != nil {
return errors.Wrap(err, "Could not list Profiles")
Copy link
Contributor

Choose a reason for hiding this comment

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

@A-kanksh-a I don't think we have handled this in the PR that you raised. In this case we can atleast, create context once and then pass that context to the other calls. Instead of creating the context n times.

Copy link
Contributor

Choose a reason for hiding this comment

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

try to do this for every other occurance.

Copy link
Contributor

Choose a reason for hiding this comment

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

@viveksinghggits I agree we can do this. we haven't handled this.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

5 participants