-
Type: Task
-
Status: To Do (View Workflow)
-
Priority: Medium
-
Resolution: Unresolved
-
Affects Version/s: None
-
Fix Version/s: None
-
Component/s: ci-system
-
Labels:None
-
Story Points:0
Current command installers:
- https://gerrit.opencord.org/plugins/gitiles/voltha-system-tests/+/refs/heads/master/makefiles/commands/kail.mk
- https://gerrit.opencord.org/plugins/gitiles/voltha-system-tests/+/refs/heads/master/makefiles/commands/kind.mk
Detection logic needed:
- use available version if installed
- explicitly install latest version
- installers should be release aware, support the ability to freeze command versions as part of a release.
- create standalone unit tests to verify installation.
Formal kind command tool installer needed: (VOL-5094)
[2023-07-21T13:39:51.878Z] + grep kind-ci [2023-07-21T13:39:51.878Z] + kind get clusters [2023-07-21T13:39:51.878Z] /w/workspace/periodic-voltha-memory-leak-test-bbsim@tmp/durable-c7b7729f/script.sh: line 1: kind: command not found [2023-07-21T13:39:53.235Z] + chmod +x ./kind [2023-07-21T13:39:53.235Z] + mv ./kind /w/workspace/periodic-voltha-memory-leak-test-bbsim/bin/kind
- Test for existence, only display an error message when not found and unable to install (these failures normally have downstream recovery, bogus not found message captured in log output).
- Install command from latest (branch=master) else frozen version for release branch.
- If install fails fatal, this event should cause a jenkins job to fail outright.
- Post install invoke "kind --version" to:
- Verify installed binary is functional.
- Display command version installed for job logging.
TODO:
- Post v2.12 release upgrade installation from v0.11.0 to v0.20.0.
- Target logic is not yet release aware:
- Installer should prefer the latest available version
- At release time freeze the kind binary version actively being used.
- Really should move this into a standalone Jira ticket with subtasks to install voltctl, bbsim, etc that all need to follow the same model.
- Add basic unit tests to validate the installation.
voltctl installer:
https://gerrit.opencord.org/plugins/gitiles/voltha-system-tests/+/refs/heads/master/Makefile#871
- Move this into makefiles/commands/voltctl.mk
- Update installer to be platform aware/download correct binary.
- Branch/release support as needed.
# | Subject | Branch | Project | Status | CR | V |
---|---|---|---|---|---|---|
34313,1 | Revert "[VOL-5121] - Fix permissions on ~/.volt/config" | master | ci-management | Status: ABANDONED | 0 | +1 |
34616,2 | [VOL-5121] - Fix permissions on ~/.volt/config | master | ci-management | Status: MERGED | +2 | +1 |