Commit 4d6d83e2 authored by Kyle Wiebers's avatar Kyle Wiebers

Temporarily disable db:migrate-from-v12.10 job

Relates to https://gitlab.com/gitlab-org/gitlab/-/issues/325838#note_537126367
parent 726c581a
...@@ -359,32 +359,34 @@ db:check-migrations: ...@@ -359,32 +359,34 @@ db:check-migrations:
- scripts/validate_migration_schema - scripts/validate_migration_schema
allow_failure: true allow_failure: true
db:migrate-from-v12.10.0: # Temporarily disabled due to failures in https://gitlab.com/gitlab-org/gitlab/-/issues/325838
extends: .db-job-base
variables: # db:migrate-from-v12.10.0:
SETUP_DB: "false" # extends: .db-job-base
script: # variables:
- export PROJECT_TO_CHECKOUT="gitlab" # SETUP_DB: "false"
- export TAG_TO_CHECKOUT="v12.10.0-ee" # script:
- '[[ -d "ee/" ]] || export PROJECT_TO_CHECKOUT="gitlab-foss"' # - export PROJECT_TO_CHECKOUT="gitlab"
- '[[ -d "ee/" ]] || export TAG_TO_CHECKOUT="v12.10.0"' # - export TAG_TO_CHECKOUT="v12.10.0-ee"
- retry 'git fetch https://gitlab.com/gitlab-org/$PROJECT_TO_CHECKOUT.git $TAG_TO_CHECKOUT' # - '[[ -d "ee/" ]] || export PROJECT_TO_CHECKOUT="gitlab-foss"'
- git checkout -f FETCH_HEAD # - '[[ -d "ee/" ]] || export TAG_TO_CHECKOUT="v12.10.0"'
- sed -i -e "s/gem 'grpc', '~> 1.24.0'/gem 'grpc', '~> 1.30.2'/" Gemfile # Update gRPC for Ruby 2.7 # - retry 'git fetch https://gitlab.com/gitlab-org/$PROJECT_TO_CHECKOUT.git $TAG_TO_CHECKOUT'
- sed -i -e "s/gem 'google-protobuf', '~> 3.8.0'/gem 'google-protobuf', '~> 3.12.0'/" Gemfile # - git checkout -f FETCH_HEAD
- gem install bundler:1.17.3 # - sed -i -e "s/gem 'grpc', '~> 1.24.0'/gem 'grpc', '~> 1.30.2'/" Gemfile # Update gRPC for Ruby 2.7
- bundle update google-protobuf grpc bootsnap # - sed -i -e "s/gem 'google-protobuf', '~> 3.8.0'/gem 'google-protobuf', '~> 3.12.0'/" Gemfile
- bundle install $BUNDLE_INSTALL_FLAGS # - gem install bundler:1.17.3
- date # - bundle update google-protobuf grpc bootsnap
- cp config/gitlab.yml.example config/gitlab.yml # - bundle install $BUNDLE_INSTALL_FLAGS
- bundle exec rake db:drop db:create db:structure:load db:seed_fu # - date
- date # - cp config/gitlab.yml.example config/gitlab.yml
- git checkout -f $CI_COMMIT_SHA # - bundle exec rake db:drop db:create db:structure:load db:seed_fu
- bundle install $BUNDLE_INSTALL_FLAGS # - date
- date # - git checkout -f $CI_COMMIT_SHA
- . scripts/prepare_build.sh # - bundle install $BUNDLE_INSTALL_FLAGS
- date # - date
- bundle exec rake db:migrate # - . scripts/prepare_build.sh
# - date
# - bundle exec rake db:migrate
db:rollback: db:rollback:
extends: .db-job-base extends: .db-job-base
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment