diff options
author | Stan Hu <stanhu@gmail.com> | 2018-03-22 15:44:35 -0700 |
---|---|---|
committer | Stan Hu <stanhu@gmail.com> | 2018-03-22 15:45:46 -0700 |
commit | e06f678cd8687b600f1d6a8f9f397fa1c74136a2 (patch) | |
tree | a3af701c23d1e7cbdc2eb8767869a06251dda715 /.gitlab-ci.yml | |
parent | be0ce05c5d07b0b27be243f0a3d57b662dcab1af (diff) | |
download | gitlab-ce-e06f678cd8687b600f1d6a8f9f397fa1c74136a2.tar.gz |
Rollback to a set version instead of an arbitrary number of stepssh-improve-rollback-test
The previously hard-coded value can fail when new migrations are introduced
since multiple migrations may need to be rolled back atomically.
Closes #40302
Diffstat (limited to '.gitlab-ci.yml')
-rw-r--r-- | .gitlab-ci.yml | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index 724e37141d6..70f41e4dc98 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -544,7 +544,7 @@ migration:path-mysql: .db-rollback: &db-rollback <<: *dedicated-no-docs-pull-cache-job script: - - bundle exec rake db:rollback STEP=119 + - bundle exec rake db:migrate VERSION=20170523121229 - bundle exec rake db:migrate db:rollback-pg: |