-
Type: Story
-
Status: To Do (View Workflow)
-
Priority: Medium
-
Resolution: Unresolved
-
Affects Version/s: None
-
Fix Version/s: None
-
Component/s: voltha-go
-
Labels:None
-
Story Points:0
Evan Z. encountered a problem while deploying voltha.
There are a few moving parts to this problem so creating as a story so problem specific tickets can be created and attached.
I'm trying to deploy voltha locally.(branch: master ) I notice that the source code has changed a lot since voltha 2.8, but the compose file has not changed accordingly. For example, in the file system-test-bbsim.yml (attached: system-tests-bbsim.png) These commands have since been removed. Can we have the latest compose file to test?
*Resources: *
The jira server currently lives here:
* https://jira.opencord.org/secure/Dashboard.jspa
Repository URL can reference either gerrit (repo) or github (mirror):
* https://gerrit.opencord.org/plugins/gitiles/voltha-go/+/refs/heads/master/compose/system-test-bbsim.yml#85
* https://github.com/opencord/voltha-go/blob/master/compose/system-test-bbsim.yml#L85
I deploy voltha follow this URL:voltha-go/quickstart.md at master · opencord/voltha-go (github.com). I use it successfully deploy the voltha 2.8 after modify a little config of compose file system-test-bbism.yml. (PS, the modify is below)
(attached: sys-tst-edits.png)
But the master version changed a lot and the system-test-bbsim.yml is too old. I can't do some simple changes to deploy the master voltha.
TODO
- Make edits in b-s-t.yml as needed to make the file current and usable:
- Add a verify item for release to sanity check source, configs and tests are in sync.
- Identify feature changes in source and determine how/why b-s-t.yml has become stale.
- Testing:
- Determine if unit testing should have detected this disconnect.
- If covered by testing – why was this condition not detected
- Create a simple smoke test to validate the config file and sources are kept in sync.
- Documentation:
- For good measure also review docs for content and accuracy:
- Once the source/config/testing dependency is understood document edits needed so the URL can be pasted into code reviews as an FYI for omissions.
- See 'docker compose deployment' down below.
- If this deployment method is no longer supported:
- Deprecate any related yaml config files (system-tests-bbsim.yaml)
- Review quickstart docs, deprecate content not relevant:
- Migrate docs to https://docs.voltha.org
- Add/update repo:voltha-go/README.md with links to the quickstart guide and other resources (linting, building, testing, etc)
- If this deployment method is no longer supported: