{"id":305871,"date":"2020-06-24T21:00:29","date_gmt":"2020-06-24T21:00:29","guid":{"rendered":"http:\/\/savepearlharbor.com\/?p=305871"},"modified":"-0001-11-30T00:00:00","modified_gmt":"-0001-11-29T21:00:00","slug":"","status":"publish","type":"post","link":"https:\/\/savepearlharbor.com\/?p=305871","title":{"rendered":"Code review \u0432 Gitlab CE: \u0435\u0441\u043b\u0438 Merge request approvals \u043d\u0435\u0442, \u043d\u043e \u043e\u0447\u0435\u043d\u044c \u0445\u043e\u0447\u0435\u0442\u0441\u044f"},"content":{"rendered":"\n<div class=\"post__text post__text-html post__text_v1\" id=\"post-content-body\" data-io-article-url=\"https:\/\/habr.com\/ru\/post\/488296\/\"><img decoding=\"async\" src=\"https:\/\/habrastorage.org\/webt\/qz\/zo\/d1\/qzzod1wphwkbvtq05jfpzo66de4.png\"><\/p>\n<p>  \u041e\u0434\u043d\u043e\u0439 \u0438\u0437 \u0441\u0430\u043c\u044b\u0445 \u043d\u0443\u0436\u043d\u044b\u0445 \u0444\u0443\u043d\u043a\u0446\u0438\u0439, \u043a\u043e\u0442\u043e\u0440\u043e\u0439 \u043d\u0435\u0442 \u0432 \u0431\u0435\u0441\u043f\u043b\u0430\u0442\u043d\u043e\u0439 \u0432\u0435\u0440\u0441\u0438\u0438 GitLab, \u044f\u0432\u043b\u044f\u0435\u0442\u0441\u044f \u0432\u043e\u0437\u043c\u043e\u0436\u043d\u043e\u0441\u0442\u044c <s>\u0433\u043e\u043b\u043e\u0441\u043e\u0432\u0430\u043d\u0438\u044f \u043f\u0440\u043e\u0442\u0438\u0432 \u043e\u0431\u043d\u0443\u043b\u0435\u043d\u0438\u044f \u0440\u0435\u043f\u043e\u0437\u0438\u0442\u043e\u0440\u0438\u044f<\/s> \u043a\u043e\u043d\u0442\u0440\u043e\u043b\u0438\u0440\u043e\u0432\u0430\u0442\u044c Merge request (MR), \u0438\u0441\u043f\u043e\u043b\u044c\u0437\u0443\u044f \u043e\u0431\u044f\u0437\u0430\u0442\u0435\u043b\u044c\u043d\u044b\u0439 code review.<\/p>\n<p>  \u0421\u0434\u0435\u043b\u0430\u0435\u043c \u043c\u0438\u043d\u0438\u043c\u0430\u043b\u044c\u043d\u044b\u0439 \u0444\u0443\u043d\u043a\u0446\u0438\u043e\u043d\u0430\u043b \u0441\u0430\u043c\u0438 \u2014 \u0437\u0430\u043f\u0440\u0435\u0442\u0438\u043c Merge, \u043f\u043e\u043a\u0430 \u043d\u0435\u0441\u043a\u043e\u043b\u044c\u043a\u043e \u0440\u0430\u0437\u0440\u0430\u0431\u043e\u0442\u0447\u0438\u043a\u043e\u0432 \u043d\u0435 \u043f\u043e\u0441\u0442\u0430\u0432\u044f\u0442 \u00ab\u043f\u0430\u043b\u0435\u0446 \u0432\u0432\u0435\u0440\u0445\u00bb \u043d\u0430 MR.<br \/>  <a name=\"habracut\"><\/a>  <\/p>\n<h2>\u0417\u0430\u0447\u0435\u043c \u044d\u0442\u043e \u0432\u043e\u043e\u0431\u0449\u0435?<\/h2>\n<p>  \u041d\u0430\u0448\u0430 \u043e\u0440\u0433\u0430\u043d\u0438\u0437\u0430\u0446\u0438\u044f \u0432\u043f\u043e\u043b\u043d\u0435 \u043c\u043e\u0436\u0435\u0442 \u043f\u043e\u0437\u0432\u043e\u043b\u0438\u0442\u044c \u0441\u0435\u0431\u0435 \u043a\u0443\u043f\u0438\u0442\u044c \u043b\u0438\u0446\u0435\u043d\u0437\u0438\u044e GitLab. \u041d\u043e, \u0442\u0430\u043a \u043a\u0430\u043a \u0440\u0430\u0437\u0440\u0430\u0431\u043e\u0442\u043a\u0430 \u0432\u0435\u0434\u0435\u0442\u0441\u044f \u0432 \u0437\u0430\u043a\u0440\u044b\u0442\u043e\u043c \u043a\u043e\u043d\u0442\u0443\u0440\u0435 \u0431\u0435\u0437 \u0434\u043e\u0441\u0442\u0443\u043f\u0430 \u0432 \u0438\u043d\u0442\u0435\u0440\u043d\u0435\u0442, \u0438 \u0435\u0441\u0442\u044c \u0436\u0435\u0441\u0442\u043a\u043e\u0435 \u043f\u043b\u0430\u043d\u0438\u0440\u043e\u0432\u0430\u043d\u0438\u0435 \u0431\u044e\u0434\u0436\u0435\u0442\u0430, \u0437\u0430\u043a\u0443\u043f\u043a\u0430 \u043b\u0438\u0446\u0435\u043d\u0437\u0438\u0439 self-managed \u0441 \u043d\u0443\u0436\u043d\u044b\u043c \u0444\u0443\u043d\u043a\u0446\u0438\u043e\u043d\u0430\u043b\u043e\u043c \u043c\u043e\u0436\u0435\u0442 \u0437\u0430\u0442\u044f\u043d\u0443\u0442\u044c\u0441\u044f \u043d\u0430 \u043c\u043d\u043e\u0433\u0438\u0435 \u043c\u0435\u0441\u044f\u0446\u044b, \u0430 \u0440\u0430\u0431\u043e\u0442\u0430\u0442\u044c \u043d\u0443\u0436\u043d\u043e \u0443\u0436\u0435 \u0441\u0435\u0439\u0447\u0430\u0441.<\/p>\n<p>  \u0412 \u0438\u0442\u043e\u0433\u0435 \u043f\u0440\u0438\u0445\u043e\u0434\u0438\u0442\u0441\u044f:<\/p>\n<ul>\n<li>\u043b\u0438\u0431\u043e \u0441\u043e\u0432\u0441\u0435\u043c \u0437\u0430\u043f\u0440\u0435\u0449\u0430\u0442\u044c Merge \u0432 \u0437\u0430\u0449\u0438\u0449\u0435\u043d\u043d\u044b\u0435 \u0432\u0435\u0442\u043a\u0438 \u0434\u043b\u044f \u0447\u0430\u0441\u0442\u0438 \u0440\u0430\u0437\u0440\u0430\u0431\u043e\u0442\u0447\u0438\u043a\u043e\u0432, \u043d\u043e \u0442\u043e\u0433\u0434\u0430 \u0440\u0430\u0437\u0440\u0430\u0431\u043e\u0442\u0447\u0438\u043a\u0438, \u0438\u043c\u0435\u044e\u0449\u0438\u0435 \u043f\u0440\u0430\u0432\u043e \u043d\u0430 Merge, \u043f\u043e\u043b\u0443\u0447\u0430\u044e\u0442 \u043a\u043e\u043d\u0444\u043b\u0438\u043a\u0442\u044b \u043f\u0440\u0438 \u0441\u043b\u0438\u044f\u043d\u0438\u0438 \u0447\u0443\u0436\u0438\u0445 MR \u043a\u0430\u043a \u0431\u043e\u043d\u0443\u0441;<\/li>\n<li>\u043b\u0438\u0431\u043e \u0434\u0430\u0432\u0430\u0442\u044c \u0432\u043e\u0437\u043c\u043e\u0436\u043d\u043e\u0441\u0442\u044c \u0434\u0435\u043b\u0430\u0442\u044c \u0431\u0435\u0441\u043a\u043e\u043d\u0442\u0440\u043e\u043b\u044c\u043d\u044b\u0435 \u0441\u043b\u0438\u044f\u043d\u0438\u044f \u0441 \u0432\u0430\u0448\u0435\u0439 \u043c\u0430\u0441\u0442\u0435\u0440-\u0432\u0435\u0442\u043a\u043e\u0439 \u0431\u0435\u0437 code review, \u0434\u0430\u0436\u0435 \u0435\u0441\u043b\u0438 \u044d\u0442\u043e Junior, \u0443\u0441\u0442\u0440\u043e\u0438\u0432\u0448\u0438\u0439\u0441\u044f \u0442\u043e\u043b\u044c\u043a\u043e \u0432\u0447\u0435\u0440\u0430.<\/li>\n<\/ul>\n<p>  \u041f\u0435\u0440\u0432\u044b\u043c \u0436\u0435 \u0434\u0435\u043b\u043e\u043c \u043e\u0442\u043f\u0440\u0430\u0432\u0438\u043b\u0441\u044f \u0433\u0443\u0433\u043b\u0438\u0442\u044c, \u043f\u043e\u043b\u0430\u0433\u0430\u044f, \u0447\u0442\u043e \u0443\u0436 \u0442\u043e\u0447\u043d\u043e \u043a\u0442\u043e-\u0442\u043e \u0447\u0442\u043e-\u0442\u043e \u043f\u043e\u0434\u043e\u0431\u043d\u043e\u0435 \u0443\u0436\u0435 \u0441\u0434\u0435\u043b\u0430\u043b (\u0431\u0435\u0437 \u0434\u043e\u0440\u0430\u0431\u043e\u0442\u043a\u0438 \u043a\u043e\u0434\u0430), \u043d\u043e \u043e\u043a\u0430\u0437\u0430\u043b\u043e\u0441\u044c, \u0447\u0442\u043e \u043f\u043e\u0434\u043e\u0431\u043d\u043e\u0439 \u0440\u0435\u0430\u043b\u0438\u0437\u0430\u0446\u0438\u0438 \u0432 community \u0432\u0435\u0440\u0441\u0438\u0438 \u0435\u0449\u0435 \u043d\u0435 \u0431\u044b\u043b\u043e.<\/p>\n<h2>\u041e\u0431\u0449\u0430\u044f \u0441\u0445\u0435\u043c\u0430 \u0440\u0430\u0431\u043e\u0442\u044b<\/h2>\n<p>  \u0412 \u043a\u0430\u0447\u0435\u0441\u0442\u0432\u0435 \u043f\u0440\u0438\u043c\u0435\u0440\u0430 \u043d\u0430\u0441\u0442\u0440\u043e\u0438\u043c Merge request approvals \u043d\u0430 \u0442\u0435\u0441\u0442\u043e\u0432\u043e\u043c \u0440\u0435\u043f\u043e\u0437\u0438\u0442\u043e\u0440\u0438\u0438 <a href=\"https:\/\/gitlab.com\/gitlab-ce-mr-approvals\/myapp\" rel=\"nofollow\">myapp<\/a>:<\/p>\n<ol>\n<li>\u0421\u043e\u0437\u0434\u0430\u0434\u0438\u043c \u0442\u043e\u043a\u0435\u043d \u0434\u043b\u044f \u0434\u043e\u0441\u0442\u0443\u043f\u0430 \u043a API GitLab (\u0447\u0435\u0440\u0435\u0437 \u043d\u0435\u0433\u043e \u0431\u0443\u0434\u0435\u043c \u043f\u043e\u043b\u0443\u0447\u0430\u0442\u044c \u0438\u043d\u0444\u043e\u0440\u043c\u0430\u0446\u0438\u044e \u043e \u043a\u043e\u043b\u0438\u0447\u0435\u0441\u0442\u0432\u0435 \u0433\u043e\u043b\u043e\u0441\u043e\u0432 \u00ab\u0437\u0430\u00bb \u0438 \u00ab\u043f\u0440\u043e\u0442\u0438\u0432\u00bb)<\/li>\n<li>\u0414\u043e\u0431\u0430\u0432\u0438\u043c \u0442\u043e\u043a\u0435\u043d \u0432 \u043f\u0435\u0440\u0435\u043c\u0435\u043d\u043d\u044b\u0435 GitLab<\/li>\n<li>\u0417\u0430\u043f\u0440\u0435\u0442\u0438\u043c Merge \u043f\u0440\u0438 \u043e\u0448\u0438\u0431\u043a\u0430\u0445 \u0432 \u043f\u0430\u0439\u043f\u043b\u0430\u0439\u043d\u0435 (\u0435\u0441\u043b\u0438 \u0433\u043e\u043b\u043e\u0441\u043e\u0432 \u00ab\u0437\u0430\u00bb \u043d\u0435\u0434\u043e\u0441\u0442\u0430\u0442\u043e\u0447\u043d\u043e) <\/li>\n<li>\u041d\u0430\u0441\u0442\u0440\u043e\u0438\u043c \u043f\u0440\u043e\u0432\u0435\u0440\u043a\u0443 \u0433\u043e\u043b\u043e\u0441\u043e\u0432 \u043a\u0430\u043a \u0447\u0430\u0441\u0442\u044c \u043f\u0430\u0439\u043f\u043b\u0430\u0439\u043d\u0430 CI\/CD<\/li>\n<li>\u0417\u0430\u043f\u0440\u0435\u0442\u0438\u043c \u0434\u0435\u043b\u0430\u0442\u044c \u043a\u043e\u043c\u043c\u0438\u0442\u044b \u0432 \u0437\u0430\u0449\u0438\u0449\u0435\u043d\u043d\u044b\u0435 \u0432\u0435\u0442\u043a\u0438, \u0432\u0441\u0435 \u0438\u0437\u043c\u0435\u043d\u0435\u043d\u0438\u044f \u043f\u0440\u043e\u0432\u043e\u0434\u0438\u043c \u0442\u043e\u043b\u044c\u043a\u043e \u0447\u0435\u0440\u0435\u0437 MR<\/li>\n<li>\u041f\u0440\u043e\u0432\u0435\u0440\u0438\u043c, \u0447\u0442\u043e \u043f\u043e\u043b\u0443\u0447\u0438\u043b\u043e\u0441\u044c \u0432 \u0438\u0442\u043e\u0433\u0435<\/li>\n<\/ol>\n<p>  <\/p>\n<h3>1. \u0421\u043e\u0437\u0434\u0430\u0435\u043c \u0442\u043e\u043a\u0435\u043d \u0434\u043b\u044f \u0434\u043e\u0441\u0442\u0443\u043f\u0430 \u043a API<\/h3>\n<p>  \u0417\u0430\u0445\u043e\u0434\u0438\u043c \u0432 \u041d\u0430\u0441\u0442\u0440\u043e\u0439\u043a\u0438 \u043f\u043e\u043b\u044c\u0437\u043e\u0432\u0430\u0442\u0435\u043b\u044f \u2192 \u0422\u043e\u043a\u0435\u043d\u044b \u0434\u043e\u0441\u0442\u0443\u043f\u0430 \u0438 \u0437\u0430\u043f\u0438\u0441\u044b\u0432\u0430\u0435\u043c \u0442\u043e\u043a\u0435\u043d:<\/p>\n<p>  <img decoding=\"async\" src=\"https:\/\/habrastorage.org\/webt\/il\/-e\/np\/il-enpwfz4rz8rvfmidldcvvp1u.png\"><\/p>\n<div class=\"spoiler\" role=\"button\" tabindex=\"0\">                         <b class=\"spoiler_title\">\u0423\u0447\u0435\u0442\u043d\u0430\u044f \u0437\u0430\u043f\u0438\u0441\u044c \u0434\u043b\u044f \u043f\u043e\u043b\u0443\u0447\u0435\u043d\u0438\u044f \u0442\u043e\u043a\u0435\u043d\u0430<\/b>                         <\/p>\n<div class=\"spoiler_text\">\u0414\u043e\u0441\u0442\u0443\u043f \u043a API \u043f\u043e\u0437\u0432\u043e\u043b\u044f\u0435\u0442 \u0434\u0435\u043b\u0430\u0442\u044c \u043f\u0440\u0430\u043a\u0442\u0438\u0447\u0435\u0441\u043a\u0438 \u0432\u0441\u0435 \u0441 \u0432\u0430\u0448\u0438\u043c\u0438 \u0440\u0435\u043f\u043e\u0437\u0438\u0442\u043e\u0440\u0438\u044f\u043c\u0438, \u043f\u043e\u044d\u0442\u043e\u043c\u0443 \u0441\u043e\u0432\u0435\u0442\u0443\u044e \u0441\u043e\u0437\u0434\u0430\u0442\u044c \u043e\u0442\u0434\u0435\u043b\u044c\u043d\u0443\u044e \u0443\u0447\u0435\u0442\u043d\u0443\u044e \u0437\u0430\u043f\u0438\u0441\u044c Gitlab, \u0434\u0430\u0442\u044c \u0435\u0439 \u043c\u0438\u043d\u0438\u043c\u0430\u043b\u044c\u043d\u044b\u0435 \u043f\u0440\u0430\u0432\u0430 \u043d\u0430 \u0432\u0430\u0448\u0438 \u0440\u0435\u043f\u043e\u0437\u0442\u043e\u0440\u0438\u0438 (\u043d\u0430\u043f\u0440\u0438\u043c\u0435\u0440, Reporter) \u0438 \u043f\u043e\u043b\u0443\u0447\u0438\u0442\u044c \u0442\u043e\u043a\u0435\u043d \u0434\u043b\u044f \u044d\u0442\u043e\u0439 \u0443\u0447\u0435\u0442\u043d\u043e\u0439 \u0437\u0430\u043f\u0438\u0441\u0438.  <\/div>\n<\/p><\/div>\n<p>  <\/p>\n<h3>2. \u0414\u043e\u0431\u0430\u0432\u043b\u044f\u0435\u043c \u0442\u043e\u043a\u0435\u043d \u0432 \u043f\u0435\u0440\u0435\u043c\u0435\u043d\u043d\u044b\u0435 Gitlab<\/h3>\n<p>  \u041d\u0430\u043f\u0440\u0438\u043c\u0435\u0440, \u043d\u0430 \u043f\u0440\u0435\u0434\u044b\u0434\u0443\u0449\u0435\u043c \u0448\u0430\u0433\u0435 \u043c\u044b \u043f\u043e\u043b\u0443\u0447\u0438\u043b\u0438 \u0442\u043e\u043a\u0435\u043d <b>QmN2Y0NOUFlfeXhvd21ZS01aQzgK<\/b><\/p>\n<p>  \u041e\u0442\u043a\u0440\u044b\u0432\u0430\u0435\u043c \u041d\u0430\u0441\u0442\u0440\u043e\u0439\u043a\u0438 \u2192 CI\/CD \u2192 \u041f\u0435\u0440\u0435\u043c\u0435\u043d\u043d\u044b\u0435 \u2192 \u0414\u043e\u0431\u0430\u0432\u0438\u0442\u044c \u043f\u0435\u0440\u0435\u043c\u0435\u043d\u043d\u0443\u044e \u2192 <b>GITLAB_TOKEN_FOR_CI<\/b><\/p>\n<p>  <img decoding=\"async\" src=\"https:\/\/habrastorage.org\/webt\/vx\/oe\/vw\/vxoevwjktzujpxgtulzr9-nfwya.png\"><\/p>\n<p>  \u0412 \u0438\u0442\u043e\u0433\u0435 \u043f\u043e\u043b\u0443\u0447\u0438\u043c:<\/p>\n<p>  <img decoding=\"async\" src=\"https:\/\/habrastorage.org\/webt\/pw\/dy\/ok\/pwdyokxkq42zlxou2ofk46l7wkq.png\"><\/p>\n<p>  \u042d\u0442\u043e \u043c\u043e\u0436\u043d\u043e \u0441\u0434\u0435\u043b\u0430\u0442\u044c \u043a\u0430\u043a \u043d\u0430 \u043e\u0434\u043d\u043e\u043c \u0440\u0435\u043f\u043e\u0437\u0438\u0442\u043e\u0440\u0438\u0438, \u0442\u0430\u043a \u0438 \u043d\u0430 \u0433\u0440\u0443\u043f\u043f\u0435 \u0440\u0435\u043f\u043e\u0437\u0438\u0442\u043e\u0440\u0438\u0435\u0432.<\/p>\n<h3>3. \u0421\u0442\u0430\u0432\u0438\u043c \u0437\u0430\u043f\u0440\u0435\u0442 \u043d\u0430 Merge, \u0435\u0441\u043b\u0438 \u043d\u0435 \u043f\u043e\u043b\u0443\u0447\u0435\u043d\u044b \u043e\u0434\u043e\u0431\u0440\u0435\u043d\u0438\u044f \u043a\u043e\u043b\u043b\u0435\u0433 \u043f\u043e\u0441\u043b\u0435 \u043f\u0440\u043e\u0432\u0435\u0434\u0435\u043d\u043d\u043e\u0433\u043e code review<\/h3>\n<p>  \u0412 \u043d\u0430\u0448\u0435\u043c \u0441\u043b\u0443\u0447\u0430\u0435 \u0437\u0430\u043f\u0440\u0435\u0442\u043e\u043c \u043d\u0430 Merge \u0431\u0443\u0434\u0435\u0442 \u044f\u0432\u043b\u044f\u0442\u044c\u0441\u044f \u0442\u043e, \u0447\u0442\u043e \u0441\u0431\u043e\u0440\u043e\u0447\u043d\u044b\u0439 \u043a\u043e\u043d\u0432\u0435\u0439\u0435\u0440 \u0432\u0435\u0440\u043d\u0435\u0442 \u043e\u0448\u0438\u0431\u043a\u0443 \u043f\u0440\u0438 \u043d\u0435\u0434\u043e\u0441\u0442\u0430\u0442\u043e\u0447\u043d\u043e\u043c \u043a\u043e\u043b\u0438\u0447\u0435\u0441\u0442\u0432\u0435 \u0433\u043e\u043b\u043e\u0441\u043e\u0432.<\/p>\n<p>  \u0417\u0430\u0445\u043e\u0434\u0438\u043c \u0432 \u041d\u0430\u0441\u0442\u0440\u043e\u0439\u043a\u0438 \u2192 \u041e\u0441\u043d\u043e\u0432\u043d\u044b\u0435 \u2192 \u0417\u0430\u043f\u0440\u043e\u0441\u044b \u043d\u0430 \u0441\u043b\u0438\u044f\u043d\u0438\u0435 \u2192 \u041f\u0440\u043e\u0432\u0435\u0440\u043a\u0438 \u0441\u043b\u0438\u044f\u043d\u0438\u044f \u0438 \u0432\u043a\u043b\u044e\u0447\u0430\u0435\u043c \u043e\u043f\u0446\u0438\u044e \u0421\u0431\u043e\u0440\u043e\u0447\u043d\u044b\u0435 \u043b\u0438\u043d\u0438\u0438 \u0434\u043e\u043b\u0436\u043d\u044b \u0443\u0441\u043f\u0435\u0448\u043d\u043e \u0432\u044b\u043f\u043e\u043b\u043d\u0438\u0442\u044c\u0441\u044f.<\/p>\n<p>  <img decoding=\"async\" src=\"https:\/\/habrastorage.org\/webt\/1q\/zl\/po\/1qzlpocpdaabdtndto72lu165ae.png\"><\/p>\n<h3>4. \u041d\u0430\u0441\u0442\u0440\u0430\u0438\u0432\u0430\u0435\u043c \u043f\u0430\u0439\u043f\u043b\u0430\u0439\u043d<\/h3>\n<p>  <\/p>\n<div class=\"spoiler\" role=\"button\" tabindex=\"0\">                         <b class=\"spoiler_title\">\u0415\u0441\u043b\u0438 \u0432\u044b \u0435\u0449\u0435 \u043d\u0435 \u0434\u0435\u043b\u0430\u043b\u0438 CI\/CD \u043a\u043e\u043d\u0432\u0435\u0439\u0435\u0440 \u0434\u043b\u044f \u0432\u0430\u0448\u0435\u0433\u043e \u043f\u0440\u0438\u043b\u043e\u0436\u0435\u043d\u0438\u044f<\/b>                         <\/p>\n<div class=\"spoiler_text\">\u0421\u043e\u0437\u0434\u0430\u0435\u043c \u0432 \u043a\u043e\u0440\u043d\u0435 \u0440\u0435\u043f\u043e\u0437\u0438\u0442\u043e\u0440\u0438\u044f \u0444\u0430\u0439\u043b <b>.gitlab-ci.yml<\/b> \u0441 \u043f\u0440\u043e\u0441\u0442\u0435\u0439\u0448\u0438\u043c \u0441\u043e\u0434\u0435\u0440\u0436\u0430\u043d\u0438\u0435\u043c:<\/p>\n<pre><code class=\"plaintext\">stages:   - build   - test  variables:   NEED_VOTES: 1  include:   - remote: &quot;https:\/\/gitlab.com\/gitlab-ce-mr-approvals\/ci\/-\/raw\/master\/check-approve.gitlab-ci.yml&quot;  run-myapp:   stage: build   script: echo &quot;Hello world&quot; <\/code><\/pre>\n<p>  <\/div>\n<\/p><\/div>\n<p>  <\/p>\n<div class=\"spoiler\" role=\"button\" tabindex=\"0\">                         <b class=\"spoiler_title\">\u041e\u0442\u0434\u0435\u043b\u044c\u043d\u044b\u0439 \u0440\u0435\u043f\u043e\u0437\u0438\u0442\u043e\u0440\u0438\u0439 \u0434\u043b\u044f \u043a\u043e\u043d\u0444\u0438\u0433\u0443\u0440\u0430\u0446\u0438\u0438 CI\/CD<\/b>                         <\/p>\n<div class=\"spoiler_text\">\u042f \u0431\u044b \u0440\u0435\u043a\u043e\u043c\u0435\u043d\u0434\u043e\u0432\u0430\u043b \u0441\u0434\u0435\u043b\u0430\u0442\u044c \u043e\u0442\u0434\u0435\u043b\u044c\u043d\u044b\u0439 \u0440\u0435\u043f\u043e\u0437\u0438\u0442\u043e\u0440\u0438\u0439, \u0432 \u043a\u043e\u0442\u043e\u0440\u043e\u043c \u043d\u0435\u043e\u0431\u0445\u043e\u0434\u0438\u043c\u043e \u0441\u043e\u0437\u0434\u0430\u0442\u044c \u0444\u0430\u0439\u043b myapp.gitlab-ci.yml \u0434\u043b\u044f \u043d\u0430\u0441\u0442\u0440\u043e\u0439\u043a\u0438 \u043a\u043e\u043d\u0432\u0435\u0439\u0435\u0440\u0430. \u0422\u0430\u043a \u0432\u044b \u0441\u043c\u043e\u0436\u0435\u0442\u0435 \u043b\u0443\u0447\u0448\u0435 \u043a\u043e\u043d\u0442\u0440\u043e\u043b\u0438\u0440\u043e\u0432\u0430\u0442\u044c \u0434\u043e\u0441\u0442\u0443\u043f \u0443\u0447\u0430\u0441\u0442\u043d\u0438\u043a\u043e\u0432, \u043a\u043e\u0442\u043e\u0440\u044b\u0435 \u043c\u043e\u0433\u0443\u0442 \u0438\u0437\u043c\u0435\u043d\u0438\u0442\u044c \u043a\u043e\u043d\u0432\u0435\u0439\u0435\u0440 \u0441\u0431\u043e\u0440\u043a\u0438 \u0438 \u043f\u043e\u043b\u0443\u0447\u0438\u0442\u044c \u0442\u043e\u043a\u0435\u043d \u0434\u043e\u0441\u0442\u0443\u043f\u0430.<\/p>\n<p>  \u0420\u0430\u0441\u043f\u043e\u043b\u043e\u0436\u0435\u043d\u0438\u0435 \u043d\u043e\u0432\u043e\u0433\u043e \u0444\u0430\u0439\u043b\u0430 \u043a\u043e\u043d\u0432\u0435\u0439\u0435\u0440\u0430 \u043d\u0443\u0436\u043d\u043e \u0431\u0443\u0434\u0435\u0442 \u0443\u043a\u0430\u0437\u0430\u0442\u044c, \u0437\u0430\u0439\u0434\u044f \u0432 \u0440\u0435\u043f\u043e\u0437\u0438\u0442\u043e\u0440\u0438\u0439 myapp \u2014 \u041d\u0430\u0441\u0442\u0440\u043e\u0439\u043a\u0438 \u2014 CI\/CD \u2014 \u0421\u0431\u043e\u0440\u043e\u0447\u043d\u044b\u0435 \u043b\u0438\u043d\u0438\u0438 \u2014 \u041f\u043e\u043b\u044c\u0437\u043e\u0432\u0430\u0442\u0435\u043b\u044c\u0441\u043a\u0438\u0439 \u043f\u0443\u0442\u044c \u043a\u043e\u043d\u0444\u0438\u0433\u0443\u0440\u0430\u0446\u0438\u0438 CI \u2014 \u0443\u043a\u0430\u0437\u0430\u0442\u044c \u043d\u043e\u0432\u044b\u0439 \u0444\u0430\u0439\u043b, \u043d\u0430\u043f\u0440\u0438\u043c\u0435\u0440 <b>myapp.gitlab-ci.yml@gitlab-ce-mr-approvals\/Ci<\/b>  <\/div>\n<\/p><\/div>\n<p>  <\/p>\n<div class=\"spoiler\" role=\"button\" tabindex=\"0\">                         <b class=\"spoiler_title\">\u0421\u043e\u0432\u0435\u0442: \u0438\u0441\u043f\u043e\u043b\u044c\u0437\u0443\u0439\u0442\u0435 \u043b\u0438\u043d\u0442\u0435\u0440 \u0434\u043b\u044f \u0432\u043d\u0435\u0441\u0435\u043d\u0438\u044f \u0438\u0437\u043c\u0435\u043d\u0435\u043d\u0438\u0439 \u0432 \u0444\u0430\u0439\u043b\u044b GitLab CI<\/b>                         <\/p>\n<div class=\"spoiler_text\">\u0414\u0430\u0436\u0435 \u0435\u0441\u043b\u0438 \u0432\u044b \u0440\u0430\u0431\u043e\u0442\u0430\u0435\u0442\u0435 \u043e\u0434\u0438\u043d, \u0445\u043e\u0440\u043e\u0448\u0438\u043c \u043f\u043e\u043c\u043e\u0449\u043d\u0438\u043a\u043e\u043c \u0432\u044b\u0441\u0442\u0443\u043f\u0438\u0442 \u0440\u0430\u0431\u043e\u0442\u0430 \u0447\u0435\u0440\u0435\u0437 MR, \u043f\u0440\u043e\u0433\u043e\u043d\u044f\u044f \u0432\u0441\u0435 \u0432\u0430\u0448\u0438 \u0438\u0437\u043c\u0435\u043d\u0435\u043d\u0438\u044f \u0444\u0430\u0439\u043b\u043e\u0432 \u043f\u0430\u0439\u043f\u043b\u0430\u0439\u043d\u0430 \u0447\u0435\u0440\u0435\u0437 \u043b\u0438\u043d\u0442\u0435\u0440. \u0415\u0441\u043b\u0438 \u0432\u044b \u043e\u0448\u0438\u0431\u0435\u0442\u0435\u0441\u044c \u0432 \u0441\u0438\u043d\u0442\u0430\u043a\u0441\u0438\u0441\u0435 YAML-\u0444\u0430\u0439\u043b\u0430, \u044d\u0442\u043e \u043d\u0435 \u0434\u0430\u0441\u0442 \u0432\u0430\u043c \u0441\u043b\u043e\u043c\u0430\u0442\u044c \u0440\u0430\u0431\u043e\u0447\u0438\u0439 \u043a\u043e\u043d\u0432\u0435\u0439\u0435\u0440, \u0430 \u043f\u0440\u043e\u0441\u0442\u043e \u0437\u0430\u0431\u043b\u043e\u043a\u0438\u0440\u0443\u0435\u0442 Merge.<\/p>\n<p>  \u041f\u0440\u0438\u043c\u0435\u0440 \u043a\u043e\u043d\u0442\u0435\u0439\u043d\u0435\u0440\u043e\u0432 \u0441 \u043b\u0438\u043d\u0442\u0435\u0440\u0430\u043c\u0438, \u043a\u043e\u0442\u043e\u0440\u044b\u0435 \u0432\u044b \u043c\u043e\u0436\u0435\u0442\u0435 \u0432\u0441\u0442\u0440\u043e\u0438\u0442\u044c \u0432 \u0432\u0430\u0448 \u043f\u0430\u0439\u043f\u043b\u0430\u0439\u043d:<\/p>\n<p>  <a href=\"https:\/\/hub.docker.com\/r\/gableroux\/gitlab-ci-lint\" rel=\"nofollow\">hub.docker.com\/r\/gableroux\/gitlab-ci-lint<\/a><br \/>  <a href=\"https:\/\/hub.docker.com\/r\/sebiwi\/gitlab-ci-validate\" rel=\"nofollow\">hub.docker.com\/r\/sebiwi\/gitlab-ci-validate<\/a><\/p>\n<p>  \u0418 \u043f\u0440\u0438\u043c\u0435\u0440 \u0441\u0442\u0430\u0434\u0438\u0438 \u043f\u0440\u043e\u0432\u0435\u0440\u043a\u0438:<\/p>\n<pre><code class=\"plaintext\">stages:   - lint  lint:   image: sebiwi\/gitlab-ci-validate:1.3.0   variables:     GITLAB_HOST: https:\/\/gitlab.com   script:     - CI_FILES=(.\/*.yml)     - for f in &quot;${CI_FILES[@]}&quot;; do         gitlab-ci-validate $f;       done; <\/code><\/pre>\n<p>  <\/div>\n<\/p><\/div>\n<p>  \u041e\u0441\u0442\u0430\u043b\u043e\u0441\u044c \u0434\u043e\u0431\u0430\u0432\u0438\u0442\u044c \u0432 \u0432\u0430\u0448 \u043f\u0430\u0439\u043f\u043b\u0430\u0439\u043d \u043d\u0435\u0441\u043a\u043e\u043b\u044c\u043a\u043e \u043f\u0430\u0440\u0430\u043c\u0435\u0442\u0440\u043e\u0432, \u0447\u0442\u043e\u0431\u044b \u0432\u0441\u0435 \u0437\u0430\u0440\u0430\u0431\u043e\u0442\u0430\u043b\u043e:<\/p>\n<p>  <code>stages:<br \/>   - test<\/p>\n<p>  variables:<br \/>   NEED_VOTES: 1<\/p>\n<p>  include:<br \/>   - remote: &quot;https:\/\/gitlab.com\/gitlab-ce-mr-approvals\/ci\/-\/raw\/master\/check-approve.gitlab-ci.yml&quot;<br \/>  <\/code><br \/>  \u041f\u0435\u0440\u0435\u043c\u0435\u043d\u043d\u0430\u044f NEED_VOTES \u043e\u043f\u0440\u0435\u0434\u0435\u043b\u044f\u0435\u0442 \u0441\u043a\u043e\u043b\u044c\u043a\u043e \u00ab\u043f\u0430\u043b\u044c\u0446\u0435\u0432 \u0432\u0432\u0435\u0440\u0445\u00bb \u0434\u043e\u043b\u0436\u043d\u043e \u0431\u044b\u0442\u044c \u0443 MR, \u0447\u0442\u043e\u0431\u044b \u0431\u044b\u043b \u0434\u043e\u0441\u0442\u0443\u043f\u0435\u043d Merge. \u0417\u043d\u0430\u0447\u0435\u043d\u0438\u0435, \u0440\u0430\u0432\u043d\u043e\u0435 \u0435\u0434\u0438\u043d\u0438\u0446\u0435, \u043e\u0437\u043d\u0430\u0447\u0430\u0435\u0442, \u0447\u0442\u043e \u0432\u044b \u0441\u0430\u043c\u0438 \u043c\u043e\u0436\u0435\u0442\u0435 \u043e\u0434\u043e\u0431\u0440\u0438\u0442\u044c \u0441\u0432\u043e\u0439 MR, \u00ab\u043b\u0430\u0439\u043a\u043d\u0443\u0432\u00bb \u0435\u0433\u043e.<\/p>\n<p>  include \u043f\u043e\u0434\u043a\u043b\u044e\u0447\u0430\u0435\u0442 \u0441\u0442\u0430\u0434\u0438\u044e test, \u043f\u0440\u043e\u0432\u0435\u0440\u044f\u044e\u0449\u0443\u044e \u043a\u043e\u043b\u0438\u0447\u0435\u0441\u0442\u0432\u043e \u00ab\u043b\u0430\u0439\u043a\u043e\u0432\u00bb.<\/p>\n<div class=\"spoiler\" role=\"button\" tabindex=\"0\">                         <b class=\"spoiler_title\">\u041f\u0440\u043e\u0441\u0442\u0435\u0439\u0448\u0438\u0439 \u043f\u0430\u0439\u043f\u043b\u0430\u0439\u043d \u043d\u0430 \u043f\u0440\u0438\u043c\u0435\u0440\u0435 myapp.gitlab-ci.yml<\/b>                         <\/p>\n<div class=\"spoiler_text\"><code>stages:<br \/>   - build<br \/>   - test<\/p>\n<p>  variables:<br \/>   NEED_VOTES: 0<\/p>\n<p>  include:<br \/>   - remote: &quot;https:\/\/gitlab.com\/gitlab-ce-mr-approvals\/ci\/-\/raw\/master\/check-approve.gitlab-ci.yml&quot;<\/p>\n<p>  run-myapp:<br \/>   stage: build<br \/>   image: openjdk<br \/>   script:<br \/>   - echo CI_MERGE_REQUEST_TARGET_BRANCH_NAME $CI_MERGE_REQUEST_TARGET_BRANCH_NAME<br \/>   - java HelloWorld.java<\/code>  <\/div>\n<\/p><\/div>\n<p>  <\/p>\n<div class=\"spoiler\" role=\"button\" tabindex=\"0\">                         <b class=\"spoiler_title\">\u0421\u043e\u0434\u0435\u0440\u0436\u0430\u043d\u0438\u0435 check-approve.gitlab-ci.yml<\/b>                         <\/p>\n<div class=\"spoiler_text\"><code>ci-mr:<br \/>   stage: test<br \/>   script:<br \/>   - echo ${CI_API_V4_URL}<br \/>   - echo &quot;CI_PROJECT_ID ${CI_PROJECT_ID}&quot;<br \/>   - echo &quot;CI_COMMIT_SHA ${CI_COMMIT_SHA}&quot;<br \/>   - &quot;export MR_ID=$(curl --silent --request GET --header \\&quot;PRIVATE-TOKEN: $GITLAB_TOKEN_FOR_CI\\&quot; ${CI_API_V4_URL}\/projects\/${CI_PROJECT_ID}\/merge_requests | jq \\&quot;.[] | if .sha == \\\\\\&quot;${CI_COMMIT_SHA}\\\\\\&quot; then .id else {} end\\&quot; | grep --invert-match {})&quot;<br \/>   - &quot;export MR_TITLE=$(curl --silent --request GET --header \\&quot;PRIVATE-TOKEN: $GITLAB_TOKEN_FOR_CI\\&quot; ${CI_API_V4_URL}\/projects\/${CI_PROJECT_ID}\/merge_requests | jq \\&quot;.[] | if .sha == \\\\\\&quot;${CI_COMMIT_SHA}\\\\\\&quot; then .title else {} end\\&quot; | grep --invert-match {})&quot;<br \/>   - &quot;export MR_WIP=$(curl --silent --request GET --header \\&quot;PRIVATE-TOKEN: $GITLAB_TOKEN_FOR_CI\\&quot; ${CI_API_V4_URL}\/projects\/${CI_PROJECT_ID}\/merge_requests | jq \\&quot;.[] | if .sha == \\\\\\&quot;${CI_COMMIT_SHA}\\\\\\&quot; then .work_in_progress else {} end\\&quot; | grep --invert-match {})&quot;<br \/>   - &quot;export MR_UPVOTES=$(curl --silent --request GET --header \\&quot;PRIVATE-TOKEN: $GITLAB_TOKEN_FOR_CI\\&quot; ${CI_API_V4_URL}\/projects\/${CI_PROJECT_ID}\/merge_requests | jq \\&quot;.[] | if .sha == \\\\\\&quot;${CI_COMMIT_SHA}\\\\\\&quot; then .upvotes else {} end\\&quot; | grep --invert-match {})&quot;<br \/>   - &quot;export MR_DOWNVOTES=$(curl --silent --request GET --header \\&quot;PRIVATE-TOKEN: $GITLAB_TOKEN_FOR_CI\\&quot; ${CI_API_V4_URL}\/projects\/${CI_PROJECT_ID}\/merge_requests | jq \\&quot;.[] | if .sha == \\\\\\&quot;${CI_COMMIT_SHA}\\\\\\&quot; then .downvotes else {} end\\&quot; | grep --invert-match {})&quot;<br \/>   - MR_VOTES=$(expr ${MR_UPVOTES} - ${MR_DOWNVOTES})<br \/>   - NEED_VOTES_REAL=${NEED_VOTES:-1}<br \/>   - echo &quot;MR_ID ${MR_ID} MR_TITLE ${MR_TITLE} MR_WIP ${MR_WIP} MR_UPVOTES ${MR_UPVOTES} MR_DOWNVOTES ${MR_DOWNVOTES}&quot;<br \/>   - echo &quot;MR_VOTES ${MR_VOTES} Up vote = 1, down vote = -1, MR OK if votes &gt;=${NEED_VOTES_REAL}&quot;<br \/>   - if [ &quot;${MR_VOTES}&quot; -ge &quot;$(expr ${NEED_VOTES_REAL})&quot; ];<br \/>   then<br \/>   echo &quot;MR OK&quot;;<br \/>   else<br \/>   echo &quot;MR ERROR Need more votes&quot;;<br \/>   exit 1;<br \/>   fi<br \/>   image: laptevss\/gitlab-api-util<br \/>   rules:<br \/>   - if: '$CI_MERGE_REQUEST_TARGET_BRANCH_NAME == &quot;master&quot; || $CI_MERGE_REQUEST_TARGET_BRANCH_NAME =~ \/^release\\\/.*$\/'<br \/>  <\/code>  <\/div>\n<\/p><\/div>\n<p>  \u041f\u043e\u0434\u0440\u043e\u0431\u043d\u0435\u0435 \u043e \u0442\u043e\u043c, \u0447\u0442\u043e \u043f\u0440\u043e\u0438\u0441\u0445\u043e\u0434\u0438\u0442 \u043f\u0440\u0438 \u043f\u0440\u043e\u0432\u0435\u0440\u043a\u0435:<\/p>\n<ul>\n<li>\u0443\u0441\u0442\u0430\u043d\u043e\u0432\u043b\u0435\u043d\u043e \u043e\u0433\u0440\u0430\u043d\u0438\u0447\u0435\u043d\u0438\u0435, \u0447\u0442\u043e \u043f\u0440\u043e\u0432\u0435\u0440\u043a\u0430 \u0431\u0443\u0434\u0435\u0442 \u0442\u043e\u043b\u044c\u043a\u043e \u043f\u0440\u0438 \u0441\u043e\u0437\u0434\u0430\u043d\u0438\u0438 MR \u0432 \u0432\u0435\u0442\u043a\u0438 master \u0438\u043b\u0438 release\/* <\/li>\n<li>\u0438\u0441\u043f\u043e\u043b\u044c\u0437\u0443\u044f API GitLab, \u043f\u043e\u043b\u0443\u0447\u0430\u0435\u043c \u043a\u043e\u043b\u0438\u0447\u0435\u0441\u0442\u0432\u043e \u00ab\u043b\u0430\u0439\u043a\u043e\u0432\u00bb \u0438 \u00ab\u0434\u0438\u0437\u043b\u0430\u0439\u043a\u043e\u0432\u00bb <\/li>\n<li>\u0432\u044b\u0447\u0438\u0441\u043b\u044f\u0435\u043c \u0440\u0430\u0437\u043d\u043e\u0441\u0442\u044c \u043c\u0435\u0436\u0434\u0443 \u043f\u043e\u043b\u043e\u0436\u0438\u0442\u0435\u043b\u044c\u043d\u044b\u043c\u0438 \u0438 \u043e\u0442\u0440\u0438\u0446\u0430\u0442\u0435\u043b\u044c\u043d\u044b\u043c\u0438 \u043e\u0442\u043a\u043b\u0438\u043a\u0430\u043c\u0438 <\/li>\n<li>\u0435\u0441\u043b\u0438 \u0440\u0430\u0437\u043d\u043e\u0441\u0442\u044c \u043c\u0435\u043d\u044c\u0448\u0435 \u0437\u0430\u0434\u0430\u043d\u043d\u043e\u0433\u043e \u043d\u0430\u043c\u0438 \u0437\u043d\u0430\u0447\u0435\u043d\u0438\u044f \u0432 NEED_VOTES, \u0442\u043e \u0431\u043b\u043e\u043a\u0438\u0440\u0443\u0435\u043c \u0432\u043e\u0437\u043c\u043e\u0436\u043d\u043e\u0441\u0442\u044c \u0441\u0434\u0435\u043b\u0430\u0442\u044c \u0441\u043b\u0438\u044f\u043d\u0438\u0435 <\/li>\n<\/ul>\n<p>  <\/p>\n<h3>5. \u0417\u0430\u043f\u0440\u0435\u0449\u0430\u0435\u043c \u043a\u043e\u043c\u043c\u0438\u0442\u044b \u0432 \u0437\u0430\u0449\u0438\u0449\u0435\u043d\u043d\u044b\u0435 \u0432\u0435\u0442\u043a\u0438<\/h3>\n<p>  \u041e\u043f\u0440\u0435\u0434\u0435\u043b\u044f\u0435\u043c \u0432\u0435\u0442\u043a\u0438, \u0434\u043b\u044f \u043a\u043e\u0442\u043e\u0440\u044b\u0445 \u043c\u044b \u0434\u043e\u043b\u0436\u043d\u044b \u043f\u0440\u043e\u0432\u043e\u0434\u0438\u0442\u044c code review \u0438 \u0443\u043a\u0430\u0437\u044b\u0432\u0430\u0435\u043c, \u0447\u0442\u043e \u0440\u0430\u0431\u043e\u0442\u0430\u0442\u044c \u0441 \u043d\u0438\u043c\u0438 \u043c\u043e\u0436\u043d\u043e \u0442\u043e\u043b\u044c\u043a\u043e \u0447\u0435\u0440\u0435\u0437 MR.<\/p>\n<p>  \u0414\u043b\u044f \u044d\u0442\u043e\u0433\u043e \u0437\u0430\u0445\u043e\u0434\u0438\u043c \u0432 \u041d\u0430\u0441\u0442\u0440\u043e\u0439\u043a\u0438 \u2192 \u0420\u0435\u043f\u043e\u0437\u0438\u0442\u043e\u0440\u0438\u0439 \u2192 Protected Branches:<\/p>\n<p>  <img decoding=\"async\" src=\"https:\/\/habrastorage.org\/webt\/ds\/tc\/rs\/dstcrsscy3fvllrno69nnnlez9m.png\"><\/p>\n<h3>6. \u041f\u0440\u043e\u0432\u0435\u0440\u044f\u0435\u043c<\/h3>\n<p>  \u0417\u0430\u0434\u0430\u0434\u0438\u043c NEED_VOTES: 0<\/p>\n<p>  \u0414\u0435\u043b\u0430\u0435\u043c MR \u0438 \u0441\u0442\u0430\u0432\u0438\u043c \u00ab\u0434\u0438\u0437\u043b\u0430\u0439\u043a\u00bb.<\/p>\n<p>  <img decoding=\"async\" src=\"https:\/\/habrastorage.org\/webt\/lr\/kh\/6v\/lrkh6vj0mv1twil5gj0ia88ef1c.png\"><\/p>\n<p>  \u0412 \u043b\u043e\u0433\u0430\u0445 \u0441\u0431\u043e\u0440\u043a\u0438:<\/p>\n<p>  <img decoding=\"async\" src=\"https:\/\/habrastorage.org\/webt\/lz\/2p\/0c\/lz2p0chbreygnxgjbncq8qjy8ig.png\"><\/p>\n<p>  \u0422\u0435\u043f\u0435\u0440\u044c \u0441\u0442\u0430\u0432\u0438\u043c \u00ab\u043b\u0430\u0439\u043a\u00bb \u0438 \u0437\u0430\u043f\u0443\u0441\u043a\u0430\u0435\u043c \u043f\u043e\u0432\u0442\u043e\u0440\u043d\u0443\u044e \u043f\u0440\u043e\u0432\u0435\u0440\u043a\u0443:<\/p>\n<p>  <img decoding=\"async\" src=\"https:\/\/habrastorage.org\/webt\/lg\/t-\/fa\/lgt-falt9h-ww6c-gfzktndway0.png\"><\/div>\n<p> \u0441\u0441\u044b\u043b\u043a\u0430 \u043d\u0430 \u043e\u0440\u0438\u0433\u0438\u043d\u0430\u043b \u0441\u0442\u0430\u0442\u044c\u0438 <a href=\"https:\/\/habr.com\/ru\/post\/488296\/\"> https:\/\/habr.com\/ru\/post\/488296\/<\/a><\/p>\n","protected":false},"excerpt":{"rendered":"\n<div class=\"post__text post__text-html post__text_v1\" id=\"post-content-body\" data-io-article-url=\"https:\/\/habr.com\/ru\/post\/488296\/\"><img decoding=\"async\" src=\"https:\/\/habrastorage.org\/webt\/qz\/zo\/d1\/qzzod1wphwkbvtq05jfpzo66de4.png\"><\/p>\n<p>  \u041e\u0434\u043d\u043e\u0439 \u0438\u0437 \u0441\u0430\u043c\u044b\u0445 \u043d\u0443\u0436\u043d\u044b\u0445 \u0444\u0443\u043d\u043a\u0446\u0438\u0439, \u043a\u043e\u0442\u043e\u0440\u043e\u0439 \u043d\u0435\u0442 \u0432 \u0431\u0435\u0441\u043f\u043b\u0430\u0442\u043d\u043e\u0439 \u0432\u0435\u0440\u0441\u0438\u0438 GitLab, \u044f\u0432\u043b\u044f\u0435\u0442\u0441\u044f \u0432\u043e\u0437\u043c\u043e\u0436\u043d\u043e\u0441\u0442\u044c <s>\u0433\u043e\u043b\u043e\u0441\u043e\u0432\u0430\u043d\u0438\u044f \u043f\u0440\u043e\u0442\u0438\u0432 \u043e\u0431\u043d\u0443\u043b\u0435\u043d\u0438\u044f \u0440\u0435\u043f\u043e\u0437\u0438\u0442\u043e\u0440\u0438\u044f<\/s> \u043a\u043e\u043d\u0442\u0440\u043e\u043b\u0438\u0440\u043e\u0432\u0430\u0442\u044c Merge request (MR), \u0438\u0441\u043f\u043e\u043b\u044c\u0437\u0443\u044f \u043e\u0431\u044f\u0437\u0430\u0442\u0435\u043b\u044c\u043d\u044b\u0439 code review.<\/p>\n<p>  \u0421\u0434\u0435\u043b\u0430\u0435\u043c \u043c\u0438\u043d\u0438\u043c\u0430\u043b\u044c\u043d\u044b\u0439 \u0444\u0443\u043d\u043a\u0446\u0438\u043e\u043d\u0430\u043b \u0441\u0430\u043c\u0438 \u2014 \u0437\u0430\u043f\u0440\u0435\u0442\u0438\u043c Merge, \u043f\u043e\u043a\u0430 \u043d\u0435\u0441\u043a\u043e\u043b\u044c\u043a\u043e \u0440\u0430\u0437\u0440\u0430\u0431\u043e\u0442\u0447\u0438\u043a\u043e\u0432 \u043d\u0435 \u043f\u043e\u0441\u0442\u0430\u0432\u044f\u0442 \u00ab\u043f\u0430\u043b\u0435\u0446 \u0432\u0432\u0435\u0440\u0445\u00bb \u043d\u0430 MR.  <\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[],"tags":[],"class_list":["post-305871","post","type-post","status-publish","format-standard","hentry"],"_links":{"self":[{"href":"https:\/\/savepearlharbor.com\/index.php?rest_route=\/wp\/v2\/posts\/305871","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/savepearlharbor.com\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/savepearlharbor.com\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/savepearlharbor.com\/index.php?rest_route=\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/savepearlharbor.com\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=305871"}],"version-history":[{"count":0,"href":"https:\/\/savepearlharbor.com\/index.php?rest_route=\/wp\/v2\/posts\/305871\/revisions"}],"wp:attachment":[{"href":"https:\/\/savepearlharbor.com\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=305871"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/savepearlharbor.com\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=305871"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/savepearlharbor.com\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=305871"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}