-
Type: Epic
-
Status: To Do (View Workflow)
-
Priority: Medium
-
Resolution: Unresolved
-
Affects Version/s: None
-
Fix Version/s: None
-
Component/s: Testing
-
Labels:None
-
Story Points:0
Several tools voltha repos are dependent on use different installation methods, install different versions, etc. All of this should be consolidated and centrally maintained.
Tools (known): kail, kind, voltctl, bbsim
Installers:
- inlined curl commands, some hardcoded versions.
- scripting: docker,groovy, jenkinsfile, shell
- godownloader.sh
- kail installer
- godownloader.sh has been deprecated.
- we captured a copy of the scirpt to work around deprecation breakage.
- Deploy a reliable answer.
Todo (for individual tools):
- Locate all copies of installers and versions installed across all repositories.
- Refactor into a central installer:
- Installer is wrapped in a makefile target.
- Command maintained as a dependency, only retrieved when needed.
- Current answer: kind installer
- Installer logic should:
- Support versioning:
- make install-command-kail kind-cmd-ver=v0.21.
- For now download and install the latest version available.
- Long term we should revisit this. Always using latest available contributes to unplanned breakage. Agree on a release cycle, freeze version in use and every few weeks/once a month plan on performing a mini-release where the latest tool is deployed for all repos to consume.
- Support dependencies
- Do not blindly download and install commands every time when a versioned binary was retrieved previously.
- Support versioning:
- Document setup and tool use