Welcome to mirror list, hosted at ThFree Co, Russian Federation.

gitlab.com/gitlab-org/gitaly.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndrew Newdigate <andrew@gitlab.com>2017-06-02 15:49:22 +0300
committerAndrew Newdigate <andrew@gitlab.com>2017-06-02 15:49:22 +0300
commit83b8d9226a05fddc547c0fe31ece5e9fc8abc596 (patch)
tree9260fb8ab137e41fdce861c912fd982750a65355
parentfd4bda7536090bed3e00eb71b9a45bc7434963cb (diff)
parent98c16324eef242991a359e7d1dbf0cd5401e3e20 (diff)
Merge branch 'simplify-check-command' into 'master'
Simplify environment check command See merge request !157
-rw-r--r--doc/MIGRATION_PROCESS.md2
1 files changed, 1 insertions, 1 deletions
diff --git a/doc/MIGRATION_PROCESS.md b/doc/MIGRATION_PROCESS.md
index bd52ad96d..02caa09fe 100644
--- a/doc/MIGRATION_PROCESS.md
+++ b/doc/MIGRATION_PROCESS.md
@@ -92,7 +92,7 @@ The following procedure should be used for testing:
- Merge the chef-repo MRs
- Make sure new role file is on chef server `bundle exec knife role from file [role-path]`
- Run chef client and restart unicorn: `bundle exec knife ssh -C 1 roles:[role-name] 'sudo chef-client; sleep 60; sudo gitlab-ctl term unicorn; echo done $?'`
- - Verify the process have the env values set: `bundle exec knife ssh roles:[role-name] 'for p in $(pgrep -f "unicorn master"); do ps -o pid,etime,args -p $p; sudo cat /proc/$p/environ | xargs --null --max-args=1 | grep GITALY; done'`
+ - Verify the process have the env values set: `bundle exec knife ssh roles:[role-name] 'for p in $(pgrep -f "unicorn master"); do ps -o pid,etime,args -p $p; sudo strings -f /proc/$p/environ | grep GITALY; done'`
1. Restart client process (unicorn, workhorse, etc) if necessary to enable the feature.
1. Monitor dashboards and host systems to ensure that feature is working.
1. Get the production engineer to roll the feature back.