diff options
Diffstat (limited to '.gitlab/ci/rails.gitlab-ci.yml')
-rw-r--r-- | .gitlab/ci/rails.gitlab-ci.yml | 678 |
1 files changed, 389 insertions, 289 deletions
diff --git a/.gitlab/ci/rails.gitlab-ci.yml b/.gitlab/ci/rails.gitlab-ci.yml index 95780116800..6e055d5b3ec 100644 --- a/.gitlab/ci/rails.gitlab-ci.yml +++ b/.gitlab/ci/rails.gitlab-ci.yml @@ -30,7 +30,6 @@ setup-test-env: - ${TMP_TEST_FOLDER}/gitaly/Makefile - ${TMP_TEST_FOLDER}/gitaly/praefect.config.toml - ${TMP_TEST_FOLDER}/gitaly/praefect-db.config.toml - - ${TMP_TEST_FOLDER}/gitaly/ruby/ - ${TMP_TEST_FOLDER}/gitlab-elasticsearch-indexer/bin/gitlab-elasticsearch-indexer - ${TMP_TEST_FOLDER}/gitlab-shell/ - ${TMP_TEST_FOLDER}/gitlab-test-fork/ @@ -67,145 +66,143 @@ update-gitaly-binaries-cache: - export BUNDLE_WITHOUT="${BUNDLE_WITHOUT}:default:test:puma:kerberos:metrics:omnibus:ed25519" - bundle_install_script -rspec migration pg12: +rspec migration pg13: extends: - - .rspec-base-pg12 + - .rspec-base-pg13 - .rspec-base-migration - .rails:rules:ee-and-foss-migration - .rspec-migration-parallel -rspec migration pg12 predictive: - extends: - - rspec migration pg12 - - .predictive-rspec-tests - - .rails:rules:ee-and-foss-migration:predictive - -rspec background_migration pg12: +rspec background_migration pg13: extends: - - .rspec-base-pg12 + - .rspec-base-pg13 - .rspec-base-migration - .rails:rules:ee-and-foss-background-migration - .rspec-background-migration-parallel -rspec background_migration pg12 predictive: - extends: - - rspec background_migration pg12 - - .predictive-rspec-tests - - .rails:rules:ee-and-foss-background-migration:predictive - -rspec migration pg12 single-db: +rspec migration pg13 single-db: extends: - - rspec migration pg12 + - rspec migration pg13 - .single-db-rspec - .rails:rules:single-db -rspec background_migration pg12 single-db: +rspec background_migration pg13 single-db: extends: - - rspec background_migration pg12 + - rspec background_migration pg13 - .single-db-rspec - .rails:rules:single-db -rspec migration pg12 single-db-ci-connection: +rspec migration pg13 single-db-ci-connection: extends: - - rspec migration pg12 + - rspec migration pg13 - .single-db-ci-connection-rspec - .rails:rules:single-db-ci-connection -rspec background_migration pg12 single-db-ci-connection: +rspec background_migration pg13 single-db-ci-connection: extends: - - rspec background_migration pg12 + - rspec background_migration pg13 - .single-db-ci-connection-rspec - .rails:rules:single-db-ci-connection -rspec migration pg12 praefect: +rspec migration pg13 praefect: extends: - - rspec migration pg12 + - rspec migration pg13 - .praefect-with-db - .rails:rules:praefect-with-db -rspec background_migration pg12 praefect: +rspec background_migration pg13 praefect: extends: - - rspec background_migration pg12 + - rspec background_migration pg13 - .praefect-with-db - .rails:rules:praefect-with-db -rspec unit pg12: +rspec unit pg13: extends: - - .rspec-base-pg12 + - .rspec-base-pg13 - .rails:rules:ee-and-foss-unit - .rspec-unit-parallel -rspec unit pg12 predictive: - extends: - - rspec unit pg12 - - .predictive-rspec-tests - - .rails:rules:ee-and-foss-unit:predictive - -rspec unit pg12 single-db: +rspec unit pg13 single-db: extends: - - rspec unit pg12 + - rspec unit pg13 - .single-db-rspec - .rails:rules:single-db -rspec unit pg12 praefect: +rspec unit pg13 single-db-ci-connection: + extends: + - rspec unit pg13 + - .single-db-ci-connection-rspec + - .rails:rules:single-db-ci-connection + +rspec unit pg13 praefect: extends: - - rspec unit pg12 + - rspec unit pg13 - .praefect-with-db - .rails:rules:praefect-with-db -rspec integration pg12: +rspec integration pg13: extends: - - .rspec-base-pg12 + - .rspec-base-pg13 - .rails:rules:ee-and-foss-integration - .rspec-integration-parallel -rspec integration pg12 predictive: +rspec integration pg13 single-db: extends: - - rspec integration pg12 - - .predictive-rspec-tests - - .rails:rules:ee-and-foss-integration:predictive - -rspec integration pg12 single-db: - extends: - - rspec integration pg12 + - rspec integration pg13 - .single-db-rspec - .rails:rules:single-db -rspec integration pg12 praefect: +rspec integration pg13 single-db-ci-connection: + extends: + - rspec integration pg13 + - .single-db-ci-connection-rspec + - .rails:rules:single-db-ci-connection + +rspec integration pg13 praefect: extends: - - rspec integration pg12 + - rspec integration pg13 - .praefect-with-db - .rails:rules:praefect-with-db -rspec system pg12: +rspec system pg13: extends: - - .rspec-base-pg12 + - .rspec-base-pg13 - .rails:rules:ee-and-foss-system - .rspec-system-parallel variables: DEBUG_GITLAB_TRANSACTION_STACK: "true" -rspec system pg12 predictive: +rspec system pg13 single-db: extends: - - rspec system pg12 - - .predictive-rspec-tests - - .rails:rules:ee-and-foss-system:predictive - -rspec system pg12 single-db: - extends: - - rspec system pg12 + - rspec system pg13 - .single-db-rspec - .rails:rules:single-db -rspec system pg12 praefect: +rspec system pg13 single-db-ci-connection: extends: - - rspec system pg12 + - rspec system pg13 + - .single-db-ci-connection-rspec + - .rails:rules:single-db-ci-connection + +rspec system pg13 praefect: + extends: + - rspec system pg13 - .praefect-with-db - .rails:rules:praefect-with-db -rspec fast_spec_helper: +# Dedicated job to test DB library code against PG12. +# Note that these are already tested against PG12 in the `rspec unit pg12` / `rspec-ee unit pg12` jobs. +rspec db-library-code pg12: extends: - .rspec-base-pg12 + - .rails:rules:ee-and-foss-db-library-code + script: + - !reference [.base-script, script] + - rspec_db_library_code + +rspec fast_spec_helper: + extends: + - .rspec-base-pg13 - .rails:rules:ee-and-foss-fast_spec_helper script: - fast_spec_helper_specs=$(git grep -l -E '^require.*fast_spec_helper') @@ -240,16 +237,16 @@ rspec:deprecations: # We cannot use needs since it would mean needing 84 jobs (since most are parallelized) # so we use `dependencies` here. dependencies: - - rspec migration pg12 - - rspec background_migration pg12 - - rspec unit pg12 - - rspec integration pg12 - - rspec system pg12 - - rspec-ee migration pg12 - - rspec-ee background_migration pg12 - - rspec-ee unit pg12 - - rspec-ee integration pg12 - - rspec-ee system pg12 + - rspec migration pg13 + - rspec background_migration pg13 + - rspec unit pg13 + - rspec integration pg13 + - rspec system pg13 + - rspec-ee migration pg13 + - rspec-ee background_migration pg13 + - rspec-ee unit pg13 + - rspec-ee integration pg13 + - rspec-ee system pg13 variables: SETUP_DB: "false" script: @@ -272,59 +269,19 @@ rspec:coverage: dependencies: - setup-test-env # FOSS/EE jobs - - rspec migration pg12 - - rspec background_migration pg12 - - rspec unit pg12 - - rspec integration pg12 - - rspec system pg12 - # FOSS/EE predictive jobs - - rspec migration pg12 predictive - - rspec background_migration pg12 predictive - - rspec unit pg12 predictive - - rspec integration pg12 predictive - - rspec system pg12 predictive - # FOSS/EE single-db jobs - - rspec migration pg12 single-db - - rspec background_migration pg12 single-db - - rspec unit pg12 single-db - - rspec integration pg12 single-db - - rspec system pg12 single-db + - rspec migration pg13 + - rspec background_migration pg13 + - rspec unit pg13 + - rspec integration pg13 + - rspec system pg13 # EE jobs - - rspec-ee migration pg12 - - rspec-ee background_migration pg12 - - rspec-ee unit pg12 - - rspec-ee integration pg12 - - rspec-ee system pg12 - # EE predictive jobs - - rspec-ee migration pg12 predictive - - rspec-ee background_migration pg12 predictive - - rspec-ee unit pg12 predictive - - rspec-ee integration pg12 predictive - - rspec-ee system pg12 predictive - # EE single-db jobs - - rspec-ee migration pg12 single-db - - rspec-ee background_migration pg12 single-db - - rspec-ee unit pg12 single-db - - rspec-ee integration pg12 single-db - - rspec-ee system pg12 single-db + - rspec-ee migration pg13 + - rspec-ee background_migration pg13 + - rspec-ee unit pg13 + - rspec-ee integration pg13 + - rspec-ee system pg13 # Memory jobs - memory-on-boot - # As-if-FOSS jobs - - rspec migration pg12-as-if-foss - - rspec migration pg12-as-if-foss predictive - - rspec migration pg12-as-if-foss single-db - - rspec background_migration pg12-as-if-foss - - rspec background_migration pg12-as-if-foss predictive - - rspec background_migration pg12-as-if-foss single-db - - rspec unit pg12-as-if-foss - - rspec unit pg12-as-if-foss predictive - - rspec unit pg12-as-if-foss single-db - - rspec integration pg12-as-if-foss - - rspec integration pg12-as-if-foss predictive - - rspec integration pg12-as-if-foss single-db - - rspec system pg12-as-if-foss - - rspec system pg12-as-if-foss predictive - - rspec system pg12-as-if-foss single-db script: - run_timed_command "bundle exec scripts/merge-simplecov" coverage: '/LOC \((\d+\.\d+%)\) covered.$/' @@ -402,276 +359,335 @@ rspec:flaky-tests-report: ################################################## # EE: default refs (MRs, default branch, schedules) jobs # -rspec migration pg12-as-if-foss: +rspec-predictive:pipeline-generate: extends: - - .rspec-base-pg12-as-if-foss + - .rails:rules:rspec-predictive + stage: prepare + needs: ["detect-tests", "retrieve-tests-metadata"] + script: + - scripts/generate_rspec_pipeline.rb -t "${RSPEC_PREDICTIVE_PIPELINE_TEMPLATE_YML}" -k "${KNAPSACK_RSPEC_SUITE_REPORT_PATH}" -f "${RSPEC_MATCHING_TESTS_FOSS_PATH}" -o "${RSPEC_PREDICTIVE_PIPELINE_TEMPLATE_YML}.yml" + - scripts/generate_rspec_pipeline.rb -t "${RSPEC_PREDICTIVE_PIPELINE_TEMPLATE_YML}" -k "${KNAPSACK_RSPEC_SUITE_REPORT_PATH}" -f "${RSPEC_MATCHING_TESTS_EE_PATH}" -o "${RSPEC_PREDICTIVE_PIPELINE_TEMPLATE_YML}-ee.yml" -p "ee/" + - echo "Content of ${RSPEC_PREDICTIVE_PIPELINE_TEMPLATE_YML}.yml:" + - cat "${RSPEC_PREDICTIVE_PIPELINE_TEMPLATE_YML}.yml" + - echo "\n================================================\n" + - echo "Content of ${RSPEC_PREDICTIVE_PIPELINE_TEMPLATE_YML}-ee.yml:" + - cat "${RSPEC_PREDICTIVE_PIPELINE_TEMPLATE_YML}-ee.yml" + artifacts: + expire_in: 1 day + paths: + - "${RSPEC_PREDICTIVE_PIPELINE_TEMPLATE_YML}.yml" + - "${RSPEC_PREDICTIVE_PIPELINE_TEMPLATE_YML}-ee.yml" + +rspec:predictive:trigger: + extends: + - .rails:rules:rspec-predictive + stage: test + needs: + - job: "setup-test-env" + artifacts: false + - job: "retrieve-tests-metadata" + artifacts: false + - job: "compile-test-assets" + artifacts: false + - job: "rspec-predictive:pipeline-generate" + artifacts: true + variables: + PARENT_PIPELINE_ID: $CI_PIPELINE_ID + trigger: + strategy: depend + forward: + yaml_variables: true + pipeline_variables: true + include: + - artifact: "${RSPEC_PREDICTIVE_PIPELINE_TEMPLATE_YML}.yml" + job: rspec-predictive:pipeline-generate + +rspec-ee:predictive:trigger: + extends: rspec:predictive:trigger + trigger: + include: + - artifact: "${RSPEC_PREDICTIVE_PIPELINE_TEMPLATE_YML}-ee.yml" + job: rspec-predictive:pipeline-generate + +rspec migration pg13-as-if-foss: + extends: + - .rspec-base-pg13-as-if-foss - .rspec-base-migration - .rails:rules:as-if-foss-migration - .rspec-migration-parallel -rspec migration pg12-as-if-foss predictive: - extends: - - rspec migration pg12-as-if-foss - - .predictive-rspec-tests - - .rails:rules:as-if-foss-migration:predictive - -rspec background_migration pg12-as-if-foss: +rspec background_migration pg13-as-if-foss: extends: - - .rspec-base-pg12-as-if-foss + - .rspec-base-pg13-as-if-foss - .rspec-base-migration - .rails:rules:as-if-foss-background-migration - .rspec-background-migration-parallel -rspec background_migration pg12-as-if-foss predictive: +rspec migration pg13-as-if-foss single-db: extends: - - rspec background_migration pg12-as-if-foss - - .predictive-rspec-tests - - .rails:rules:as-if-foss-background-migration:predictive - -rspec migration pg12-as-if-foss single-db: - extends: - - rspec migration pg12-as-if-foss + - rspec migration pg13-as-if-foss - .single-db-rspec - .rails:rules:single-db -rspec background_migration pg12-as-if-foss single-db: +rspec background_migration pg13-as-if-foss single-db: extends: - - rspec background_migration pg12-as-if-foss + - rspec background_migration pg13-as-if-foss - .single-db-rspec - .rails:rules:single-db -rspec migration pg12-as-if-foss single-db-ci-connection: +rspec migration pg13-as-if-foss single-db-ci-connection: extends: - - rspec migration pg12-as-if-foss + - rspec migration pg13-as-if-foss - .single-db-ci-connection-rspec - .rails:rules:single-db-ci-connection -rspec background_migration pg12-as-if-foss single-db-ci-connection: +rspec background_migration pg13-as-if-foss single-db-ci-connection: extends: - - rspec background_migration pg12-as-if-foss + - rspec background_migration pg13-as-if-foss - .single-db-ci-connection-rspec - .rails:rules:single-db-ci-connection -rspec unit pg12-as-if-foss: +rspec unit pg13-as-if-foss: extends: - - .rspec-base-pg12-as-if-foss + - .rspec-base-pg13-as-if-foss - .rails:rules:as-if-foss-unit - .rspec-unit-parallel -rspec unit pg12-as-if-foss predictive: - extends: - - rspec unit pg12-as-if-foss - - .predictive-rspec-tests - - .rails:rules:as-if-foss-unit:predictive - -rspec unit pg12-as-if-foss single-db: +rspec unit pg13-as-if-foss single-db: extends: - - rspec unit pg12-as-if-foss + - rspec unit pg13-as-if-foss - .single-db-rspec - .rails:rules:single-db -rspec integration pg12-as-if-foss: +rspec unit pg13-as-if-foss single-db-ci-connection: extends: - - .rspec-base-pg12-as-if-foss - - .rails:rules:as-if-foss-integration - - .rspec-integration-parallel + - rspec unit pg13-as-if-foss + - .single-db-ci-connection-rspec + - .rails:rules:single-db-ci-connection -rspec integration pg12-as-if-foss predictive: +rspec integration pg13-as-if-foss: extends: - - rspec integration pg12-as-if-foss - - .predictive-rspec-tests - - .rails:rules:as-if-foss-integration:predictive + - .rspec-base-pg13-as-if-foss + - .rails:rules:as-if-foss-integration + - .rspec-integration-parallel -rspec integration pg12-as-if-foss single-db: +rspec integration pg13-as-if-foss single-db: extends: - - rspec integration pg12-as-if-foss + - rspec integration pg13-as-if-foss - .single-db-rspec - .rails:rules:single-db -rspec system pg12-as-if-foss: +rspec integration pg13-as-if-foss single-db-ci-connection: extends: - - .rspec-base-pg12-as-if-foss - - .rails:rules:as-if-foss-system - - .rspec-system-parallel + - rspec integration pg13-as-if-foss + - .single-db-ci-connection-rspec + - .rails:rules:single-db-ci-connection -rspec system pg12-as-if-foss predictive: +rspec system pg13-as-if-foss: extends: - - rspec system pg12-as-if-foss - - .predictive-rspec-tests - - .rails:rules:as-if-foss-system:predictive + - .rspec-base-pg13-as-if-foss + - .rails:rules:as-if-foss-system + - .rspec-system-parallel -rspec system pg12-as-if-foss single-db: +rspec system pg13-as-if-foss single-db: extends: - - rspec system pg12-as-if-foss + - rspec system pg13-as-if-foss - .single-db-rspec - .rails:rules:single-db -rspec-ee migration pg12: +rspec system pg13-as-if-foss single-db-ci-connection: extends: - - .rspec-ee-base-pg12 + - rspec system pg13-as-if-foss + - .single-db-ci-connection-rspec + - .rails:rules:single-db-ci-connection + +rspec-ee migration pg13: + extends: + - .rspec-ee-base-pg13 - .rspec-base-migration - .rails:rules:ee-only-migration - .rspec-ee-migration-parallel -rspec-ee migration pg12 predictive: - extends: - - rspec-ee migration pg12 - - .predictive-rspec-tests - - .rails:rules:ee-only-migration:predictive - -rspec-ee background_migration pg12: +rspec-ee background_migration pg13: extends: - - .rspec-ee-base-pg12 + - .rspec-ee-base-pg13 - .rspec-base-migration - .rails:rules:ee-only-background-migration - .rspec-ee-background-migration-parallel -rspec-ee background_migration pg12 predictive: - extends: - - rspec-ee background_migration pg12 - - .predictive-rspec-tests - - .rails:rules:ee-only-background-migration:predictive - -rspec-ee migration pg12 single-db: +rspec-ee migration pg13 single-db: extends: - - rspec-ee migration pg12 + - rspec-ee migration pg13 - .single-db-rspec - .rails:rules:single-db -rspec-ee background_migration pg12 single-db: +rspec-ee background_migration pg13 single-db: extends: - - rspec-ee background_migration pg12 + - rspec-ee background_migration pg13 - .single-db-rspec - .rails:rules:single-db -rspec-ee migration pg12 single-db-ci-connection: +rspec-ee migration pg13 single-db-ci-connection: extends: - - rspec-ee migration pg12 + - rspec-ee migration pg13 - .single-db-ci-connection-rspec - .rails:rules:single-db-ci-connection -rspec-ee background_migration pg12 single-db-ci-connection: +rspec-ee background_migration pg13 single-db-ci-connection: extends: - - rspec-ee background_migration pg12 + - rspec-ee background_migration pg13 - .single-db-ci-connection-rspec - .rails:rules:single-db-ci-connection -rspec-ee migration pg12 praefect: +rspec-ee migration pg13 praefect: extends: - - rspec migration pg12 + - rspec migration pg13 - .praefect-with-db - .rails:rules:praefect-with-db -rspec-ee background_migration pg12 praefect: +rspec-ee background_migration pg13 praefect: extends: - - rspec background_migration pg12 + - rspec background_migration pg13 - .praefect-with-db - .rails:rules:praefect-with-db -rspec-ee unit pg12: +rspec-ee unit pg13: extends: - - .rspec-ee-base-pg12 + - .rspec-ee-base-pg13 - .rails:rules:ee-only-unit - .rspec-ee-unit-parallel -rspec-ee unit pg12 es8: +rspec-ee unit pg13 es8: extends: - - .rspec-ee-base-pg12-es8 + - .rspec-ee-base-pg13-es8 - .rspec-ee-unit-parallel -rspec-ee unit pg12 predictive: +rspec-ee unit pg13 single-db: extends: - - rspec-ee unit pg12 - - .predictive-rspec-tests - - .rails:rules:ee-only-unit:predictive - -rspec-ee unit pg12 single-db: - extends: - - rspec-ee unit pg12 + - rspec-ee unit pg13 - .single-db-rspec - .rails:rules:single-db -rspec-ee integration pg12: +rspec-ee unit pg13 single-db-ci-connection: extends: - - .rspec-ee-base-pg12 - - .rails:rules:ee-only-integration - - .rspec-ee-integration-parallel + - rspec-ee unit pg13 + - .single-db-ci-connection-rspec + - .rails:rules:single-db-ci-connection -rspec-ee integration pg12 es8: +rspec-ee integration pg13: extends: - - .rspec-ee-base-pg12-es8 + - .rspec-ee-base-pg13 + - .rails:rules:ee-only-integration - .rspec-ee-integration-parallel -rspec-ee integration pg12 predictive: +rspec-ee integration pg13 es8: extends: - - rspec-ee integration pg12 - - .predictive-rspec-tests - - .rails:rules:ee-only-integration:predictive + - .rspec-ee-base-pg13-es8 + - .rspec-ee-integration-parallel -rspec-ee integration pg12 single-db: +rspec-ee integration pg13 single-db: extends: - - rspec-ee integration pg12 + - rspec-ee integration pg13 - .single-db-rspec - .rails:rules:single-db -rspec-ee system pg12: +rspec-ee integration pg13 single-db-ci-connection: extends: - - .rspec-ee-base-pg12 - - .rails:rules:ee-only-system - - .rspec-ee-system-parallel + - rspec-ee integration pg13 + - .single-db-ci-connection-rspec + - .rails:rules:single-db-ci-connection -rspec-ee system pg12 es8: +rspec-ee system pg13: extends: - - .rspec-ee-base-pg12-es8 + - .rspec-ee-base-pg13 + - .rails:rules:ee-only-system - .rspec-ee-system-parallel -rspec-ee system pg12 predictive: +rspec-ee system pg13 es8: extends: - - rspec-ee system pg12 - - .predictive-rspec-tests - - .rails:rules:ee-only-system:predictive + - .rspec-ee-base-pg13-es8 + - .rspec-ee-system-parallel -rspec-ee system pg12 single-db: +rspec-ee system pg13 single-db: extends: - - rspec-ee system pg12 + - rspec-ee system pg13 - .single-db-rspec - .rails:rules:single-db + +rspec-ee system pg13 single-db-ci-connection: + extends: + - rspec-ee system pg13 + - .single-db-ci-connection-rspec + - .rails:rules:single-db-ci-connection # EE: default refs (MRs, default branch, schedules) jobs # ################################################## ########################################## # EE/FOSS: default branch nightly scheduled jobs # -# PG13 -rspec migration pg13: +# PG12 +rspec migration pg12: extends: - - .rspec-base-pg13 + - .rspec-base-pg12 + - .rspec-base-migration + - .rails:rules:rspec-on-pg12 + - .rspec-migration-parallel + +rspec background_migration pg12: + extends: + - .rspec-base-pg12 + - .rspec-base-migration + - .rails:rules:rspec-on-pg12 + - .rspec-background-migration-parallel + +rspec unit pg12: + extends: + - .rspec-base-pg12 + - .rails:rules:rspec-on-pg12 + - .rspec-unit-parallel + +rspec integration pg12: + extends: + - .rspec-base-pg12 + - .rails:rules:rspec-on-pg12 + - .rspec-integration-parallel + +rspec system pg12: + extends: + - .rspec-base-pg12 + - .rails:rules:rspec-on-pg12 + - .rspec-system-parallel + +# PG14 +rspec migration pg14: + extends: + - .rspec-base-pg14 - .rspec-base-migration - .rails:rules:default-branch-schedule-nightly--code-backstage - .rspec-migration-parallel -rspec background_migration pg13: +rspec background_migration pg14: extends: - - .rspec-base-pg13 + - .rspec-base-pg14 - .rspec-base-migration - .rails:rules:default-branch-schedule-nightly--code-backstage - .rspec-background-migration-parallel -rspec unit pg13: +rspec unit pg14: extends: - - .rspec-base-pg13 + - .rspec-base-pg14 - .rails:rules:default-branch-schedule-nightly--code-backstage - .rspec-unit-parallel -rspec integration pg13: +rspec integration pg14: extends: - - .rspec-base-pg13 + - .rspec-base-pg14 - .rails:rules:default-branch-schedule-nightly--code-backstage - .rspec-integration-parallel -rspec system pg13: +rspec system pg14: extends: - - .rspec-base-pg13 + - .rspec-base-pg14 - .rails:rules:default-branch-schedule-nightly--code-backstage - .rspec-system-parallel # EE/FOSS: default branch nightly scheduled jobs # @@ -681,68 +697,152 @@ rspec system pg13: # EE: default branch nightly scheduled jobs # # PG12 -rspec-ee unit pg12 opensearch1: +rspec-ee migration pg12: extends: - - .rspec-ee-base-pg12-opensearch1 + - .rspec-ee-base-pg12 + - .rspec-base-migration + - .rails:rules:default-branch-schedule-nightly--code-backstage-ee-only + - .rspec-ee-migration-parallel + +rspec-ee background_migration pg12: + extends: + - .rspec-ee-base-pg12 + - .rspec-base-migration + - .rails:rules:default-branch-schedule-nightly--code-backstage-ee-only + - .rspec-ee-background-migration-parallel + +rspec-ee unit pg12: + extends: + - .rspec-ee-base-pg12 + - .rails:rules:default-branch-schedule-nightly--code-backstage-ee-only - .rspec-ee-unit-parallel -rspec-ee unit pg12 opensearch2: +rspec-ee integration pg12: extends: - - .rspec-ee-base-pg12-opensearch2 + - .rspec-ee-base-pg12 + - .rails:rules:default-branch-schedule-nightly--code-backstage-ee-only + - .rspec-ee-integration-parallel + +rspec-ee system pg12: + extends: + - .rspec-ee-base-pg12 + - .rails:rules:default-branch-schedule-nightly--code-backstage-ee-only + - .rspec-ee-system-parallel + +# PG13 +rspec-ee unit pg13 opensearch1: + extends: + - .rspec-ee-base-pg13-opensearch1 + - .rspec-ee-unit-parallel + +rspec-ee unit pg13 opensearch2: + extends: + - .rspec-ee-base-pg13-opensearch2 - .rspec-ee-unit-parallel -rspec-ee integration pg12 opensearch1: +rspec-ee integration pg13 opensearch1: extends: - - .rspec-ee-base-pg12-opensearch1 + - .rspec-ee-base-pg13-opensearch1 - .rspec-ee-integration-parallel -rspec-ee integration pg12 opensearch2: +rspec-ee integration pg13 opensearch2: extends: - - .rspec-ee-base-pg12-opensearch2 + - .rspec-ee-base-pg13-opensearch2 - .rspec-ee-integration-parallel -rspec-ee system pg12 opensearch1: +rspec-ee system pg13 opensearch1: extends: - - .rspec-ee-base-pg12-opensearch1 + - .rspec-ee-base-pg13-opensearch1 - .rspec-ee-system-parallel -rspec-ee system pg12 opensearch2: +rspec-ee system pg13 opensearch2: extends: - - .rspec-ee-base-pg12-opensearch2 + - .rspec-ee-base-pg13-opensearch2 - .rspec-ee-system-parallel -# PG13 -rspec-ee migration pg13: +# PG14 +rspec-ee unit pg14 opensearch1: extends: - - .rspec-ee-base-pg13 + - .rspec-ee-base-pg14-opensearch1 + - .rspec-ee-unit-parallel + - .rails:rules:default-branch-schedule-nightly--code-backstage-ee-only + +rspec-ee unit pg14 opensearch2: + extends: + - .rspec-ee-base-pg14-opensearch2 + - .rspec-ee-unit-parallel + - .rails:rules:default-branch-schedule-nightly--code-backstage-ee-only + +rspec-ee integration pg14 opensearch1: + extends: + - .rspec-ee-base-pg14-opensearch1 + - .rspec-ee-integration-parallel + - .rails:rules:default-branch-schedule-nightly--code-backstage-ee-only + +rspec-ee integration pg14 opensearch2: + extends: + - .rspec-ee-base-pg14-opensearch2 + - .rspec-ee-integration-parallel + - .rails:rules:default-branch-schedule-nightly--code-backstage-ee-only + +rspec-ee system pg14 opensearch1: + extends: + - .rspec-ee-base-pg14-opensearch1 + - .rspec-ee-system-parallel + - .rails:rules:default-branch-schedule-nightly--code-backstage-ee-only + +rspec-ee system pg14 opensearch2: + extends: + - .rspec-ee-base-pg14-opensearch2 + - .rspec-ee-system-parallel + - .rails:rules:default-branch-schedule-nightly--code-backstage-ee-only + +rspec-ee migration pg14: + extends: + - .rspec-ee-base-pg14 - .rspec-base-migration - .rails:rules:default-branch-schedule-nightly--code-backstage-ee-only - .rspec-ee-migration-parallel -rspec-ee background_migration pg13: +rspec-ee background_migration pg14: extends: - - .rspec-ee-base-pg13 + - .rspec-ee-base-pg14 - .rspec-base-migration - .rails:rules:default-branch-schedule-nightly--code-backstage-ee-only - .rspec-ee-background-migration-parallel -rspec-ee unit pg13: +rspec-ee unit pg14: extends: - - .rspec-ee-base-pg13 + - .rspec-ee-base-pg14 - .rails:rules:default-branch-schedule-nightly--code-backstage-ee-only - .rspec-ee-unit-parallel -rspec-ee integration pg13: +rspec-ee unit pg14 es8: extends: - - .rspec-ee-base-pg13 + - .rspec-ee-base-pg14-es8 + - .rspec-ee-unit-parallel + +rspec-ee integration pg14: + extends: + - .rspec-ee-base-pg14 - .rails:rules:default-branch-schedule-nightly--code-backstage-ee-only - .rspec-ee-integration-parallel -rspec-ee system pg13: +rspec-ee integration pg14 es8: extends: - - .rspec-ee-base-pg13 + - .rspec-ee-base-pg14-es8 + - .rspec-ee-integration-parallel + +rspec-ee system pg14: + extends: + - .rspec-ee-base-pg14 - .rails:rules:default-branch-schedule-nightly--code-backstage-ee-only - .rspec-ee-system-parallel + +rspec-ee system pg14 es8: + extends: + - .rspec-ee-base-pg14-es8 + - .rspec-ee-system-parallel # EE: default branch nightly scheduled jobs # ##################################### @@ -759,15 +859,15 @@ rspec-ee system pg13: rspec fail-fast: extends: - - .rspec-base-pg12 - - .rspec-fail-fast # extends from .rspec-fail-fast last to override script from .rspec-base-pg12 + - .rspec-base-pg13 + - .rspec-fail-fast # extends from .rspec-fail-fast last to override script from .rspec-base-pg13 variables: MATCHING_TESTS_PATH: "${RSPEC_MATCHING_TESTS_FOSS_PATH}" rspec-ee fail-fast: extends: - - .rspec-ee-base-pg12 - - .rspec-fail-fast # extends from .rspec-fail-fast last to override script from .rspec-ee-base-pg12 + - .rspec-ee-base-pg13 + - .rspec-fail-fast # extends from .rspec-fail-fast last to override script from .rspec-ee-base-pg13 variables: MATCHING_TESTS_PATH: "${RSPEC_MATCHING_TESTS_EE_PATH}" @@ -823,7 +923,7 @@ fail-pipeline-early: script: - fail_pipeline_early -.base-rspec-pg12-rerun-previous-failed-tests: +.base-rspec-pg13-rerun-previous-failed-tests: extends: - .rails:rules:rerun-previous-failed-tests stage: test @@ -832,17 +932,17 @@ fail-pipeline-early: - !reference [.base-script, script] - rspec_rerun_previous_failed_tests "${PREVIOUS_FAILED_TESTS_FILE}" -rspec rspec-pg12-rerun-previous-failed-tests: +rspec rspec-pg13-rerun-previous-failed-tests: extends: - - .rspec-base-pg12 - - .base-rspec-pg12-rerun-previous-failed-tests + - .rspec-base-pg13 + - .base-rspec-pg13-rerun-previous-failed-tests variables: PREVIOUS_FAILED_TESTS_FILE: tmp/previous_failed_tests/rspec_failed_tests.txt -rspec rspec-ee-pg12-rerun-previous-failed-tests: +rspec rspec-ee-pg13-rerun-previous-failed-tests: extends: - - .rspec-ee-base-pg12 - - .base-rspec-pg12-rerun-previous-failed-tests + - .rspec-ee-base-pg13 + - .base-rspec-pg13-rerun-previous-failed-tests variables: PREVIOUS_FAILED_TESTS_FILE: tmp/previous_failed_tests/rspec_ee_failed_files.txt # EE: Canonical MR pipelines |