canonical / bundle-kubeflow

Charmed Kubeflow
Apache License 2.0
97 stars 47 forks source link

Improve airgapped setup and testing scripts #933

Open NohaIhab opened 2 weeks ago

NohaIhab commented 2 weeks ago

Context

The airgapped setup and testing scripts need to be refactored for a better user and development experience. This task is to track the areas that we think need refactoring.

What needs to get done

Refactor the scripts to:

  1. Be more generic (no hardcoding images/charms/pkgs versions) so that they work for any bundle version.
  2. Add different modes for running the scripts for development and test, for example the development mode should not pull the test images.
  3. Make the airgapped enviroment more persistent and the testing process more time-effective, because at the moment every time we bring up the VM the step for extracting the images and pushing them to the private registry needs to run.

Definition of Done

The above refactoring is implemented and merged to the bundle-kubeflow repository.

syncronize-issues-to-jira[bot] commented 2 weeks ago

Thank you for reporting us your feedback!

The internal ticket has been created: https://warthogs.atlassian.net/browse/KF-5872.

This message was autogenerated

mvlassis commented 5 days ago

The short code snippet at No internet in the LXC container when starting maybe could be incorporated into setup.sh or airgap.sh, if users are very likely to encounter this issue.