Skip to content

Fixes blog post independent rake task

Mayra Cabrera requested to merge fixes-blog-post-independent-rake-task into master

What does this MR do and why?

Fixes error when generating the blog post for a patch release. In case the blog post needs to be created independently, allow it to be printed so it the steps on https://gitlab.com/gitlab-org/release/docs/blob/master/general/patch/blog-post.md can be followed.

Before

Click to expand
13:37:25 ❯ rake release:patch_blog_post\['15.11.4']
2023-05-11 13:37:37.382421 D ReleaseTools::GitlabClient -- [HTTParty] [2023-05-11 13:37:37 -0600] 200 "GET https://gitlab.com/api/v4/projects/gitlab-org%2Fbuild%2FCNG/repository/compare" -
2023-05-11 13:37:37.382671 I ReleaseTools::PatchRelease::UnreleasedCommits -- Fetching unreleased commits -- {:project=>gitlab-org/build/CNG, :tag=>"v15.11.3", :branch=>"15-11-stable", :commits=>1}
2023-05-11 13:37:37.687456 D ReleaseTools::GitlabClient -- [HTTParty] [2023-05-11 13:37:37 -0600] 200 "GET https://gitlab.com/api/v4/projects/gitlab-org%2Fbuild%2FCNG/repository/commits/9b99d106f15f5656372c88ceda24d9cce5827759/merge_requests" 2
2023-05-11 13:37:37.687556 I ReleaseTools::PatchRelease::UnreleasedMergeRequests -- Fetched unreleased merge requests -- {:project=>gitlab-org/build/CNG, :version=>"15.11.3", :count=>0}
2023-05-11 13:37:37.996989 D ReleaseTools::GitlabClient -- [HTTParty] [2023-05-11 13:37:37 -0600] 200 "GET https://gitlab.com/api/v4/projects/gitlab-org%2Fgitaly/repository/compare" -
2023-05-11 13:37:37.997117 I ReleaseTools::PatchRelease::UnreleasedCommits -- Fetching unreleased commits -- {:project=>gitlab-org/gitaly, :tag=>"v15.11.3", :branch=>"15-11-stable", :commits=>1}
2023-05-11 13:37:38.438472 D ReleaseTools::GitlabClient -- [HTTParty] [2023-05-11 13:37:38 -0600] 200 "GET https://gitlab.com/api/v4/projects/gitlab-org%2Fgitaly/repository/commits/c59f1937d58af4a6e1e12067015acf904110fac2/merge_requests" 2
2023-05-11 13:37:38.438559 I ReleaseTools::PatchRelease::UnreleasedMergeRequests -- Fetched unreleased merge requests -- {:project=>gitlab-org/gitaly, :version=>"15.11.3", :count=>0}
2023-05-11 13:37:38.774298 D ReleaseTools::GitlabClient -- [HTTParty] [2023-05-11 13:37:38 -0600] 200 "GET https://gitlab.com/api/v4/projects/gitlab-org%2Fgitlab/repository/compare" -
2023-05-11 13:37:38.774997 I ReleaseTools::PatchRelease::UnreleasedCommits -- Fetching unreleased commits -- {:project=>gitlab-org/gitlab, :tag=>"v15.11.3-ee", :branch=>"15-11-stable-ee", :commits=>3}
2023-05-11 13:37:39.101214 D ReleaseTools::GitlabClient -- [HTTParty] [2023-05-11 13:37:39 -0600] 200 "GET https://gitlab.com/api/v4/projects/gitlab-org%2Fgitlab/repository/commits/f6a7dcf4919b298d2d7e809ca1dbc72d0c060fd4/merge_requests" 2
2023-05-11 13:37:39.658306 D ReleaseTools::GitlabClient -- [HTTParty] [2023-05-11 13:37:39 -0600] 200 "GET https://gitlab.com/api/v4/projects/gitlab-org%2Fgitlab/repository/commits/f9f1e167e116e8d64f1b6f9908e3d06b0972ec70/merge_requests" -
2023-05-11 13:37:40.187098 D ReleaseTools::GitlabClient -- [HTTParty] [2023-05-11 13:37:40 -0600] 200 "GET https://gitlab.com/api/v4/projects/gitlab-org%2Fgitlab/repository/commits/fe89837a9e098111dcff9f5c53e05f41c13af25a/merge_requests" -
2023-05-11 13:37:40.187479 I ReleaseTools::PatchRelease::UnreleasedMergeRequests -- Fetched unreleased merge requests -- {:project=>gitlab-org/gitlab, :version=>"15.11.3", :count=>2}
2023-05-11 13:37:40.482822 D ReleaseTools::GitlabClient -- [HTTParty] [2023-05-11 13:37:40 -0600] 200 "GET https://gitlab.com/api/v4/projects/gitlab-org%2Fgitlab-pages/repository/compare" -
2023-05-11 13:37:40.483084 I ReleaseTools::PatchRelease::UnreleasedCommits -- Fetching unreleased commits -- {:project=>gitlab-org/gitlab-pages, :tag=>"v15.11.3", :branch=>"15-11-stable", :commits=>1}
2023-05-11 13:37:40.810486 D ReleaseTools::GitlabClient -- [HTTParty] [2023-05-11 13:37:40 -0600] 200 "GET https://gitlab.com/api/v4/projects/gitlab-org%2Fgitlab-pages/repository/commits/9ed16e2ee3b7e9dbfde3a55867543bb8f47ec0d8/merge_requests" 2
2023-05-11 13:37:40.810602 I ReleaseTools::PatchRelease::UnreleasedMergeRequests -- Fetched unreleased merge requests -- {:project=>gitlab-org/gitlab-pages, :version=>"15.11.3", :count=>0}
2023-05-11 13:37:41.095186 D ReleaseTools::GitlabClient -- [HTTParty] [2023-05-11 13:37:41 -0600] 200 "GET https://gitlab.com/api/v4/projects/gitlab-org%2Fomnibus-gitlab/repository/compare" -
2023-05-11 13:37:41.095423 I ReleaseTools::PatchRelease::UnreleasedCommits -- Fetching unreleased commits -- {:project=>gitlab-org/omnibus-gitlab, :tag=>"15.11.3+ee.0", :branch=>"15-11-stable", :commits=>1}
2023-05-11 13:37:41.412500 D ReleaseTools::GitlabClient -- [HTTParty] [2023-05-11 13:37:41 -0600] 200 "GET https://gitlab.com/api/v4/projects/gitlab-org%2Fomnibus-gitlab/repository/commits/09619d2853b46146391f0c03b8a2cfb8051e0afe/merge_requests" 2
2023-05-11 13:37:41.412574 I ReleaseTools::PatchRelease::UnreleasedMergeRequests -- Fetched unreleased merge requests -- {:project=>gitlab-org/omnibus-gitlab, :version=>"15.11.3", :count=>0}
2023-05-11 13:37:41.413341 I ReleaseTools -- Creating new release post -- {:filename=>"---\ntitle: \"GitLab Patch Release: 15.11.4\"\ncategories: releases\nauthor: ADD_YOUR_FULL_NAME\nauthor_gitlab: mayra-cabrera\nauthor_twitter: gitlab\ndescription: \"GitLab releases 15.11.4\"\ntags: patch releases, releases\n---\n\n<!-- For detailed instructions on how to complete this, please see https://gitlab.com/gitlab-org/release/docs/-/blob/master/general/patch/blog-post.md -->\n\nToday we are releasing versions 15.11.4 for GitLab Community Edition and Enterprise Edition.\n\nThese versions resolve a number of regressions and bugs.\n\n## GitLab Community Edition and Enterprise Edition\n\n### 15.11.4\n\n* [Do not autofocus the description field](https://gitlab.com/gitlab-org/gitlab/-/merge_requests/120306)\n* [Adapt MR widget to support fail-closed approval rules](https://gitlab.com/gitlab-org/gitlab/-/merge_requests/120131)\n\n## Important notes on upgrading\n\nThis version does not include any new migrations, and for multi-node deployments, [should not require any downtime](https://docs.gitlab.com/ee/update/#upgrading-without-downtime).\n\nPlease be aware that by default the Omnibus packages will stop, run migrations,\nand start again, no matter how “big” or “small” the upgrade is. This behavior\ncan be changed by adding a [`/etc/gitlab/skip-auto-reconfigure`](http://docs.gitlab.com/omnibus/update/README.html) file,\nwhich is only used for [updates](https://docs.gitlab.com/omnibus/update/README.html).\n\n## Updating\n\nTo update, check out our [update page](/update/).\n\n## GitLab subscriptions\n\nAccess to GitLab Premium and Ultimate features is granted by a paid [subscription](/pricing/).\n\nAlternatively, [sign up for GitLab.com](https://gitlab.com/users/sign_in)\nto use GitLab's own infrastructure.\n"}

