From f0b3092d2f7e0a177445727e6c6bd461c19b6ba7 Mon Sep 17 00:00:00 2001 From: Marin Jankovski Date: Mon, 19 May 2014 11:52:02 +0200 Subject: [PATCH 1/6] Recommend issue name. --- doc/release/monthly.md | 2 ++ 1 file changed, 2 insertions(+) diff --git a/doc/release/monthly.md b/doc/release/monthly.md index 514d73517b..7c21c5f19a 100644 --- a/doc/release/monthly.md +++ b/doc/release/monthly.md @@ -15,6 +15,8 @@ The RC1 release comes with the task to update the installation and upgrade docs. ### **1. Create an issue for RC1 release** +Consider naming the issue "Release x.x.x.rc1" to make it easier for later searches. + ### **2. Update the installation guide** 1. Check if it references the correct branch `x-x-stable` (doesn't exist yet, but that is okay) From 971dc47907ac54c49a5792697fc02ba350247f86 Mon Sep 17 00:00:00 2001 From: Marin Jankovski Date: Mon, 19 May 2014 12:43:16 +0200 Subject: [PATCH 2/6] Fix typo. --- doc/release/monthly.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/doc/release/monthly.md b/doc/release/monthly.md index 7c21c5f19a..6c788e850e 100644 --- a/doc/release/monthly.md +++ b/doc/release/monthly.md @@ -84,7 +84,7 @@ Make sure the code quality indicators are green / good. ### **5. Set VERSION** -Set VERSION tot x.x.0.rc1 +Change version in VERSION to x.x.0.rc1 ### **6. Tag** From 0957f341b173c95c48906d7545531042cfd39641 Mon Sep 17 00:00:00 2001 From: Marin Jankovski Date: Thu, 22 May 2014 15:18:28 +0200 Subject: [PATCH 3/6] Updates for the monthly release document. --- doc/release/monthly.md | 69 +++++++++++++++++++++++++++++++----------- 1 file changed, 51 insertions(+), 18 deletions(-) diff --git a/doc/release/monthly.md b/doc/release/monthly.md index 6c788e850e..66b3bfcfd6 100644 --- a/doc/release/monthly.md +++ b/doc/release/monthly.md @@ -100,12 +100,34 @@ Tweet about the RC release: > GitLab x.x.x.rc1 is out. This is a release candidate intended for testing only. Please let us know if you find regressions. -### **8. Update Cloud** +### **8. Update gitlab.com** -Merge the RC1 code into Cloud. Once the build is green, deploy in the morning. +Merge the RC1 code into gitlab.com. Once the build is green, deploy in the morning. It is important to do this as soon as possible, so we can catch any errors before we release the full version. +# **21st - Preparation ** + +### **1. Prepare the blog post** + +* Check the changelog of CE and EE for important changes. Based on [release blog template](https://gitlab.com/gitlab-com/www-gitlab-com/blob/master/doc/release_blog_template.md) fill in the important information. +* Create a WIP MR for the blog post and cc the team so everyone can give feedback. +* Ask Dmitriy to add screenshots to the WIP MR. +* Decide with team who will be the MVP user. +* Add a note if there are security fixes: This release fixes an important security issue and we advise everyone to upgrade as soon as possible. + +### **2. Q&A** + +Create issue on dev.gitlab.org gitlab repository, named "GitLab X.X release" in order to keep track of the progress. + +Use the omnibus packages or cookbook to test using [this guide](https://dev.gitlab.org/gitlab/gitlab-ee/blob/master/doc/release/manual_testing.md). + +**NOTE** Upgrader can only be tested when tags are pushed to all repositories. Do not forget to confirm it is working before releasing. Note that in the issue. + + +### **3. Fix anything coming out of the QA** + +Create an issue with description of a problem, if it is quick fix fix yourself otherwise contact the team for advice. # **22nd - Release CE and EE** @@ -127,27 +149,31 @@ git push x-x-stable ### **2. Build the Omnibus packages** [Follow this guide](https://gitlab.com/gitlab-org/omnibus-gitlab/blob/master/doc/release.md) -### **3. QA** -Use the omnibus packages to test using [this guide](https://dev.gitlab.org/gitlab/gitlab-ee/blob/master/doc/release/manual_testing.md) +### **3. Set VERSION to x.x.x and push** +Change the VERSION file in `master` branch of the CE repository and commit. +Cherry-pick into the `x-x-stable` branch of CE. -### **4. Fix anything coming out of the QA** +Change the VERSION file in `master branch of the EE repository and commit. +Cherry-pick into the `x-x-stable-ee` branch of EE. -### **5. Set VERSION to x.x.0** +### **4. Create annotated tag vx.x.x** + +In `x-x-stable` branch check for the sha1 of the commit with VERSION file changed. Tag that commit, -### **6. Create annotated tag vx.x.0** ``` -git tag -a vx.x.0 -m 'Version x.x.0' +git tag -a vx.x.0 -m 'Version x.x.0' xxxxx ``` -### **7. Push VERSION + Tag to master, merge into x-x-stable** +where `xxxxx` is sha1. + +### **5. Push the tag** + ``` -git push origin master +git push origin vx.x.0 ``` -Next, merge the VERSION into the x-x-stable branch. - -### **8. Push to remotes** +### **6. Push to remotes** For GitLab CE, push to dev, GitLab.com and GitHub. @@ -155,15 +181,22 @@ For GitLab EE, push to the subscribers repo. NOTE: You might not have the rights to push to master on dev. Ask Dmitriy. -### **9. Publish blog for new release** -* Mention what GitLab is on the second line: GitLab is open source software to collaborate on code. -* Select and thank the the Most Valuable Person (MVP) of this release. -* Add a note if there are security fixes: This release fixes an important security issue and we advise everyone to upgrade as soon as possible. +### **7. Publish blog for new release** -### **10. Tweet to blog** +Merge the [blog merge request](#1-prepare-the-blog-post) in `www-gitlab-com` repository. + +### **8. Tweet to blog** Send out a tweet to share the good news with the world. List the features in short and link to the blog post. +Proposed tweet for CE "GitLab X.X.X CE is released! It brings *** " + +Proposed tweet for EE "GitLab X.X.X EE is released! It brings *** " + # **23rd - Optional Patch Release** +# **24th - Update GitLab.com** + +Merge the stable release into gitlab.com. Once the build is green deploy the next morning. + # **25th - Release GitLab CI** From b6a88c78500d66aa2965259e7db2574b1818602c Mon Sep 17 00:00:00 2001 From: Marin Jankovski Date: Thu, 22 May 2014 15:41:33 +0200 Subject: [PATCH 4/6] Update casing of gitlab.com. --- doc/release/monthly.md | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/doc/release/monthly.md b/doc/release/monthly.md index 66b3bfcfd6..f0c1b8b3e8 100644 --- a/doc/release/monthly.md +++ b/doc/release/monthly.md @@ -100,9 +100,9 @@ Tweet about the RC release: > GitLab x.x.x.rc1 is out. This is a release candidate intended for testing only. Please let us know if you find regressions. -### **8. Update gitlab.com** +### **8. Update GitLab.com** -Merge the RC1 code into gitlab.com. Once the build is green, deploy in the morning. +Merge the RC1 code into GitLab.com. Once the build is green, deploy in the morning. It is important to do this as soon as possible, so we can catch any errors before we release the full version. @@ -197,6 +197,6 @@ Proposed tweet for EE "GitLab X.X.X EE is released! It brings *** Date: Mon, 19 May 2014 11:50:18 +0200 Subject: [PATCH 5/6] add newsletter to release doc Conflicts: doc/release/monthly.md --- doc/release/monthly.md | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/doc/release/monthly.md b/doc/release/monthly.md index f0c1b8b3e8..40cf47af64 100644 --- a/doc/release/monthly.md +++ b/doc/release/monthly.md @@ -193,6 +193,12 @@ Proposed tweet for CE "GitLab X.X.X CE is released! It brings *** " +### **9. Send out newsletter** + +In mailchimp replicate the former release newsletters to customers / newsletter subscribers (these are two separate things) and modify them accordingly. + +Include a link to the blog post and keep it short. + # **23rd - Optional Patch Release** # **24th - Update GitLab.com** From ab126c806884f26a42d515b573ce202c49dfafcb Mon Sep 17 00:00:00 2001 From: Marin Jankovski Date: Thu, 22 May 2014 17:20:50 +0200 Subject: [PATCH 6/6] Add proposed email for mailchimp. --- doc/release/monthly.md | 2 ++ 1 file changed, 2 insertions(+) diff --git a/doc/release/monthly.md b/doc/release/monthly.md index 40cf47af64..ed580f666a 100644 --- a/doc/release/monthly.md +++ b/doc/release/monthly.md @@ -199,6 +199,8 @@ In mailchimp replicate the former release newsletters to customers / newsletter Include a link to the blog post and keep it short. +Proposed email for CE: "We have released a new version of GitLab Community Edition and its packages. See our blog post() for more information." + # **23rd - Optional Patch Release** # **24th - Update GitLab.com**