Skip to content
代码片段 群组 项目
提交 850e5f56 编辑于 作者: Mike Lockhart's avatar Mike Lockhart
浏览文件

Include pending migrations in pre checks guideline

上级 4b2fce02
No related branches found
No related tags found
无相关合并请求
...@@ -98,6 +98,7 @@ that can process jobs in the `background_migration` queue. ...@@ -98,6 +98,7 @@ that can process jobs in the `background_migration` queue.
```shell ```shell
sudo gitlab-rails runner -e production 'puts Gitlab::BackgroundMigration.remaining' sudo gitlab-rails runner -e production 'puts Gitlab::BackgroundMigration.remaining'
sudo gitlab-rails runner -e production 'puts Gitlab::BackgroundMigration.pending'
``` ```
**For installations from source:** **For installations from source:**
...@@ -105,6 +106,7 @@ sudo gitlab-rails runner -e production 'puts Gitlab::BackgroundMigration.remaini ...@@ -105,6 +106,7 @@ sudo gitlab-rails runner -e production 'puts Gitlab::BackgroundMigration.remaini
```shell ```shell
cd /home/git/gitlab cd /home/git/gitlab
sudo -u git -H bundle exec rails runner -e production 'puts Gitlab::BackgroundMigration.remaining' sudo -u git -H bundle exec rails runner -e production 'puts Gitlab::BackgroundMigration.remaining'
sudo -u git -H bundle exec rails runner -e production 'puts Gitlab::BackgroundMigration.pending'
``` ```
### Batched background migrations ### Batched background migrations
......
0% 加载中 .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册