distcloud-client/distributedcloud-client/dcmanagerclient
Christopher Souza f7487d291f Add the --upload-only option to dcmanager upgrade_strategy CLI
This commit adds a new option --upload-only to dcmanager
upgrade-strategy create. If this option is used, the releases
are uploaded to the subclouds and the strategy state is set to complete.

Depends-on: https://review.opendev.org/c/starlingx/distcloud/+/894170

Test Plan:
1. PASS - Run dcmanager help upgrade-strategy create and verify
that the --upload-only argument is present.
2. PASS - Create and apply a patch strategy using the --upload-only
option and verify that the strategy completes after uploading
the patches to the subclouds.
3. PASS - Create and apply a patch strategy without using the
--upload-only option and verify that the strategy continues
after uploading the patches to the subclouds.
4. PASS - Verify that the CLI output of dcmanager upgrade-strategy
create/delete/show/abort/apply contains the 'upload only' field.

Story: 2010676
Task: 48746

Change-Id: I3ab70ff7287ae54fa4c407ef0f3c15784bfc19a6
Signed-off-by: Christopher Souza <Christopher.DeOliveiraSouza@windriver.com>
2023-09-28 15:53:34 -03:00
..
api Add the --upload-only option to dcmanager upgrade_strategy CLI 2023-09-28 15:53:34 -03:00
commands Add the --upload-only option to dcmanager upgrade_strategy CLI 2023-09-28 15:53:34 -03:00
osc Add debian package for distributedcloud-client 2022-01-24 03:40:20 -03:00
tests Add the --upload-only option to dcmanager upgrade_strategy CLI 2023-09-28 15:53:34 -03:00
__init__.py Remove WR License notice from StarlingX distributed cloud client 2021-12-22 13:23:29 -05:00
exceptions.py Remove WR License notice from StarlingX distributed cloud client 2021-12-22 13:23:29 -05:00
shell.py Add subcloud deploy resume option to dcmanager 2023-07-24 09:32:50 -03:00
utils.py Add 'subcloud deploy create' command to dcmanager 2023-06-16 18:47:06 -03:00