After

Click to expand
13:49:15 ❯ rake release:patch_blog_post\['15.11.4']
Warning: the running version of Bundler (2.1.4) is older than the version that created the lockfile (2.4.4). We suggest you to upgrade to the version that created the lockfile by running `gem install bundler:2.4.4`.
2023-05-11 13:49:24.282888 D ReleaseTools::GitlabClient -- [HTTParty] [2023-05-11 13:49:24 -0600] 200 "GET https://gitlab.com/api/v4/projects/gitlab-org%2Fbuild%2FCNG/repository/compare" -
2023-05-11 13:49:24.283216 I ReleaseTools::PatchRelease::UnreleasedCommits -- Fetching unreleased commits -- {:project=>gitlab-org/build/CNG, :tag=>"v15.11.3", :branch=>"15-11-stable", :commits=>1}
2023-05-11 13:49:24.619847 D ReleaseTools::GitlabClient -- [HTTParty] [2023-05-11 13:49:24 -0600] 200 "GET https://gitlab.com/api/v4/projects/gitlab-org%2Fbuild%2FCNG/repository/commits/9b99d106f15f5656372c88ceda24d9cce5827759/merge_requests" 2
2023-05-11 13:49:24.619959 I ReleaseTools::PatchRelease::UnreleasedMergeRequests -- Fetched unreleased merge requests -- {:project=>gitlab-org/build/CNG, :version=>"15.11.3", :count=>0}
2023-05-11 13:49:24.929490 D ReleaseTools::GitlabClient -- [HTTParty] [2023-05-11 13:49:24 -0600] 200 "GET https://gitlab.com/api/v4/projects/gitlab-org%2Fgitaly/repository/compare" -
2023-05-11 13:49:24.929721 I ReleaseTools::PatchRelease::UnreleasedCommits -- Fetching unreleased commits -- {:project=>gitlab-org/gitaly, :tag=>"v15.11.3", :branch=>"15-11-stable", :commits=>1}
2023-05-11 13:49:25.242685 D ReleaseTools::GitlabClient -- [HTTParty] [2023-05-11 13:49:25 -0600] 200 "GET https://gitlab.com/api/v4/projects/gitlab-org%2Fgitaly/repository/commits/c59f1937d58af4a6e1e12067015acf904110fac2/merge_requests" 2
2023-05-11 13:49:25.242774 I ReleaseTools::PatchRelease::UnreleasedMergeRequests -- Fetched unreleased merge requests -- {:project=>gitlab-org/gitaly, :version=>"15.11.3", :count=>0}
2023-05-11 13:49:25.526096 D ReleaseTools::GitlabClient -- [HTTParty] [2023-05-11 13:49:25 -0600] 200 "GET https://gitlab.com/api/v4/projects/gitlab-org%2Fgitlab/repository/compare" -
2023-05-11 13:49:25.526989 I ReleaseTools::PatchRelease::UnreleasedCommits -- Fetching unreleased commits -- {:project=>gitlab-org/gitlab, :tag=>"v15.11.3-ee", :branch=>"15-11-stable-ee", :commits=>3}
2023-05-11 13:49:25.884317 D ReleaseTools::GitlabClient -- [HTTParty] [2023-05-11 13:49:25 -0600] 200 "GET https://gitlab.com/api/v4/projects/gitlab-org%2Fgitlab/repository/commits/f6a7dcf4919b298d2d7e809ca1dbc72d0c060fd4/merge_requests" 2
2023-05-11 13:49:26.421843 D ReleaseTools::GitlabClient -- [HTTParty] [2023-05-11 13:49:26 -0600] 200 "GET https://gitlab.com/api/v4/projects/gitlab-org%2Fgitlab/repository/commits/f9f1e167e116e8d64f1b6f9908e3d06b0972ec70/merge_requests" -
2023-05-11 13:49:26.993700 D ReleaseTools::GitlabClient -- [HTTParty] [2023-05-11 13:49:26 -0600] 200 "GET https://gitlab.com/api/v4/projects/gitlab-org%2Fgitlab/repository/commits/fe89837a9e098111dcff9f5c53e05f41c13af25a/merge_requests" -
2023-05-11 13:49:26.993926 I ReleaseTools::PatchRelease::UnreleasedMergeRequests -- Fetched unreleased merge requests -- {:project=>gitlab-org/gitlab, :version=>"15.11.3", :count=>2}
2023-05-11 13:49:27.282788 D ReleaseTools::GitlabClient -- [HTTParty] [2023-05-11 13:49:27 -0600] 200 "GET https://gitlab.com/api/v4/projects/gitlab-org%2Fgitlab-pages/repository/compare" -
2023-05-11 13:49:27.282931 I ReleaseTools::PatchRelease::UnreleasedCommits -- Fetching unreleased commits -- {:project=>gitlab-org/gitlab-pages, :tag=>"v15.11.3", :branch=>"15-11-stable", :commits=>1}
2023-05-11 13:49:27.643360 D ReleaseTools::GitlabClient -- [HTTParty] [2023-05-11 13:49:27 -0600] 200 "GET https://gitlab.com/api/v4/projects/gitlab-org%2Fgitlab-pages/repository/commits/9ed16e2ee3b7e9dbfde3a55867543bb8f47ec0d8/merge_requests" 2
2023-05-11 13:49:27.643469 I ReleaseTools::PatchRelease::UnreleasedMergeRequests -- Fetched unreleased merge requests -- {:project=>gitlab-org/gitlab-pages, :version=>"15.11.3", :count=>0}
2023-05-11 13:49:27.932314 D ReleaseTools::GitlabClient -- [HTTParty] [2023-05-11 13:49:27 -0600] 200 "GET https://gitlab.com/api/v4/projects/gitlab-org%2Fomnibus-gitlab/repository/compare" -
2023-05-11 13:49:27.932516 I ReleaseTools::PatchRelease::UnreleasedCommits -- Fetching unreleased commits -- {:project=>gitlab-org/omnibus-gitlab, :tag=>"15.11.3+ee.0", :branch=>"15-11-stable", :commits=>1}
2023-05-11 13:49:28.281641 D ReleaseTools::GitlabClient -- [HTTParty] [2023-05-11 13:49:28 -0600] 200 "GET https://gitlab.com/api/v4/projects/gitlab-org%2Fomnibus-gitlab/repository/commits/09619d2853b46146391f0c03b8a2cfb8051e0afe/merge_requests" 2
2023-05-11 13:49:28.281751 I ReleaseTools::PatchRelease::UnreleasedMergeRequests -- Fetched unreleased merge requests -- {:project=>gitlab-org/omnibus-gitlab, :version=>"15.11.3", :count=>0}
2023-05-11 13:49:28.281809 I ReleaseTools -- Printing blog post for patch release -- {:version=>"15.11.4"}
---
title: "GitLab Patch Release: 15.11.4"
categories: releases
author: ADD_YOUR_FULL_NAME
author_gitlab: mayra-cabrera
author_twitter: gitlab
description: "GitLab releases 15.11.4"
tags: patch releases, releases
---

