distcloud/distributedcloud/dcmanager/tests/unit/orchestrator/states/patch
Gustavo Herzmann f055da10a7 Add the upload-only option to DC patch orchestration
Supports the optional upload-only option that is passed through the
extra-args parameter. This option makes the patch orchestration only
upload patches to subclouds, without applying or installing them,
skipping the strategy state to 'complete' after the upload step
is completed.

Test Plan:
1. PASS - Run dcmanager help patch-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 the --upload-only
          option while having uploaded the patches before and check
          that the patches are not uploaded again;
4. PASS - Create and apply a patch strategy without the --upload-only
          option without having uploaded the patches before and check
          that the patches are uploaded correctly.

Depends-On: I2c37bd59696e6f9e4fd706f3b3c97f8f9e4499b0

Story: 2010584
Task: 47372

Signed-off-by: Gustavo Herzmann <gustavo.herzmann@windriver.com>
Change-Id: I045256be2195d7cbf4467e22c3aee06adb2e9e5a
2023-03-02 13:56:18 -03:00
..
__init__.py Refactor distributed cloud patch orchestration 2023-02-27 09:48:14 -03:00
test_applying_vim_patch_strategy.py Refactor distributed cloud patch orchestration 2023-02-27 09:48:14 -03:00
test_base.py Refactor distributed cloud patch orchestration 2023-02-27 09:48:14 -03:00
test_creating_vim_patch_strategy.py Refactor distributed cloud patch orchestration 2023-02-27 09:48:14 -03:00
test_finishing_patch_strategy.py Refactor distributed cloud patch orchestration 2023-02-27 09:48:14 -03:00
test_pre_check.py Refactor distributed cloud patch orchestration 2023-02-27 09:48:14 -03:00
test_updating_patches.py Add the upload-only option to DC patch orchestration 2023-03-02 13:56:18 -03:00