Skip to content
Snippets Groups Projects
Commit 8cee872c authored by Ian Baum's avatar Ian Baum
Browse files

Merge branch 'docs-zero-downtime-post-deploy' into 'master'

Fix zero-downtime deploy docs syntax for post migrations

Closes #2704

See merge request gitlab-org/omnibus-gitlab!3605
parents b912678d c4280737
No related merge requests found
......@@ -241,7 +241,7 @@
1. To get the regular migrations in place, run
```sh
SKIP_POST_DEPLOYMENT_MIGRATIONS=true sudo gitlab-ctl reconfigure
sudo SKIP_POST_DEPLOYMENT_MIGRATIONS=true gitlab-ctl reconfigure
```
1. Once the node is updated and reconfigure finished successfully, complete the migrations with
......@@ -293,7 +293,7 @@
- To get the regular database migrations in place, run
```sh
SKIP_POST_DEPLOYMENT_MIGRATIONS=true sudo gitlab-ctl reconfigure
sudo SKIP_POST_DEPLOYMENT_MIGRATIONS=true gitlab-ctl reconfigure
```
**All other nodes (not the Deploy node)**
......@@ -358,9 +358,9 @@
1. To get the database migrations in place, run
```sh
SKIP_POST_DEPLOYMENT_MIGRATIONS=true sudo gitlab-ctl reconfigure
sudo SKIP_POST_DEPLOYMENT_MIGRATIONS=true gitlab-ctl reconfigure
```
1. Run non post-deployment database migrations
```sh
......@@ -362,9 +362,9 @@
```
1. Run non post-deployment database migrations
```sh
SKIP_POST_DEPLOYMENT_MIGRATIONS=true sudo gitlab-rake db:migrate
sudo SKIP_POST_DEPLOYMENT_MIGRATIONS=true gitlab-rake db:migrate
```
1. Run post-deployment database migrations
......@@ -416,7 +416,7 @@
1. To get the database migrations in place, run
```sh
SKIP_POST_DEPLOYMENT_MIGRATIONS=true sudo gitlab-ctl reconfigure
sudo SKIP_POST_DEPLOYMENT_MIGRATIONS=true gitlab-ctl reconfigure
```
1. Run post-deployment database migrations, specific to the Geo database
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment