diff options
author | Paul Okstad <pokstad@gitlab.com> | 2019-04-18 18:36:17 +0300 |
---|---|---|
committer | Paul Okstad <pokstad@gitlab.com> | 2019-04-18 18:36:17 +0300 |
commit | 20a458d4f357ee79d7e188c90230ec339beba393 (patch) | |
tree | 663779d2555f3590bbdb01b2f1696645f709fa68 | |
parent | 85d2e1df01af6e950affab7116b295b1df8ae8df (diff) |
Live changes during demopo_demo_20180418
-rw-r--r-- | doc/demos/20180417_ha_prafect.md | 19 |
1 files changed, 18 insertions, 1 deletions
diff --git a/doc/demos/20180417_ha_prafect.md b/doc/demos/20180417_ha_prafect.md index 746a91e5f..9152bbf14 100644 --- a/doc/demos/20180417_ha_prafect.md +++ b/doc/demos/20180417_ha_prafect.md @@ -79,4 +79,21 @@ listening on. path: /Users/paulokstad/go/src/gitlab.com/gitlab-org/gitlab-development-kit/gdk-ce/repositories gitaly_address: unix:/Users/paulokstad/go/src/gitlab.com/gitlab-org/gitlab-development-kit/gdk-ce/gitaly.socket ``` - +1. Open Gitaly's config file in `gitaly/config.toml` and note the storage path for the Gitaly name noted in gitlab.yml (i.e. "default"): +```toml +[[storage]] +name = "default" +path = "/Users/paulokstad/go/src/gitlab.com/gitlab-org/gitlab-development-kit/gdk-ce/repositories" +``` +1. Run `gdk rub db` +1. Go to `gitlab` and run `bin/rails console` +1. Run `Project.last` and copy the project URL path (i.e. "terica_hirthe/gitlab-test") +1. Run `Project.last.disk_path` to obtain the last project's path + - "@hashed/4e/c9/4ec9599fc203d176a301536c2e091a19bc852759b255bd6818810a42c5fed14a" + - Copy the hashed path (note: actual path will have .git appended to folder) +1. Go back to praefect.toml and update whitelist with hashed path + .git + ```toml + whitelist = ["@hashed/4e/c9/4ec9599fc203d176a301536c2e091a19bc852759b255bd6818810a42c5fed14a.git"] + ``` +1. Restart praefect + 1. We expect to see praefect start a replication job for the whitelisted project hash |