azure-service-operator icon indicating copy to clipboard operation
azure-service-operator copied to clipboard

Feature Enhancement: Enable Backup Instance creation for Microsoft.DataProtection

Open mayankagg9722 opened this issue 1 year ago • 2 comments

What this PR does / why we need it:

This pull request introduces enhancement for Backup Instance creation for Microsoft.DataProtection. Additionally, we have added the necessary test recording that covers the creation, and deletion of these resources, namely Backup Instance with thorough validation.

Special notes for your reviewer: Feature enhancement on top of already existing Microsoft.DataProtection CRDs.

How does this PR make you feel:

If applicable:

  • [x] this PR contains documentation
  • [x] this PR contains tests
  • [x] this PR contains YAML Samples

mayankagg9722 avatar Jan 23 '24 05:01 mayankagg9722

Thanks for the PR. This one closes #2345

super-harsh avatar Jan 29 '24 00:01 super-harsh

You'll need to fix the sample, and include the recording of the test run.

Test recordings are included: https://github.com/mayankagg9722/azure-service-operator/blob/main/v2/internal/controllers/recordings/Test_Dataprotection_Backupinstace_CRUD.yaml

mayankagg9722 avatar Jan 29 '24 08:01 mayankagg9722

image We need to increase the CI timeout for our test case as BI sync will take time. Otherwise its running fine and test recording is also included.

mayankagg9722 avatar Apr 04 '24 04:04 mayankagg9722

We need to increase the CI timeout for our test case as BI sync will take time. Otherwise its running fine and test recording is also included.

Why? CI builds run an accelerated replay of the recordings and don't interact with Azure at all.

theunrepentantgeek avatar Apr 04 '24 04:04 theunrepentantgeek

of the recordings and don't interact with Azure at all.

Okay, sure. I will check once again if I am able to find anything useful from CI logs about this step failing.

mayankagg9722 avatar Apr 04 '24 05:04 mayankagg9722

This is getting close to complete; once you've addressed the last couple of comments and rerecorded the test (after merging main, as discussed offline), we should be able to merge.

I have addressed all the comments. Merged with upstream main and regenerated and added test recordings.

mayankagg9722 avatar Apr 05 '24 09:04 mayankagg9722

/ok-to-test sha=2433622

super-harsh avatar Apr 12 '24 08:04 super-harsh

/azp run

super-harsh avatar Apr 12 '24 08:04 super-harsh

Azure Pipelines successfully started running 1 pipeline(s).

azure-pipelines[bot] avatar Apr 12 '24 08:04 azure-pipelines[bot]

This fixes #2345

matthchr avatar Apr 16 '24 00:04 matthchr

/azp run

theunrepentantgeek avatar Apr 18 '24 05:04 theunrepentantgeek

Azure Pipelines successfully started running 1 pipeline(s).

azure-pipelines[bot] avatar Apr 18 '24 05:04 azure-pipelines[bot]

/ok-to-test sha=e66c3fd

theunrepentantgeek avatar Apr 18 '24 05:04 theunrepentantgeek