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

Fix issue when using relative paths for KITOPS_HOME #382

Merged
merged 1 commit into from
Jun 26, 2024

Commits on Jun 25, 2024

  1. Fix issue when using relative paths for KITOPS_HOME

    Since kit sometimes changes directory while packing/unpacking, using a
    relative path for KITOPS_HOME (or the --config parameter) would lead to
    the CLI using an unexpected location -- for example, running
    
      KITOPS_HOME=./my-kitops-storage
      kit pack -t my-model ./my-model-path
    
    would lead to kit storing the model in ./my-model-path/my-kitops-storage
    instead of the expected ./my-kitops-storage.
    
    Instead, we take the absolute path for the parameter at the
    beginning and use that.
    amisevsk committed Jun 25, 2024
    Configuration menu
    Copy the full SHA
    a7ffff5 View commit details
    Browse the repository at this point in the history