-
Merge branch… · 7b030bcdYorick Peterse authored
Merge branch '40418-migrate-existing-data-from-kubernetesservice-to-clusters-platforms-kubernetes' into 'master' Migrate existing data from KubernetesService to Clusters::Platforms::Kubernetes Closes #40418 See merge request gitlab-org/gitlab-ce!15589 (cherry picked from commit 4b92efd9) 5b2ca1c6 Migrate existing data from KubernetesService to Clusters::Platforms::Kubernetes e4745492 Add test. Disable KubernetesService when migrated b9fbfe5a Fix unmanaged_kubernetes_service scope for multiple clusters 40c6af54 Fix migration file typos and reorder Table definition 27111e29 Restructure spec 4dc14576 Fix comments 8e6ffe35 Fix test 7eeada80 Add env_scope tests f083739e Add logic to swtich environment_scope by the situation 9b7719b6 Use explicit namespace for avoiding reference from application code 665972e2 Avoid quotes in ActiveRecord query c8059881 Opitmize migration process by using both unmanaged_kubernetes_service and… b8a275d3 Use bulk_insert instead of AR create acfb8464 Fix static anylysy 8bc3221f Fix query to look for proper unmanaged kubernetes service 2d3c7d29 Use batch update for Service deactivation 1c404c91 Add a new test for emptified params 183dbdc8 Revert bulk_insert and bring back AR insert(one by one) 54d20d1b Add changelog 290c2248 Fix change log 58d074e0 Fix StaticSnalysys df658c7b Disable STI of ActiveRecord. Refactoring specs. c425ff75 Fix static analysys 67327952 Add memoization for properties
7b030bcd