Skip to content

PoC: database migration (WIP)

Lucas Li requested to merge poc-database-migration into main

🛑 This is a PoC. Do not merge.

What does this MR do?

Archive of the PoC.

Currently, it is a PoC of running the initial database migration. It will only do the database migration. It does not create the operator. See !25 (closed) for a operator PoC.

PoC implementation:

https://gitlab.com/gitlab-org/cloud-native/operator/-/blob/5d4a944b2fdbc46251139810f4421d4b8d9b2b25/internal/controller/inventory/migration/migration_test.go#L129

# must run inside the project folder
./scripts/development-kit/start.sh

Author's Checklist

For anything in this list which will not be completed, please provide a reason in the MR discussion.

Required

  • Ensure a release milestone is set.
  • MR title and description are up to date, accurate, and descriptive.
  • MR targeting the appropriate branch.
  • MR has a green pipeline on GitLab.com.
  • When ready for review, MR is labeled workflowready for review per the MR workflow.

Expected

  • Test plan indicating conditions for success has been posted and passes.
  • Documentation is created or updated.
  • Tests are added.

Related issues

Merge request reports

Loading