Skip to content
This repository has been archived by the owner on Jun 29, 2022. It is now read-only.

Remove pkg/util package #952

Merged
merged 7 commits into from
Sep 15, 2020
Merged

Remove pkg/util package #952

merged 7 commits into from
Sep 15, 2020

Commits on Sep 15, 2020

  1. pkg/util: move path-related functions to pkg/config

    As this is the only place which use those functions.
    
    Signed-off-by: Mateusz Gozdek <mateusz@kinvolk.io>
    invidian committed Sep 15, 2020
    Configuration menu
    Copy the full SHA
    313217e View commit details
    Browse the repository at this point in the history
  2. pkg/util: remove tools sub-package

    As it is not used anywhere.
    
    Signed-off-by: Mateusz Gozdek <mateusz@kinvolk.io>
    invidian committed Sep 15, 2020
    Configuration menu
    Copy the full SHA
    ed91f6b View commit details
    Browse the repository at this point in the history
  3. test/ingress/aws: use wait.PollImmediate rather than retryutil

    Signed-off-by: Mateusz Gozdek <mateusz@kinvolk.io>
    invidian committed Sep 15, 2020
    Configuration menu
    Copy the full SHA
    c7211b4 View commit details
    Browse the repository at this point in the history
  4. pkg/lokomotive: use wait.PollImmediate instead of retryutil.Retry

    As they provide the same functionality, but PollImmediate has more
    obvious interface (as you don't mix duration with number of retries).
    
    Signed-off-by: Mateusz Gozdek <mateusz@kinvolk.io>
    invidian committed Sep 15, 2020
    Configuration menu
    Copy the full SHA
    45e3974 View commit details
    Browse the repository at this point in the history
  5. pkg/lokomotive: improve imports

    Signed-off-by: Mateusz Gozdek <mateusz@kinvolk.io>
    invidian committed Sep 15, 2020
    Configuration menu
    Copy the full SHA
    4f74bff View commit details
    Browse the repository at this point in the history
  6. pkg/util/retryutil: remove package

    This code is no loger used so can be removed.
    
    Signed-off-by: Mateusz Gozdek <mateusz@kinvolk.io>
    invidian committed Sep 15, 2020
    Configuration menu
    Copy the full SHA
    10e572a View commit details
    Browse the repository at this point in the history
  7. pkg/lokomotive: adjust timeouts

    3 minutes seems like an arbitrary time to wait for cluster to become
    ready, so let's make it at least round to 5 minutes.
    
    As currently we have issues, that nodes do not become ready within 3
    minutes timeframe, let's give them max 10 minutes to converge, which
    should be sufficient in most cases, as sometimes it may take up to 5
    minutes for node to become ready.
    
    Closes #940.
    
    Signed-off-by: Mateusz Gozdek <mateusz@kinvolk.io>
    invidian committed Sep 15, 2020
    Configuration menu
    Copy the full SHA
    5ca727b View commit details
    Browse the repository at this point in the history