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

[WIP] Add first golang written test #873

Draft
wants to merge 20 commits into
base: master
Choose a base branch
from

Commits on Mar 2, 2023

  1. WIP Add first test in golang

    Signed-off-by: Pavel Abramov <[email protected]>
    uncleDecart committed Mar 2, 2023
    Configuration menu
    Copy the full SHA
    fc92f27 View commit details
    Browse the repository at this point in the history

Commits on Mar 27, 2023

  1. Add test field to config. Default config resolves paths

    Signed-off-by: Pavel Abramov <[email protected]>
    uncleDecart committed Mar 27, 2023
    Configuration menu
    Copy the full SHA
    b9bd515 View commit details
    Browse the repository at this point in the history
  2. Remove zombie code from cmd/debug.go

    Signed-off-by: Pavel Abramov <[email protected]>
    uncleDecart committed Mar 27, 2023
    Configuration menu
    Copy the full SHA
    f545444 View commit details
    Browse the repository at this point in the history
  3. Move SwptmPidFile as openevec function. Remove viper call from eden.go

    Since we are using config as file structure it's not reasonable to call
    viper functions from openevec because that will mean that configuration
    file should be present and we want to have flexibility of just passing
    structure to functions
    
    Signed-off-by: Pavel Abramov <[email protected]>
    uncleDecart committed Mar 27, 2023
    Configuration menu
    Copy the full SHA
    953fcec View commit details
    Browse the repository at this point in the history
  4. [AT] Remove viper call from EdgeNodeEVEImageUpdate

    Signed-off-by: Pavel Abramov <[email protected]>
    uncleDecart committed Mar 27, 2023
    Configuration menu
    Copy the full SHA
    2649672 View commit details
    Browse the repository at this point in the history
  5. Remove viper from VolumeCreate

    Refer to lf-edge#855
    
    Signed-off-by: Pavel Abramov <[email protected]>
    uncleDecart committed Mar 27, 2023
    Configuration menu
    Copy the full SHA
    efcb4d8 View commit details
    Browse the repository at this point in the history
  6. Add viper config read for packet command

    Signed-off-by: Pavel Abramov <[email protected]>
    uncleDecart committed Mar 27, 2023
    Configuration menu
    Copy the full SHA
    4f0f61f View commit details
    Browse the repository at this point in the history
  7. Remove unused stopAdam function

    Signed-off-by: Pavel Abramov <[email protected]>
    uncleDecart committed Mar 27, 2023
    Configuration menu
    Copy the full SHA
    828b5f0 View commit details
    Browse the repository at this point in the history

Commits on Apr 5, 2023

  1. Add ConfigWrite function

    Signed-off-by: Pavel Abramov <[email protected]>
    uncleDecart committed Apr 5, 2023
    Configuration menu
    Copy the full SHA
    e01eff6 View commit details
    Browse the repository at this point in the history

Commits on Apr 12, 2023

  1. Remove unused CobraToViper variable

    Signed-off-by: Pavel Abramov <[email protected]>
    uncleDecart committed Apr 12, 2023
    Configuration menu
    Copy the full SHA
    1bc9bd7 View commit details
    Browse the repository at this point in the history
  2. Rename Merge to MergeFlagSet

    Signed-off-by: Pavel Abramov <[email protected]>
    uncleDecart committed Apr 12, 2023
    Configuration menu
    Copy the full SHA
    ae089d7 View commit details
    Browse the repository at this point in the history

Commits on May 25, 2023

  1. openevec/config minor fixes to config elements

    Signed-off-by: Pavel Abramov <[email protected]>
    uncleDecart committed May 25, 2023
    Configuration menu
    Copy the full SHA
    c8c19fa View commit details
    Browse the repository at this point in the history
  2. openevec/eden interpret firmware parameter as list

    Signed-off-by: Pavel Abramov <[email protected]>
    uncleDecart committed May 25, 2023
    Configuration menu
    Copy the full SHA
    655ca3d View commit details
    Browse the repository at this point in the history
  3. openevec/defaults fix default config generation

    Signed-off-by: Pavel Abramov <[email protected]>
    uncleDecart committed May 25, 2023
    Configuration menu
    Copy the full SHA
    0bf46eb View commit details
    Browse the repository at this point in the history
  4. cmd/edenConfig refactor ConfigAdd

    Signed-off-by: Pavel Abramov <[email protected]>
    uncleDecart committed May 25, 2023
    Configuration menu
    Copy the full SHA
    8066850 View commit details
    Browse the repository at this point in the history

Commits on Jun 12, 2023

  1. Create cli folder under cmd

    Following golang bestpractices eden CLI is moved into its
    own folder under cmd folder. That way we can create other
    applications using eden packages for instance integration
    tests
    
    Signed-off-by: Pavel Abramov <[email protected]>
    uncleDecart committed Jun 12, 2023
    Configuration menu
    Copy the full SHA
    adbe4a5 View commit details
    Browse the repository at this point in the history
  2. Move tests into its cmd

    Integration tests will have their own binary
    and files used since it will all be stored in its own
    cmd folder
    
    Signed-off-by: Pavel Abramov <[email protected]>
    uncleDecart committed Jun 12, 2023
    Configuration menu
    Copy the full SHA
    5cf017e View commit details
    Browse the repository at this point in the history

Commits on Jul 5, 2023

  1. Move redis cmd to openevec

    Signed-off-by: Pavel Abramov <[email protected]>
    uncleDecart committed Jul 5, 2023
    Configuration menu
    Copy the full SHA
    d748e9e View commit details
    Browse the repository at this point in the history
  2. Temp commit for pkg

    Signed-off-by: Pavel Abramov <[email protected]>
    uncleDecart committed Jul 5, 2023
    Configuration menu
    Copy the full SHA
    1ddffa2 View commit details
    Browse the repository at this point in the history

Commits on Jul 11, 2023

  1. Fix script templates to use config struct

    Signed-off-by: Pavel Abramov <[email protected]>
    uncleDecart committed Jul 11, 2023
    Configuration menu
    Copy the full SHA
    9795d8e View commit details
    Browse the repository at this point in the history