diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index e486bb83cf9..90dee4499a1 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -242,7 +242,7 @@ variables: RETRY_FAILED_TESTS_IN_NEW_PROCESS: "true" # Run with decomposed databases by default DECOMPOSED_DB: "true" - SEC_DECOMPOSED_DB: "false" + SEC_DECOMPOSED_DB: "true" DOCS_REVIEW_APPS_DOMAIN: "docs.gitlab-review.app" DOCS_GITLAB_REPO_SUFFIX: "ee" diff --git a/.gitlab/ci/rules.gitlab-ci.yml b/.gitlab/ci/rules.gitlab-ci.yml index 8f1ca0400d0..18b1cb69d99 100644 --- a/.gitlab/ci/rules.gitlab-ci.yml +++ b/.gitlab/ci/rules.gitlab-ci.yml @@ -115,8 +115,8 @@ .if-merge-request-labels-run-single-db: &if-merge-request-labels-run-single-db if: '($CI_PIPELINE_SOURCE == "merge_request_event" && $CI_MERGE_REQUEST_EVENT_TYPE != "merge_train") && $CI_MERGE_REQUEST_LABELS =~ /pipeline:run-single-db/' -.if-merge-request-labels-sec-decomposition: &if-merge-request-labels-sec-decomposition - if: '($CI_PIPELINE_SOURCE == "merge_request_event" && $CI_MERGE_REQUEST_EVENT_TYPE != "merge_train") && $CI_MERGE_REQUEST_LABELS =~ /sec-decomposition/' +.if-merge-request-labels-pipeline-single-db-sec-connection: &if-merge-request-labels-pipeline-single-db-sec-connection + if: '($CI_PIPELINE_SOURCE == "merge_request_event" && $CI_MERGE_REQUEST_EVENT_TYPE != "merge_train") && $CI_MERGE_REQUEST_LABELS =~ /pipeline:single-db-sec-connection/' .if-merge-request-labels-run-review-app: &if-merge-request-labels-run-review-app if: '($CI_PIPELINE_SOURCE == "merge_request_event" && $CI_MERGE_REQUEST_EVENT_TYPE != "merge_train") && $CI_MERGE_REQUEST_LABELS =~ /pipeline:run-review-app/' @@ -2009,7 +2009,7 @@ rules: - <<: *if-default-branch-schedule-nightly - <<: *if-merge-request-labels-run-single-db - - <<: *if-merge-request-labels-sec-decomposition + - <<: *if-merge-request-labels-pipeline-single-db-sec-connection - <<: *if-merge-request-labels-pipeline-expedite when: never - if: '$ENABLE_RSPEC_SINGLE_DB_SEC_CONNECTION == "true"' @@ -2025,7 +2025,7 @@ .rails:rules:db:check-migrations-single-db-sec-connection: rules: - <<: *if-merge-request-labels-run-single-db - - <<: *if-merge-request-labels-sec-decomposition + - <<: *if-merge-request-labels-pipeline-single-db-sec-connection - <<: *if-merge-request-labels-pipeline-expedite when: never diff --git a/GITLAB_KAS_VERSION b/GITLAB_KAS_VERSION index 572cc4cb76b..4b83a03173d 100644 --- a/GITLAB_KAS_VERSION +++ b/GITLAB_KAS_VERSION @@ -1 +1 @@ -bf5c4776481bc6ff03782dca926a29c878f5880e +93b9e36e23c2a4e51dc2012932830b72c8f838aa diff --git a/app/assets/javascripts/import/bitbucket_server/import_from_bitbucket_server_app.vue b/app/assets/javascripts/import/bitbucket_server/import_from_bitbucket_server_app.vue new file mode 100644 index 00000000000..ae37256e619 --- /dev/null +++ b/app/assets/javascripts/import/bitbucket_server/import_from_bitbucket_server_app.vue @@ -0,0 +1,147 @@ + + + diff --git a/app/assets/javascripts/import/bitbucket_server/index.js b/app/assets/javascripts/import/bitbucket_server/index.js new file mode 100644 index 00000000000..e13a2dfa420 --- /dev/null +++ b/app/assets/javascripts/import/bitbucket_server/index.js @@ -0,0 +1,22 @@ +import Vue from 'vue'; +import importFromBitbucketServerApp from './import_from_bitbucket_server_app.vue'; + +export function initBitbucketServerImportProjectForm() { + const el = document.getElementById('js-vue-import-bitbucket-server-project-root'); + + if (!el) { + return null; + } + + const { backButtonPath, formPath } = el.dataset; + + const props = { backButtonPath, formPath }; + + return new Vue({ + el, + name: 'ImportFromBitbucketServerRoot', + render(h) { + return h(importFromBitbucketServerApp, { props }); + }, + }); +} diff --git a/app/assets/javascripts/import/gitlab_project/import_from_gitlab_export_app.vue b/app/assets/javascripts/import/gitlab_project/import_from_gitlab_export_app.vue index 4c261a59377..4eddd30880b 100644 --- a/app/assets/javascripts/import/gitlab_project/import_from_gitlab_export_app.vue +++ b/app/assets/javascripts/import/gitlab_project/import_from_gitlab_export_app.vue @@ -1,6 +1,7 @@