Added check to see if deploy plug-in artifacts are present in alternate
location. If present, updated the payload with corressponding values.
Test Plan
PASS:
- Test the DM artifacts(/usr/local/share) updated in payload.
- Parameter set for user_uploaded_artifacts.
- Test the DM artifacts are picked up from subcloud in DM install.
- Deployment is successful.
- DM pod is running in the subcloud.
- Deploy subcloud w/o "dcmanager subcloud-deploy upload",
the secondary options are stored in expected dir.
- Deploy subcloud with "dcmanager subcloud-deploy upload",
the secondary options are stored in expected dir.
- Deploy subcloud with "dcmanager subcloud-deploy upload",
the secondary options are not stored in expected dir.
- Reconfig subcloud w/o "dcmanager subcloud-deploy upload",
the secondary options are stored in expected dir.
- Reconfig subcloud with "dcmanager subcloud-deploy upload",
the secondary options are stored in expected dir.
- Reconfig subcloud with "dcmanager subcloud-deploy upload",
the secondary options are not stored in expected dir.
- Tested with 22.12 systemController with 22.12 subcloud
- Tested with 22.12 systemController with 21.12 subcloud
FAIL:
- Deploy subcloud w/o "dcmanager subcloud-deploy upload",
the secondary options are not stored in expected dir.
- Reconfig subcloud w/o "dcmanager subcloud-deploy upload",
the secondary options are not stored in expected dir.
Story: 2010718
Task: 48434
Change-Id: I5f0e0d1950baa67fc58467d87ed282871acdc6d7
Signed-off-by: Sharang Bhardwaj <sharang.bhardwaj@windriver.com>