<!-- For detailed instructions on how to complete this, please see https://gitlab.com/gitlab-org/release/docs/-/blob/master/general/patch/blog-post.md -->

Today we are releasing versions 15.11.4 for GitLab Community Edition and Enterprise Edition.

These versions resolve a number of regressions and bugs.

## GitLab Community Edition and Enterprise Edition

### 15.11.4

* [Do not autofocus the description field](https://gitlab.com/gitlab-org/gitlab/-/merge_requests/120306)
* [Adapt MR widget to support fail-closed approval rules](https://gitlab.com/gitlab-org/gitlab/-/merge_requests/120131)

## Important notes on upgrading

This version does not include any new migrations, and for multi-node deployments, [should not require any downtime](https://docs.gitlab.com/ee/update/#upgrading-without-downtime).

Please be aware that by default the Omnibus packages will stop, run migrations,
and start again, no matter how “big” or “small” the upgrade is. This behavior
can be changed by adding a [`/etc/gitlab/skip-auto-reconfigure`](http://docs.gitlab.com/omnibus/update/README.html) file,
which is only used for [updates](https://docs.gitlab.com/omnibus/update/README.html).

## Updating

To update, check out our [update page](/update/).

## GitLab subscriptions

Access to GitLab Premium and Ultimate features is granted by a paid [subscription](/pricing/).

Alternatively, [sign up for GitLab.com](https://gitlab.com/users/sign_in)
to use GitLab's own infrastructure.

Related to gitlab-com/gl-infra/delivery#2800 (closed)

  • [-] Has documentation been updated?
Edited by Mayra Cabrera

Merge request reports