Commit c7845037dcce256d7d75ed1e5f2e7319bd9f39d4
1 parent
bdcaf343
Exists in
master
and in
13 other branches
Update release documentation.
Showing
1 changed file
with
18 additions
and
12 deletions
Show diff stats
doc/release.md
... | ... | @@ -31,17 +31,6 @@ git push origin 6-6-stable 6.6.0.omnibus |
31 | 31 | |
32 | 32 | ### One-time |
33 | 33 | |
34 | -- Set up the `attach.sh` script | |
35 | - | |
36 | -```shell | |
37 | -sudo su - omnibus-build | |
38 | -cat > attach.sh <<EOF | |
39 | -#!/bin/sh | |
40 | -script -c 'screen -x || screen' /dev/null | |
41 | -EOF | |
42 | -chmod +x attach.sh | |
43 | -``` | |
44 | - | |
45 | 34 | - Install release dependencies |
46 | 35 | |
47 | 36 | ```shell |
... | ... | @@ -56,6 +45,11 @@ sudo pip install awscli |
56 | 45 | aws configure # enter AWS key and secret |
57 | 46 | ``` |
58 | 47 | |
48 | +# Make sure sendmail is installed; for Debian 7 | |
49 | +```shell | |
50 | +sudo apt-get install sendmail-bin | |
51 | +``` | |
52 | + | |
59 | 53 | - Set up a deploy key to fetch the GitLab EE source code. |
60 | 54 | - Put your email address in `~omnibus-build/.forward`. |
61 | 55 | - Test email delivery: |
... | ... | @@ -64,6 +58,18 @@ aws configure # enter AWS key and secret |
64 | 58 | echo "Subject: testing from $(uname -n)" | sendmail $(whoami) |
65 | 59 | ``` |
66 | 60 | |
61 | +- Set up the `attach.sh` script | |
62 | + | |
63 | +```shell | |
64 | +# For Debian 7 install screen first; sudo apt-get install screen | |
65 | +sudo su - omnibus-build | |
66 | +cat > attach.sh <<EOF | |
67 | +#!/bin/sh | |
68 | +script -c 'screen -x || screen' /dev/null | |
69 | +EOF | |
70 | +chmod +x attach.sh | |
71 | +``` | |
72 | + | |
67 | 73 | ### Each build |
68 | 74 | |
69 | 75 | - Log in as the build user and start a screen session |
... | ... | @@ -104,4 +110,4 @@ This will `clean --purge` the build environment, build a package and upload it t |
104 | 110 | See a previous [CE example](https://gitlab.com/gitlab-com/www-gitlab-com/merge_requests/141) |
105 | 111 | and [EE example](https://dev.gitlab.org/gitlab/gitlab-ee/commit/7301417820404f92ca7c0a9940408ef414ef3c01). |
106 | 112 | |
107 | -[the gitlab-rails version in omnibus-gitlab]: ../master/config/software/gitlab-rails.rb#L20 | |
108 | 113 | \ No newline at end of file |
114 | +[the gitlab-rails version in omnibus-gitlab]: ../master/config/software/gitlab-rails.rb#L20 | ... | ... |