Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Support multi-stage imports in import populator #2767

Merged
merged 5 commits into from
Jul 12, 2023

Commits on Jul 10, 2023

  1. Update VolumeImportSource API to support multi-stage imports

    This commit modifies the VolumeImportSource API to support multi-stage imports, adding the following fields:
    - Checkpoints, to represent the stages of a multistage import
    - TargetClaim, the name of the specific PVC to be imported
    - FinalCheckpoint, to indicate that the current Checkpoint is the final one
    
    Signed-off-by: Alvaro Romero <alromero@redhat.com>
    alromeros committed Jul 10, 2023
    Configuration menu
    Copy the full SHA
    57ba52c View commit details
    Browse the repository at this point in the history
  2. Support multi-stage imports in import-populator

    This commit updates the import populator to support multi-stage imports. The API and functionality remains the same as with DataVolumes, with the only difference that the used VolumeImportSource will now require a populated "TargetClaim" field that reffers to the specific PVC to be populated.
    
    The DataVolume controller is also updated to allow using the populator flow with VDDK and ImageIO sources.
    
    Signed-off-by: Alvaro Romero <alromero@redhat.com>
    alromeros committed Jul 10, 2023
    Configuration menu
    Copy the full SHA
    3c336a1 View commit details
    Browse the repository at this point in the history

Commits on Jul 11, 2023

  1. Add unit tests for multistage import support in populators

    Signed-off-by: Alvaro Romero <alromero@redhat.com>
    alromeros committed Jul 11, 2023
    Configuration menu
    Copy the full SHA
    9bc3133 View commit details
    Browse the repository at this point in the history
  2. Add functional tests to test multistage import populator flow

    Signed-off-by: Alvaro Romero <alromero@redhat.com>
    alromeros committed Jul 11, 2023
    Configuration menu
    Copy the full SHA
    9a76e17 View commit details
    Browse the repository at this point in the history
  3. Fix multi-stage import logic in import-populator and add remaining tests

    This commit fixes several bugs in the import-populator logic for multi-stage imports.
    
    Signed-off-by: Alvaro Romero <alromero@redhat.com>
    alromeros committed Jul 11, 2023
    Configuration menu
    Copy the full SHA
    814b25d View commit details
    Browse the repository at this point in the history