{"id":411596,"date":"2024-06-29T22:03:31","date_gmt":"2024-06-29T22:03:31","guid":{"rendered":"http:\/\/savepearlharbor.com\/?p=411596"},"modified":"-0001-11-30T00:00:00","modified_gmt":"-0001-11-29T21:00:00","slug":"","status":"publish","type":"post","link":"https:\/\/savepearlharbor.com\/?p=411596","title":{"rendered":"<span>CI\/CD \u0434\u043b\u044f UnrealEngine \u0432 \u0441\u0432\u044f\u0437\u043a\u0435 \u0441 Gitlab<\/span>"},"content":{"rendered":"<div><!--[--><!--]--><\/div>\n<div id=\"post-content-body\">\n<div>\n<div class=\"article-formatted-body article-formatted-body article-formatted-body_version-2\">\n<div xmlns=\"http:\/\/www.w3.org\/1999\/xhtml\">\n<p>\u041f\u043e\u043f\u0440\u043e\u0431\u043e\u0432\u0430\u0432 \u0440\u0430\u0437\u043d\u044b\u0435 Source Control \u0432 \u0441\u0432\u044f\u0437\u043a\u0435 \u0441 UE (Gitlab,SVN,Perforce) \u043d\u0430 \u0442\u0435\u043a\u0443\u0449\u0438\u0439 \u043c\u043e\u043c\u0435\u043d\u0442, \u0434\u043b\u044f \u0438\u043d\u0434\u0438 \u043f\u0440\u043e\u0435\u043a\u0442\u0430 \u044f \u0432\u044b\u0431\u0440\u0430\u043b \u043d\u0430\u0438\u0431\u043e\u043b\u0435\u0435 \u0443\u0434\u043e\u0431\u043d\u043e\u0435 \u0440\u0435\u0448\u0435\u043d\u0438\u0435, \u0445\u043e\u0442\u044f \u0438 \u043d\u0435 \u0441\u0430\u043c\u043e\u0435 \u043f\u0440\u043e\u0441\u0442\u043e\u0435 \u0432 \u0443\u0441\u0442\u0430\u043d\u043e\u0432\u043a\u0435:<\/p>\n<p>Gitlab &#8212; \u0414\u043b\u044f \u0438\u0441\u043f\u043e\u043b\u044c\u0437\u043e\u0432\u0430\u043d\u0438\u044f \u043d\u0430 \u0441\u0432\u043e\u0435\u043c \u0441\u0435\u0440\u0432\u0435\u0440\u0435, \u043d\u0443\u0436\u043d\u043e \u0438\u043c\u0435\u0442\u044c \u043c\u0430\u0448\u0438\u043d\u0443 \u0441 \u043b\u0438\u043d\u0443\u043a\u0441\u043e\u043c(\u0438\u0441\u043f\u043e\u043b\u044c\u0437\u0443\u044e mint), \u043d\u0435\u043a\u043e\u0442\u043e\u0440\u043e\u0435 \u0432\u0440\u0435\u043c\u044f \u0438 \u0442\u0435\u0440\u043f\u0435\u043d\u0438\u0435 \u043d\u0430 \u0443\u0441\u0442\u0430\u043d\u043e\u0432\u043a\u0443 \u0441\u0435\u0440\u0432\u0435\u0440\u0430 \u0438 \u0432\u0441\u0435, \u043c\u044b \u0441\u0447\u0430\u0441\u0442\u043b\u0438\u0432\u044b\u0435 \u043e\u0431\u043b\u0430\u0434\u0430\u0442\u0435\u043b\u0438 \u0431\u0435\u0441\u043f\u043b\u0430\u0442\u043d\u043e\u0433\u043e \u0441\u0435\u0440\u0432\u0435\u0440\u0430 \u0433\u0438\u0442\u043b\u0430\u0431. \u0414\u0430\u043b\u044c\u0448\u0435 \u043d\u0430\u0441\u0442\u0440\u0430\u0438\u0432\u0430\u0435\u043c \u043f\u043e\u0434\u043a\u043b\u044e\u0447\u0435\u043d\u0438\u0435 \u0447\u0435\u0440\u0435\u0437 SourceTree \u0438 \u0438\u0441\u043f\u043e\u043b\u044c\u0437\u0443\u0435\u043c;<\/p>\n<p>\u0415\u0449\u0435 \u043e\u0434\u043d\u043e\u0439 \u043f\u0440\u0435\u043b\u0435\u0441\u0442\u044c\u044e Gitlab, \u044f \u0431\u044b \u043d\u0430\u0437\u0432\u0430\u043b \u0432\u0441\u0442\u0440\u043e\u0435\u043d\u043d\u044b\u0439 \u0438\u043d\u0441\u0442\u0440\u0443\u043c\u0435\u043d\u0442 \u0434\u043b\u044f CI\/CD, \u043a\u043e\u0442\u043e\u0440\u044b\u0439 \u0432\u0435\u0441\u044c\u043c\u0430 \u043b\u0435\u0433\u043a\u043e \u043d\u0430\u0441\u0442\u0440\u0430\u0438\u0432\u0430\u0435\u0442\u0441\u044f \u0438 \u043f\u043e\u0437\u0432\u043e\u043b\u044f\u0435\u0442 \u043f\u043e \u043e\u0434\u043d\u043e\u043c\u0443 \u043d\u0430\u0436\u0430\u0442\u0438\u044e \u043a\u043d\u043e\u043f\u043a\u0438: \u0411\u0438\u043b\u0434\u0438\u0442\u044c \u0441\u0432\u0435\u0442, \u043f\u0430\u043a\u043e\u0432\u0430\u0442\u044c \u0438\u0433\u0440\u0443, \u0437\u0430\u043b\u0438\u0432\u0430\u0442\u044c \u0435\u0435 \u0432 \u0441\u0442\u0438\u043c, \u043e\u0442\u043f\u0440\u0430\u0432\u043b\u044f\u0442\u044c \u0441\u043e\u043e\u0431\u0449\u0435\u043d\u0438\u0435 \u0432 \u0434\u0438\u0441\u043a\u043e\u0440\u0434 \u0438 \u0442.\u0434, \u0432\u0441\u0435\u0433\u043e \u043b\u0438\u0448\u044c \u043d\u0443\u0436\u0435\u043d \u0441\u0435\u0440\u0432\u0435\u0440 \u0441 \u0443\u0441\u0442\u0430\u043d\u043e\u0432\u043b\u0435\u043d\u043d\u044b\u043c UE. \u041e \u043d\u0430\u0441\u0442\u0440\u043e\u0439\u043a\u0435 CI \u043f\u043e\u0434 Windows, \u044f \u0438 \u0440\u0430\u0441\u0441\u043a\u0430\u0436\u0443.<\/p>\n<p>\u041f\u0440\u043e\u043f\u0443\u0441\u0442\u0438\u043c \u043c\u043e\u043c\u0435\u043d\u0442, \u043a\u043e\u0433\u0434\u0430 \u0443\u0441\u0442\u0430\u043d\u0430\u0432\u043b\u0438\u0432\u0430\u0442\u044c Gitlab\/Source tree, \u0441\u043e\u0437\u0434\u0430\u0432\u0430\u0442\u044c \u0432 \u043d\u0435\u043c \u043d\u043e\u0432\u044b\u0439 \u043f\u0440\u043e\u0435\u043a\u0442 \u0438 \u043f\u0440\u043e\u0447\u0438\u0435 \u043f\u0443\u043d\u043a\u0442\u044b. \u041f\u0440\u0435\u0434\u043f\u043e\u043b\u043e\u0436\u0438\u043c \u0447\u0442\u043e \u0432\u0441\u0435 \u044d\u0442\u043e \u0443\u0436\u0435 \u0435\u0441\u0442\u044c \u0438 \u043d\u0435\u043e\u0431\u0445\u043e\u0434\u0438\u043c\u043e \u043d\u0430\u0441\u0442\u0440\u043e\u0438\u0442\u044c runner \u0432\u043c\u0435\u0441\u0442\u0435 \u0441 CI.<\/p>\n<h2>\u0423\u0441\u0442\u0430\u043d\u043e\u0432\u043a\u0430 Gitlab-Runner<\/h2>\n<p>\u0421\u043e\u0437\u0434\u0430\u0434\u0438\u043c \u043f\u0430\u043f\u043a\u0443 \u043f\u043e\u0434 \u043d\u0435\u0433\u043e, \u043a \u043f\u0440\u0438\u043c\u0435\u0440\u0443: C:\\Gitlab-Runner, \u0441\u043a\u0430\u0447\u0435\u043c \u0431\u0438\u043d\u0430\u0440\u043d\u0438\u043a: <a href=\"https:\/\/gitlab-runner-downloads.s3.amazonaws.com\/latest\/binaries\/gitlab-runner-windows-amd64.exe\" rel=\"noopener noreferrer nofollow\">64-bit<\/a> \u0438\u043b\u0438 <a href=\"https:\/\/gitlab-runner-downloads.s3.amazonaws.com\/latest\/binaries\/gitlab-runner-windows-386.exe\" rel=\"noopener noreferrer nofollow\">32-bit<\/a>, \u0437\u0430\u043a\u0438\u043d\u0435\u043c \u0432 \u043f\u0430\u043f\u043a\u0443 \u0441\u043e\u0437\u0434\u0430\u043d\u043d\u0443\u044e \u0440\u0430\u043d\u0435\u0435 \u0438 \u0441\u043c\u0435\u043d\u0438\u043c \u043d\u0430\u0437\u0432\u0430\u043d\u0438\u0435 \u043d\u0430: gitlab-runner.exe (<a href=\"https:\/\/docs.gitlab.com\/runner\/install\/windows.html\" rel=\"noopener noreferrer nofollow\">\u043f\u043e\u0434\u0440\u043e\u0431\u043d\u0435\u0435<\/a>). \u0413\u043b\u0430\u0432\u043d\u043e\u0435 \u0443\u0431\u0435\u0434\u0438\u0442\u0435\u0441\u044c \u0447\u0442\u043e \u043f\u0430\u043f\u043a\u0430 \u0438\u043c\u0435\u0435\u0442 \u0434\u043e\u0441\u0442\u0443\u043f \u043a \u0437\u0430\u043f\u0438\u0441\u0438 \u0438 \u043c\u043e\u0436\u043d\u043e \u0437\u0430\u043f\u0443\u0441\u043a\u0430\u0442\u044c \u0438\u0437 \u043d\u0435\u0435 \u0444\u0430\u0439\u043b\u044b. \u0417\u0430\u043f\u0443\u0441\u043a\u0430\u0435\u043c cmd, \u0434\u043b\u044f \u0440\u0435\u0433\u0438\u0441\u0442\u0440\u0430\u0446\u0438\u0438 \u0438 \u0443\u0441\u0442\u0430\u043d\u043e\u0432\u043a\u0438 Gitlab-runner.<\/p>\n<p>\u041f\u0435\u0440\u0432\u044b\u043c \u0434\u0435\u043b\u043e\u043c \u0443\u0441\u0442\u0430\u043d\u0430\u0432\u043b\u0438\u0432\u0430\u0435\u043c \u0438 \u0441\u0442\u0430\u0440\u0442\u0443\u0435\u043c runner, \u043d\u0438\u0436\u0435 \u043f\u0440\u0438\u043c\u0435\u0440 \u0441 \u0443\u0447\u0435\u0442\u043e\u043c \u0441\u043b\u0443\u0447\u0430\u0435\u0432, \u043a\u043e\u0433\u0434\u0430 \u0434\u043b\u044f \u0441\u0442\u0430\u0440\u0442\u0430 Windows service, \u043d\u0443\u0436\u0435\u043d \u043b\u043e\u0433\u0438\u043d \u0438 \u043f\u0430\u0440\u043e\u043b\u044c.<\/p>\n<pre><code>cd C:\\Gitlab-Runner .\\gitlab-runner.exe install --user ENTER-YOUR-USERNAME --password ENTER-YOUR-PASSWORD .\\gitlab-runner.exe start<\/code><\/pre>\n<h2>\u0420\u0435\u0433\u0438\u0441\u0442\u0440\u0430\u0446\u0438\u044f \u043d\u043e\u0432\u043e\u0433\u043e Gitlab-runner.<\/h2>\n<p>\u0417\u0430\u0445\u043e\u0434\u0438\u043c \u0447\u0435\u0440\u0435\u0437 \u0432\u0435\u0431-\u0431\u0440\u0430\u0443\u0437\u0435\u0440 \u043d\u0430 \u0441\u0435\u0440\u0432\u0435\u0440 Gitlab, \u043f\u0435\u0440\u0435\u0445\u043e\u0434\u0438\u043c \u043d\u0430 \u043d\u0430\u0448 \u043d\u043e\u0432\u044b\u0435 \u043f\u0440\u043e\u0435\u043a\u0442. \u0414\u0430\u043b\u0435\u0435 Settings \u2192 CI\/CD \u2192 Runners \u0438 \u0440\u0430\u0437\u0432\u043e\u0440\u0430\u0447\u0438\u0432\u0430\u0435\u043c \u0437\u0430\u043a\u043b\u0430\u0434\u043a\u0443, \u0432 \u043a\u043e\u0442\u043e\u0440\u043e\u0439 \u0431\u0443\u0434\u0443\u0442 \u0443\u043a\u0430\u0437\u0430\u043d\u044b \u043d\u0430\u0441\u0442\u0440\u043e\u0439\u043a\u0438 \u0434\u043b\u044f \u043d\u043e\u0432\u043e\u0433\u043e \u0441\u0435\u0440\u0432\u0435\u0440\u0430. <\/p>\n<figure class=\"full-width\"><img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/habrastorage.org\/r\/w1560\/getpro\/habr\/upload_files\/bed\/502\/578\/bed502578b9b5f5661a7b3f27ba36a75.png\" width=\"1430\" height=\"1143\" data-src=\"https:\/\/habrastorage.org\/getpro\/habr\/upload_files\/bed\/502\/578\/bed502578b9b5f5661a7b3f27ba36a75.png\"\/><figcaption><\/figcaption><\/figure>\n<p>\u041e\u0442\u043a\u0440\u044b\u0432\u0430\u0435\u043c \u043a\u043e\u043c\u0430\u043d\u0434\u043d\u0443\u044e \u0441\u0442\u0440\u043e\u043a\u0443 \u043d\u0430 \u0441\u0435\u0440\u0432\u0435\u0440\u0435 \u0441 \u0443\u0441\u0442\u0430\u043d\u043e\u0432\u043b\u0435\u043d\u043d\u044b\u043c Gitlab-runner \u0438 \u043f\u0440\u043e\u043f\u0438\u0441\u044b\u0432\u0430\u0435\u043c \u0434\u043b\u044f \u0440\u0435\u0433\u0438\u0441\u0442\u0440\u0430\u0446\u0438\u0438 \u043d\u043e\u0432\u043e\u0433\u043e runner \u0438 \u0437\u0430\u043f\u043e\u043b\u043d\u044f\u0435\u043c \u0442\u0440\u0435\u0431\u043e\u0432\u0430\u043d\u0438\u044f \u043f\u043e \u043f\u0443\u043d\u043a\u0442\u0430\u043c, \u0443\u043a\u0430\u0437\u0430\u0432 URL \u0441\u0435\u0440\u0432\u0435\u0440\u0430, \u0443\u043d\u0438\u043a\u0430\u043b\u044c\u043d\u044b\u0439 \u0442\u043e\u043a\u0435\u043d (\u0435\u0433\u043e \u043c\u043e\u0436\u043d\u043e \u043f\u0435\u0440\u0435\u0433\u0435\u043d\u0435\u0440\u0438\u0440\u043e\u0432\u0430\u0442\u044c \u0432 \u0441\u043b\u0443\u0447\u0430\u0435 \u043d\u0435\u043e\u0431\u0445\u043e\u0434\u0438\u043c\u043e\u0441\u0442\u0438), \u0438\u043c\u044f \u0438 \u0442\u0435\u0433\u0438, \u043a\u0430\u043a \u0438\u0434\u0435\u043d\u0442\u0438\u0444\u0438\u043a\u0430\u0442\u043e\u0440\u044b \u0441\u0435\u0440\u0432\u0435\u0440\u0430. \u0412\u0430\u0436\u043d\u043e\u0439 \u0434\u0435\u0442\u0430\u043b\u044c\u044e \u044f\u0432\u043b\u044f\u0435\u0442\u0441\u044f \u043f\u0440\u0438 \u043f\u043e\u043c\u043e\u0449\u0438 \u043a\u0430\u043a\u043e\u0433\u043e executor \u0431\u0443\u0434\u0435\u043c \u043e\u0431\u0440\u0430\u0431\u0430\u0442\u044b\u0432\u0430\u0442\u044c yml \u0444\u0430\u0439\u043b (\u044f \u0438\u0441\u043f\u043e\u043b\u044c\u0437\u0443\u044e shell) <a href=\"https:\/\/docs.gitlab.com\/runner\/executors\/\" rel=\"noopener noreferrer nofollow\">\u043f\u043e\u0434\u0440\u043e\u0431\u043d\u0435\u0435<\/a>.<\/p>\n<pre><code>cd c:\\Gitlab-runner .\\Gitlab-runner.exe register<\/code><\/pre>\n<figure class=\"full-width\"><img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/habrastorage.org\/r\/w1560\/getpro\/habr\/upload_files\/84d\/bb0\/4fc\/84dbb04fc8aba1f377608d6ba9e36dc5.png\" width=\"1331\" height=\"296\" data-src=\"https:\/\/habrastorage.org\/getpro\/habr\/upload_files\/84d\/bb0\/4fc\/84dbb04fc8aba1f377608d6ba9e36dc5.png\"\/><figcaption><\/figcaption><\/figure>\n<p>\u0412\u0441\u0435, \u043d\u043e\u0432\u044b\u0439 Runner \u0437\u0430\u0440\u0435\u0433\u0438\u0441\u0442\u0440\u0438\u0440\u043e\u0432\u0430\u043d, \u043e\u0431\u043d\u043e\u0432\u0438\u0432 \u0441\u0442\u0440\u0430\u043d\u0438\u0446\u0443 \u043c\u044b \u0441\u043c\u043e\u0436\u0435\u043c \u0443\u0432\u0438\u0434\u0435\u0442\u044c \u0432\u0441\u0435 \u0434\u043e\u0441\u0442\u0443\u043f\u043d\u044b\u0435 \u0441\u0435\u0440\u0432\u0435\u0440\u0430. \u0412\u0430\u0436\u043d\u044b\u043c \u043c\u043e\u043c\u0435\u043d\u0442\u043e\u043c, \u0434\u043b\u044f \u0434\u0430\u043b\u044c\u043d\u0435\u0439\u0448\u0435\u0439 \u0440\u0430\u0431\u043e\u0442\u044b \u044f\u0432\u043b\u044f\u0435\u0442\u0441\u044f \u043f\u0435\u0440\u0435\u0439\u0442\u0438 \u0432 \u043d\u0430\u0441\u0442\u0440\u043e\u0439\u043a\u0438 \u0441\u0435\u0440\u0432\u0435\u0440\u0430 \u0438 \u0443\u0441\u0442\u0430\u043d\u043e\u0432\u0438\u0442\u044c, \u0431\u0435\u0437 \u044d\u0442\u043e\u0439 \u0433\u0430\u043b\u043e\u0447\u043a\u0438, CI \u0437\u0430\u0432\u0438\u0441\u0430\u0435\u0442 \u0432 \u0440\u0435\u0436\u0438\u043c\u0435 pending:<\/p>\n<figure class=\"full-width\"><img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/habrastorage.org\/r\/w1560\/getpro\/habr\/upload_files\/921\/666\/c12\/921666c125d09b3e7d53c22ab4d964d1.png\" width=\"787\" height=\"834\" data-src=\"https:\/\/habrastorage.org\/getpro\/habr\/upload_files\/921\/666\/c12\/921666c125d09b3e7d53c22ab4d964d1.png\"\/><figcaption><\/figcaption><\/figure>\n<p>\u0422\u0430\u043a \u0436\u0435 \u0434\u043e\u0431\u0430\u0432\u043b\u044e, \u0447\u0442\u043e \u0432 &#171;General pipelines&#187; \u043c\u043e\u0436\u043d\u043e \u0441\u043c\u0435\u043d\u0438\u0442\u044c timeout (\u043f\u043e \u0434\u0435\u0444\u043e\u043b\u0442\u0443 2 \u0447\u0430\u0441\u0430) \u043d\u0430 \u0431\u043e\u043b\u044c\u0448\u043e\u0435 \u0437\u043d\u0430\u0447\u0435\u043d\u0438\u0435 (\u0443 \u043c\u0435\u043d\u044f 16h), \u043f\u043e \u0438\u0441\u0442\u0435\u0447\u0435\u043d\u0438\u044e \u044d\u0442\u043e\u0433\u043e \u0432\u0440\u0435\u043c\u0435\u043d\u0438 CI \u043f\u0440\u043e\u0446\u0435\u0441\u0441 \u043e\u0442\u043a\u043b\u044e\u0447\u0430\u0435\u0442\u0441\u044f.<\/p>\n<p>\u0422\u0430\u043a\u0438\u043c \u0432\u0435\u0441\u044c\u043c\u0430 \u043d\u0435\u0445\u0438\u0442\u0440\u044b\u043c \u0441\u043f\u043e\u0441\u043e\u0431\u043e\u043c \u043c\u044b \u043f\u043e\u0434\u0433\u043e\u0442\u043e\u0432\u0438\u043b\u0438 \u043d\u0430\u0448 \u0441\u0435\u0440\u0432\u0435\u0440 \u043a \u0440\u0430\u0431\u043e\u0442\u0435, \u043a\u0430\u043a \u0431\u0438\u043b\u0434 \u043c\u0430\u0448\u0438\u043d\u0443 \u0434\u043b\u044f CI\/CD. <\/p>\n<h2>\u041d\u0430\u0441\u0442\u0440\u043e\u0439\u043a\u0430 yml \u0438 \u043f\u0435\u0440\u0432\u044b\u0439 \u0437\u0430\u043f\u0443\u0441\u043a<\/h2>\n<p>\u0414\u043b\u044f CI\/CD, \u043d\u0435\u043e\u0431\u0445\u043e\u0434\u0438\u043c\u043e \u0441\u043e\u0437\u0434\u0430\u0442\u044c \u0444\u0430\u0439\u043b (.gitlab-ci.yml) \u0432 \u043a\u043e\u0440\u043d\u0435 \u043f\u0440\u043e\u0435\u043a\u0442\u0430 \u0438 \u0437\u0430\u043b\u0438\u0442\u044c \u0435\u0433\u043e \u0432 \u0440\u0435\u043f\u043e\u0437\u0438\u0442\u043e\u0440\u0438\u0439, \u0442\u0435\u043c \u0441\u0430\u043c\u044b\u043c \u0434\u0430\u0432 \u0438\u043d\u0441\u0442\u0440\u0443\u043a\u0446\u0438\u0438 \u0434\u043b\u044f \u0440\u0430\u0431\u043e\u0442\u044b. Gitlab \u043f\u0440\u043e\u0432\u0435\u0440\u0438\u0442 \u0434\u0430\u043d\u043d\u044b\u0439 \u0441\u043a\u0440\u0438\u043f\u0442 \u0438 \u0435\u0441\u043b\u0438 \u0447\u0442\u043e-\u0442\u043e \u043f\u043e\u0439\u0434\u0435\u0442 \u043d\u0435 \u0442\u0430\u043a, \u0442\u043e \u0432\u044b\u0434\u0430\u0441\u0442 \u043e\u0448\u0438\u0431\u043a\u0443 (yaml invalid error) \u0432 CI\/CD. \u0414\u043b\u044f \u0442\u043e\u0433\u043e, \u0447\u0442\u043e \u0431\u044b, \u043d\u0435 \u043f\u0443\u0448\u0438\u0442\u044c \u0434\u0435\u0441\u044f\u0442\u043a\u0438 \u0441\u043b\u043e\u043c\u0430\u043d\u043d\u044b\u0445 \u0444\u0430\u0439\u043b\u043e\u0432, \u043f\u0440\u044f\u043c\u043e \u043d\u0430 \u0441\u0430\u0439\u0442\u0435 \u0432 \u0437\u0430\u043a\u043b\u0430\u0434\u043a\u0435 CI\/CD \u2192 Pipelines \u0435\u0441\u0442\u044c \u0438\u043d\u0441\u0442\u0440\u0443\u043c\u0435\u043d\u0442: &#171;CI Lint&#187;, \u043f\u0440\u0438 \u043f\u043e\u043c\u043e\u0449\u0438 \u043a\u043e\u0442\u043e\u0440\u043e\u0433\u043e \u043c\u043e\u0436\u043d\u043e \u043f\u0440\u043e\u0432\u0435\u0440\u0438\u0442\u044c \u0441\u043a\u0440\u0438\u043f\u0442 \u043d\u0430 \u043f\u0440\u0430\u0432\u0438\u043b\u044c\u043d\u043e\u0441\u0442\u044c.<\/p>\n<p>\u0422\u0430\u043a \u043a\u0430\u043a, \u043c\u044b \u0440\u0430\u043d\u0435\u0435 \u0443\u043a\u0430\u0437\u0430\u043b\u0438 \u0447\u0442\u043e \u0438\u0441\u043f\u043e\u043b\u044c\u0437\u0443\u0435\u043c Shell executor, \u0442\u043e yml \u0444\u0430\u0439\u043b \u0441\u043e\u0437\u0434\u0430\u0435\u0442\u0441\u044f \u043f\u043e \u043f\u0440\u0438\u043d\u0446\u0438\u043f\u0443 powershell (\u0434\u043b\u044f \u0434\u0440\u0443\u0433\u0438\u0445 executor \u043e\u043d \u043c\u043e\u0436\u0435\u0442 \u043e\u0442\u043b\u0438\u0447\u0430\u0442\u0441\u044f). \u041d\u0438\u0436\u0435 \u044f \u043f\u0440\u0438\u0432\u0435\u043b \u043f\u0440\u0438\u043c\u0435\u0440, \u0441\u0431\u043e\u0440\u043a\u0438 \u043a\u043b\u0438\u0435\u043d\u0442\u0430 \u0432 \u0434\u0432\u0443\u0445 \u0432\u0438\u0434\u0430\u0445 (\u0434\u0435\u0432\\\u0448\u0438\u043f) \u0438 \u0441\u0435\u0440\u0432\u0435\u0440\u0430, \u0430 \u0442\u0430\u043a \u0436\u0435 \u0437\u0430\u043b\u0438\u0432\u043a\u0430 \u043d\u0430 Steam \u0440\u0435\u0448\u0435\u043d\u0438\u0439. \u0411\u043e\u043d\u0443\u0441\u043e\u043c \u043e\u0442\u043f\u0440\u0430\u0432\u043a\u0430 \u0432 \u0434\u0438\u0441\u043a\u043e\u0440\u0434 \u0441\u043e\u043e\u0431\u0449\u0435\u043d\u0438\u044f \u043e\u0431 \u0443\u0441\u043f\u0435\u0448\u043d\u043e\u0439 \u0441\u0431\u043e\u0440\u043a\u0435.<\/p>\n<details class=\"spoiler\">\n<summary>\u041f\u0440\u0438\u043c\u0435\u0440 \u0441\u043a\u0440\u0438\u043f\u0442\u0430 \u0434\u043b\u044f .gitlab-ci.yml<\/summary>\n<div class=\"spoiler__content\">\n<pre><code class=\"powershell\"># last update 10.04.2019 12:58PM # BUILD_CONFIG - Shipping \/ Development \/ DebugGame \/ Debug  variables:     GIT_STRATEGY: none        # we disable fetch, clone or checkout for every job.     GIT_CHECKOUT: \"false\"     # as we only want to checkout and fetch in the preperation stage.     CI_DEBUG_TRACE: \"false\"      CLIENT_BUILD_CONFIG: Shipping     DEV_CLIENT_BUILD_CONFIG: Development     CLIENT_PLATFORM: Win64     SERVER_BUILD_CONFIG: Development     SERVER_PLATFORM: Win64     BUILD_DIR: D:\\Soulhaim\\Builds     CLIENT_DIR: D:\\Soulhaim\\Builds\\client\\ez-client         CLIENT_STEAM_PATH: $CLIENT_DIR\\WindowsNoEditor\\*     CLIENT_ARCH_NAME: $CLIENT_BUILD_CONFIG-$CI_COMMIT_SHA     DEV_CLIENT_DIR: $BUILD_DIR\\dev_client\\ez-client     DEV_CLIENT_STEAM_PATH: $BUILD_DIR\\dev_client\\ez-client\\WindowsNoEditor\\*     DEV_CLIENT_ARCH_NAME: $DEV_CLIENT_BUILD_CONFIG-$CI_COMMIT_SHA     SERVER_DIR: $BUILD_DIR\\server\\ez-server     SERVER_ARCH_NAME: $SERVER_BUILD_CONFIG-$CI_COMMIT_SHA     LOCAL_ARCH_PATH: D:\\BuildsArchives     STEAM_PATH: D:\\steamworks_sdk_148a\\sdk\\tools\\ContentBuilder     UE4_ROOT: D:\\UnrealEngine      stages:     - preperations     - build_path     - build_reflection     - build_light     - build_client         - load_to_steam     - upload_to_steam     - pack_client     - upload_client     - clean_steam_client     - dev_build_client     - dev_load_to_steam     - dev_upload_to_steam     - dev_pack_client     - dev_upload_client         - dev_clean_client     - build_server     - pack_server     - upload_server        - clean_server     - clean                   job_preperations:     stage: preperations     variables:         GIT_STRATEGY: fetch         GIT_CHECKOUT: \"true\"       script:         - echo \"$CLIENT_STEAM_PATH\"         - echo \"$STEAM_PATH\\content\\Soulhaim\"         - (Remove-Item -Path $BUILD_DIR -Force -Recurse -ErrorAction Ignore)         - echo \"Hello\"         - echo \"$UE4_ROOT\"             - echo \"$UE4_ROOT\\Engine\\Build\\BatchFiles\\RunUAT.bat\"         - echo \"$CLIENT_DIR\"         - echo \"$CLIENT_BUILD_CONFIG\"         - echo \"$CLIENT_ARCH_NAME\"         - echo \"$DEV_CLIENT_DIR\"         - echo \"$DEV_CLIENT_BUILD_CONFIG\"         - echo \"$DEV_CLIENT_ARCH_NAME\"         - echo \"$SERVER_DIR\"         - echo \"$SERVER_ARCH_NAME\"     only:         - web          job_build_path:     stage: build_path     script:         - Start-Process -NoNewWindow -Wait \"D:\\Soulhaim_build_path.bat\"     only:         - web       job_build_reflection:     stage: build_reflection     script:         - Start-Process -NoNewWindow -Wait \"D:\\Soulhaim_build_Reflection.bat\"     only:         - web            job_build_light:     stage: build_light     script:         - Start-Process -NoNewWindow -Wait \"D:\\Soulhaim_build_light.bat\"      only:         - web          job_build_client:     stage: build_client     script:     #-ForceDebugInfo -CrashReporter - for debug files     - Start-Process \"$UE4_ROOT\\Engine\\Build\\BatchFiles\\RunUAT.bat\" -NoNewWindow -Wait -ArgumentList \"BuildCookRun\", \"-project=$CI_PROJECT_DIR\\Soulhaim.uproject\", \"-nop4\", \"-build\", \"-cook\", \"-compressed\", \"-stage\", \"-ForceDebugInfo\", \"-allowcommandletrendering\", \"-platform=$CLIENT_PLATFORM\", \"-clientconfig=$CLIENT_BUILD_CONFIG\", \"-pak\", \"-archive\", \"-archivedirectory=$CLIENT_DIR\", \"-utf8output\"     only:         - web  job_Load_To_Steam:     stage: load_to_steam     script:         cp -r \"$CLIENT_STEAM_PATH\" \"$STEAM_PATH\\content\\Soulhaim\"     only:         - web  job_Upload_To_Steam:     stage: upload_to_steam     script:         - Start-Process \"D:\\steamworks_sdk_148a\\sdk\\tools\\ContentBuilder\\run_build.bat\" -NoNewWindow -Wait     only:         - web  job1_pack_client:     stage: pack_client     script:         - Start-Process -NoNewWindow -Wait \"C:\\Program Files\\7-Zip\\7z.exe\" -ArgumentList \"a\", \"$CLIENT_DIR.zip\", \"$CLIENT_DIR\"     only:         - web          job2_copy_to_local_client:     stage: upload_client     script:         - cp \"$CLIENT_DIR.zip\" \"$LOCAL_ARCH_PATH\\client-$CLIENT_ARCH_NAME.zip\"     only:         - web    job3_clean_Steam_Folder:     stage: clean_steam_client     script:         (Remove-Item -Path \"$STEAM_PATH\\content\\Soulhaim\\*\" -Force -Recurse -ErrorAction Ignore)        only:         - web  dev_job_build_client:     stage: dev_build_client     script:     #-ForceDebugInfo -CrashReporter - for debug files         - Start-Process \"$UE4_ROOT\\Engine\\Build\\BatchFiles\\RunUAT.bat\" -NoNewWindow -Wait -ArgumentList \"BuildCookRun\", \"-project=$CI_PROJECT_DIR\\Soulhaim.uproject\", \"-nop4\", \"-build\", \"-cook\", \"-compressed\", \"-stage\", \"-ForceDebugInfo\", \"-CrashReporter\", \"-debug\", \"-allowcommandletrendering\", \"-platform=$CLIENT_PLATFORM\", \"-clientconfig=$DEV_CLIENT_BUILD_CONFIG\", \"-pak\", \"-archive\", \"-archivedirectory=$DEV_CLIENT_DIR\", \"-utf8output\"     only:         - web  job_dev_Load_To_Steam:     stage: dev_load_to_steam     script:         cp -r \"$DEV_CLIENT_STEAM_PATH\" \"$STEAM_PATH\\content\\Soulhaim\"     only:         - web  job_dev_Upload_To_Steam:     stage: dev_upload_to_steam     script:         - Start-Process \"D:\\steamworks_sdk_148a\\sdk\\tools\\ContentBuilder\\run_build.bat\" -NoNewWindow -Wait     only:         - web  job1_dev_pack_client:     stage: dev_pack_client     script:         - Start-Process -NoNewWindow -Wait \"C:\\Program Files\\7-Zip\\7z.exe\" -ArgumentList \"a\", \"$DEV_CLIENT_DIR.zip\", \"$DEV_CLIENT_DIR\"     only:         - web          job2_dev_copy_to_local_client:     stage: dev_upload_client     script:         - cp \"$DEV_CLIENT_DIR.zip\" \"$LOCAL_ARCH_PATH\\client-$DEV_CLIENT_ARCH_NAME.zip\"     only:         - web    job_clean_client:            stage: dev_clean_client     script:        (Remove-Item -Path $BUILD_DIR -Force -Recurse -ErrorAction Ignore)     only:         - web              job_build_server:     stage: build_server     script:         - Start-Process \"$UE4_ROOT\\Engine\\Build\\BatchFiles\\RunUAT.bat\" -NoNewWindow -Wait -ArgumentList \"BuildCookRun\", \"-nocompileeditor\", \"-project=$CI_PROJECT_DIR\\Soulhaim.uproject\", \"-nop4\", \"-build\", \"-cook\", \"-compressed\", \"-stage\", \"-noclient\", \"-server\", \"-serverplatform=$SERVER_PLATFORM\", \"-serverconfig=$SERVER_BUILD_CONFIG\", \"-pak\", \"-archive\", \"-archivedirectory=$SERVER_DIR\", \"-utf8output\"     only:         - web                         job1_pack_server:     stage: pack_server     script:         - Start-Process -NoNewWindow -Wait \"C:\\Program Files\\7-Zip\\7z.exe\" -ArgumentList \"a\", \"$SERVER_DIR.zip\", \"$SERVER_DIR\"     only:         - web          job2_copy_to_local_server:     stage: upload_server     script:         - cp \"$SERVER_DIR.zip\" \"$LOCAL_ARCH_PATH\\server-$SERVER_ARCH_NAME.zip\"     only:         - web       job3_unpack_local_server:     stage: upload_server     script:         - Start-Process -NoNewWindow -Wait \"C:\\Program Files\\7-Zip\\7z.exe\" -ArgumentList \"x\", \"$LOCAL_ARCH_PATH\\server-$SERVER_ARCH_NAME.zip\", \"-oD:\\\"     only:         - web          job4_send_notify_server_to_slack:     stage: upload_server     script:         - Start-Process \"D:\\Soulhaim_Message_Discord.bat\" \"New Awesome build is ready\" -NoNewWindow -Wait     only:         - web      job_clean_server:     stage: clean_server     script:         (Remove-Item -Path $BUILD_DIR -Force -Recurse -ErrorAction Ignore)             only:         - web          job_clean:     stage: clean     script:         (Remove-Item -Path \"$STEAM_PATH\\content\\Soulhaim\\*\" -Force -Recurse -ErrorAction Ignore)        only:         - web<\/code><\/pre>\n<\/div>\n<\/details>\n<p>\u041f\u0435\u0440\u0432\u044b\u043c \u044d\u0442\u0430\u043f\u043e\u043c (preperation), \u043e\u0447\u0438\u0449\u0430\u0435\u043c \u043f\u0430\u043f\u043a\u0443 \u043e\u0442 \u0441\u0442\u0430\u0440\u043e\u0433\u043e \u0431\u0438\u043b\u0434\u0430, \u0430 \u0442\u0430\u043a\u0436\u0435 \u0437\u0430\u0431\u0438\u0440\u0430\u0435\u043c \u0441 \u0440\u0435\u043f\u043e\u0437\u0438\u0442\u043e\u0440\u0438\u044f \u0432\u0441\u0435 \u043f\u043e\u0441\u043b\u0435\u0434\u043d\u0438\u0435 \u0438\u0437\u043c\u0435\u043d\u0435\u043d\u0438\u044f. \u0416\u0435\u043b\u0430\u0442\u0435\u043b\u044c\u043d\u043e, \u043f\u0435\u0440\u0432\u044b\u043c \u0437\u0430\u043f\u0443\u0441\u043a\u043e\u043c \u0441\u0434\u0435\u043b\u0430\u0442\u044c \u0442\u043e\u043b\u044c\u043a\u043e \u044d\u0442\u043e\u0442 \u044d\u0442\u0430\u043f, \u0442\u0430\u043a \u043a\u0430\u043a \u0441\u043b\u0435\u0434\u0443\u044e\u0449\u0438\u0435 \u0448\u0430\u0433\u0438 \u0441\u0432\u044f\u0437\u0430\u043d\u044b \u0441 \u043f\u0440\u043e\u0435\u043a\u0442\u043e\u043c \u0438 \u043d\u0430\u043c \u043d\u0443\u0436\u0435\u043d \u043f\u0443\u0442\u044c \u043a \u043d\u0435\u043c\u0443.<\/p>\n<p>\u0421\u043b\u0435\u0434\u0443\u044e\u0449\u0438\u043c\u0438 \u044d\u0442\u0430\u043f\u0430\u043c\u0438 \u043f\u0440\u043e\u0441\u0447\u0438\u0442\u044b\u0432\u0430\u0435\u043c navmesh\\light\\reflection, \u0441\u043a\u0440\u0438\u043f\u0442\u044b \u043a\u043e\u0442\u043e\u0440\u044b\u0445 \u0440\u0430\u0441\u043f\u043e\u043b\u043e\u0436\u0435\u043d\u044b \u0432 \u043e\u0431\u044b\u0447\u043d\u044b\u0445 *.bat \u0444\u0430\u0439\u043b\u0430\u0445. \u041f\u0440\u0438\u043c\u0435\u0440 \u0434\u043b\u044f \u043f\u0440\u043e\u0441\u0447\u0435\u0442\u0430 \u0441\u0432\u0435\u0442\u0430 \u043d\u0430 \u0434\u0432\u0443\u0445 \u043a\u0430\u0440\u0442\u0430\u0445: \u0427\u0435\u0440\u0435\u0437 &#171;+&#187; \u043c\u043e\u0436\u043d\u043e \u0443\u043a\u0430\u0437\u044b\u0432\u0430\u0442\u044c \u0441\u043f\u0438\u0441\u043e\u043a \u043a\u0430\u0440\u0442. <\/p>\n<p>\u041e\u0442\u0434\u0435\u043b\u044c\u043d\u043e \u043d\u0435\u043e\u0431\u0445\u043e\u0434\u0438\u043c\u043e \u0434\u043e\u0431\u0430\u0432\u0438\u0442\u044c, \u0447\u0442\u043e \u0435\u0441\u043b\u0438 \u0432\u044b \u0440\u0430\u0431\u043e\u0442\u0430\u0435\u0442\u0435 \u0441 \u0431\u0438\u043d\u0430\u0440\u043d\u043e\u0439 \u0432\u0435\u0440\u0441\u0438\u0435\u0439, \u0442\u043e \u043f\u0440\u043e\u0441\u0447\u0435\u0442 navmesh\\light\\reflection \u0436\u0435\u043b\u0430\u0442\u0435\u043b\u044c\u043d\u043e \u0434\u0435\u043b\u0430\u0442\u044c \u0442\u0430\u043a \u0436\u0435 \u043d\u0430 \u0431\u0438\u043d\u0430\u0440\u043d\u043e\u0439 \u0432\u0435\u0440\u0441\u0438\u0438, \u0432 \u043f\u0440\u043e\u0442\u0438\u0432\u043d\u043e\u043c \u0441\u043b\u0443\u0447\u0430\u0435 \u043d\u0430 \u0432\u0435\u0440\u0441\u0438\u0438 \u0438\u0437 \u0438\u0441\u0445\u043e\u0434\u043d\u0438\u043a\u043e\u0432, \u0434\u0432\u0438\u0436\u043e\u043a \u0431\u0443\u0434\u0435\u0442 \u0442\u0440\u0435\u0431\u043e\u0432\u0430\u0442\u044c \u0441\u0434\u0435\u043b\u0430\u0442\u044c \u0440\u0435\u0431\u0438\u043b\u0434 \u0440\u0435\u0448\u0435\u043d\u0438\u044f, \u0438 \u0432 \u043f\u0440\u043e\u0446\u0435\u0441\u0441 \u0437\u0430\u0441\u0442\u0440\u044f\u043d\u0435\u0442 (\u0432\u043e\u0437\u043c\u043e\u0436\u043d\u043e \u0435\u0441\u0442\u044c \u0440\u0435\u0448\u0435\u043d\u0438\u0435, \u043d\u043e \u044f \u043a \u0441\u043e\u0436\u0430\u043b\u0435\u043d\u0438\u044e \u0435\u0433\u043e \u043d\u0435 \u043d\u0430\u0448\u0435\u043b).<\/p>\n<pre><code>\"C:\\Program Files\\Epic Games\\UE_4.26\\Engine\\Binaries\\Win64\\UE4Editor-Cmd.exe\" \"D:\\GitLab-Runner\\builds\\ComtV2y9\\0\\Soulhaim\\Soulhaim\\Soulhaim.uproject\" -nop4 -run=resavepackages -buildlighting -quality=Preview -allowcommandletrendering -map=LobbyMap+GameMap<\/code><\/pre>\n<p>\u0414\u0430\u043b\u0435\u0435 \u0448\u0430\u0433 \u0437\u0430 \u0448\u0430\u0433\u043e\u043c, \u043f\u0440\u043e\u0438\u0437\u043e\u0439\u0434\u0435\u0442 \u0441\u0431\u043e\u0440\u043a\u0430 Shipping client \u2192 Steam, Development client \u2192 Steam, Server \u0430\u0440\u0445\u0438\u0432\u0438\u0432\u0438\u0440\u0443\u0435\u043c \u0432\u0441\u0435 \u044d\u0442\u043e \u0438 \u043f\u043e\u043c\u0435\u0449\u0430\u0435\u043c \u0432 \u043e\u0442\u0434\u0435\u043b\u044c\u043d\u0443\u044e \u043f\u0430\u043f\u043a\u0443 \u0432 \u0432\u0438\u0434\u0435 client\/server-Dev\/ship-hash.zip, \u0435\u0441\u043b\u0438 \u0436\u0435 \u0431\u0438\u043b\u0434\u043e\u0432 \u043e\u0447\u0435\u043d\u044c \u043c\u043d\u043e\u0433\u043e, \u0442\u043e \u0432\u0440\u0435\u043c\u044f \u043e\u0442 \u0432\u0440\u0435\u043c\u0435\u043d\u0438 \u043d\u0443\u0436\u043d\u043e \u0431\u0443\u0434\u0435\u0442 \u0447\u0438\u0441\u0442\u0438\u0442\u044c \u043f\u0430\u043f\u043a\u0443 \u0441 \u0430\u0440\u0445\u0438\u0432\u0430\u043c\u0438, \u0438\u043b\u0438 \u043f\u0440\u043e\u0441\u0442\u043e \u0443\u0431\u0440\u0430\u0442\u044c \u044d\u0442\u0438 \u0448\u0430\u0433\u0438 \u0438\u0437 CI. <\/p>\n<p>\u0412\u0430\u0436\u043d\u044b\u0439 \u043c\u043e\u043c\u0435\u043d\u0442, \u0442\u0430\u043a \u043a\u0430\u043a \u043f\u0440\u043e\u0446\u0435\u0441\u0441 \u0430\u0432\u0442\u043e\u043c\u0430\u0442\u0438\u0447\u0435\u0441\u043a\u0438\u0439, \u043f\u043e\u0434 Steam \u043d\u0443\u0436\u043d\u043e \u0441\u043e\u0437\u0434\u0430\u0442\u044c \u043e\u0442\u0434\u0435\u043b\u044c\u043d\u043e\u0433\u043e \u043f\u043e\u043b\u044c\u0437\u043e\u0432\u0430\u0442\u0435\u043b\u044f \u0441 \u043f\u0440\u0430\u0432\u0430\u043c\u0438 \u043d\u0430 \u0437\u0430\u043b\u0438\u0432\u043a\u0443 \u0431\u0438\u043b\u0434\u0430, \u0438 \u0431\u0435\u0437 \u043a\u0430\u043a\u043e\u0439 \u043b\u0438\u0431\u043e \u0434\u0432\u0443\u0445\u0444\u0430\u043a\u0442\u043e\u0440\u043d\u043e\u0439 \u0437\u0430\u0449\u0438\u0442\u044b, \u0438\u043d\u0430\u0447\u0435 \u043f\u0440\u043e\u0446\u0435\u0441\u0441 \u0431\u0443\u0434\u0435\u0442 \u0432\u0438\u0441\u0435\u0442\u044c \u0432 \u043e\u0436\u0438\u0434\u0430\u043d\u0438\u0438 \u043a\u043e\u0434\u0430 \u043f\u043e\u0434\u0442\u0432\u0435\u0440\u0436\u0434\u0435\u043d\u0438\u044f, \u043a\u043e\u0442\u043e\u0440\u044b\u0439 \u043d\u0435\u043a\u0443\u0434\u0430 \u0431\u0443\u0434\u0435\u0442 \u0432\u0431\u0438\u0432\u0430\u0442\u044c.<\/p>\n<h2>\u0417\u0430\u043f\u0443\u0441\u043a<\/h2>\n<p>\u0417\u0430\u043f\u0443\u0441\u043a \u043f\u0440\u043e\u0438\u0441\u0445\u043e\u0434\u0438\u0442 \u043a\u0440\u0430\u0439\u043d\u0435 \u043f\u0440\u043e\u0441\u0442\u043e, \u043f\u0435\u0440\u0435\u0445\u043e\u0434\u0438\u043c \u043d\u0430 Ci\/CD \u2192 Pipelines \u0438 \u0436\u043c\u0435\u043c \u0431\u043e\u043b\u044c\u0448\u0443\u044e \u0437\u0435\u043b\u0435\u043d\u0443\u044e \u043a\u043d\u043e\u043f\u043a\u0443 RunPipeline, \u0432\u044b\u0431\u0438\u0440\u0430\u0435\u043c \u0441 \u043a\u0430\u043a\u043e\u0439 \u0432\u0435\u0442\u043a\u0438 \u0445\u043e\u0442\u0438\u043c \u0441\u043e\u0431\u0440\u0430\u0442\u044c \u0438 \u0437\u0430\u043f\u0443\u0441\u043a\u0430\u0435\u043c \u043f\u0440\u043e\u0446\u0435\u0441\u0441. \u0414\u0430\u043b\u044c\u0448\u0435, \u0435\u0441\u043b\u0438 \u0432\u0441\u0435 \u0445\u043e\u0440\u043e\u0448\u043e, \u043e\u0441\u0442\u0430\u0435\u0442\u0441\u044f \u043e\u0442\u043a\u0438\u043d\u0443\u0442\u0441\u044f \u0432 \u0443\u0434\u043e\u0431\u043d\u043e\u043c \u043a\u0440\u0435\u0441\u043b\u0435 \u0441 \u0447\u0430\u0435\u043c \u0438 \u043e\u0436\u0438\u0434\u0430\u0442\u044c \u043a\u043e\u0433\u0434\u0430 \u043f\u0440\u043e\u0446\u0435\u0441\u0441 \u0434\u043e\u0439\u0434\u0435\u0442 \u0434\u043e \u043a\u043e\u043d\u0446\u0430 (\u0438\u043b\u0438 \u0437\u0430\u0444\u0435\u0439\u043b\u0438\u0442\u0441\u044f). \u041b\u044e\u0431\u043e\u0439 \u044d\u0442\u0430\u043f \u043c\u043e\u0436\u043d\u043e \u043e\u0442\u043a\u0440\u044b\u0442\u044c \u0438 \u0438\u0437\u0443\u0447\u0438\u0442\u044c \u043f\u0440\u043e\u0431\u043b\u0435\u043c\u044b, \u0435\u0441\u043b\u0438 \u0442\u0430\u043a\u0438\u0435 \u0432\u043e\u0437\u043d\u0438\u043a\u043d\u0443\u0442.<\/p>\n<figure class=\"full-width\"><img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/habrastorage.org\/r\/w1560\/getpro\/habr\/upload_files\/79e\/65b\/cab\/79e65bcab2be1b1476a3a65b24c5a9bd.png\" width=\"1517\" height=\"370\" data-src=\"https:\/\/habrastorage.org\/getpro\/habr\/upload_files\/79e\/65b\/cab\/79e65bcab2be1b1476a3a65b24c5a9bd.png\"\/><figcaption><\/figcaption><\/figure>\n<h2>\u0411\u043e\u043d\u0443\u0441 \u043e\u0442\u043f\u0440\u0430\u0432\u043a\u0438 \u0432 \u0434\u0438\u0441\u043a\u043e\u0440\u0434 \u0441\u043e\u043e\u0431\u0449\u0435\u043d\u0438\u044f<\/h2>\n<p>\u0421\u043f\u0435\u0440\u0432\u0430 \u0437\u0430\u0445\u043e\u0434\u0438\u043c \u0432 \u043d\u0430\u0441\u0442\u0440\u043e\u0439\u043a\u0438 \u043a\u0430\u043d\u0430\u043b\u0430 \u0434\u0438\u0441\u043a\u043e\u0440\u0434\u0430 \u2192 \u0438\u043d\u0442\u0435\u0433\u0440\u0430\u0446\u0438\u044f \u2192 \u0412\u0435\u0431\u0445\u0443\u043a\u0438, \u0441\u043e\u0437\u0434\u0430\u0435\u0442\u0435 \u043d\u043e\u0432\u044b\u0439 \u0438 \u043a\u043e\u043f\u0438\u0440\u0443\u0435\u0442\u0435 \u0435\u0433\u043e URL, \u0430 \u0434\u0430\u043b\u044c\u0448\u0435 \u043f\u0440\u043e\u0441\u0442\u043e \u0432 bat \u0432\u0441\u0442\u0430\u0432\u043b\u044f\u0435\u0442\u0435 \u0441\u043e\u043e\u0431\u0449\u0435\u043d\u0438\u0435 \u0438 \u0441\u0441\u044b\u043b\u043a\u0443:<\/p>\n<pre><code>curl -d \"content=Build is ready: Soulhaim\" -X POST https:\/\/\u0432\u0435\u0431\u0445\u0443\u043a \u0432\u0430\u0448\u0435\u0433\u043e \u043a\u0430\u043d\u0430\u043b\u0430 \u0432 \u0434\u0438\u0441\u043a\u043e\u0440\u0434\u0435<\/code><\/pre>\n<h2>\u0417\u0430\u043a\u043b\u044e\u0447\u0435\u043d\u0438\u0435<\/h2>\n<p>\u0412\u043e\u0442 \u0441\u043e\u0431\u0441\u0442\u0432\u0435\u043d\u043d\u043e \u0438 \u0432\u0435\u0441\u044c \u043f\u0440\u043e\u0446\u0435\u0441\u0441 \u043d\u0430\u0441\u0442\u0440\u043e\u0439\u043a\u0438 CI\\CD \u0432 Gitlab, \u043f\u043e\u0434\u0440\u043e\u0431\u043d\u0435\u0435 \u043c\u043e\u0436\u043d\u043e \u043f\u043e\u0447\u0438\u0442\u0430\u0442\u044c \u043d\u0430 \u043e\u0444\u0438\u0446\u0438\u0430\u043b\u044c\u043d\u043e\u043c \u0441\u0430\u0439\u0442\u0435 \u0432 \u0434\u043e\u043a\u0443\u043c\u0435\u043d\u0442\u0430\u0446\u0438\u0438, \u043d\u043e \u044f \u043f\u043e\u0441\u0442\u0430\u0440\u0430\u043b\u0441\u044f \u043f\u043e\u0434\u0440\u043e\u0431\u043d\u043e \u043e\u043f\u0438\u0441\u0430\u0442\u044c \u043f\u0440\u043e\u0446\u0435\u0441\u0441 \u0441 \u043f\u0440\u0438\u043c\u0435\u0440\u0430\u043c\u0438. \u041d\u0430\u0434\u0435\u044e\u0441\u044c \u0441\u0442\u0430\u0442\u044c\u044f \u0431\u0443\u0434\u0435\u0442 \u0432\u0430\u043c \u043f\u043e\u043b\u0435\u0437\u043d\u043e\u0439, \u0438 \u044f \u043d\u0438\u0447\u0435\u0433\u043e \u0432\u0430\u0436\u043d\u043e\u0433\u043e \u043d\u0435 \u0437\u0430\u0431\u044b\u043b \u0432 \u043d\u0435\u0439 \u0443\u043a\u0430\u0437\u0430\u0442\u044c. <\/p>\n<p>\u0412\u0441\u0435\u043c \u0441\u043f\u0430\u0441\u0438\u0431\u043e \u0437\u0430 \u0432\u043d\u0438\u043c\u0430\u043d\u0438\u0435 \u0438 \u0434\u0430 \u043f\u0440\u0438\u0431\u0443\u0434\u0435\u0442 \u0441 \u0432\u0430\u043c\u0438 \u0441\u0438\u043b\u0430 \u0437\u043d\u0430\u043d\u0438\u0439.<\/p>\n<\/div>\n<\/div>\n<\/div>\n<p><!----><!----><\/div>\n<p><!----><!----><br \/> \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\/articles\/581014\/\"> https:\/\/habr.com\/ru\/articles\/581014\/<\/a><\/p>\n","protected":false},"excerpt":{"rendered":"<div><!--[--><!--]--><\/div>\n<div id=\"post-content-body\">\n<div>\n<div class=\"article-formatted-body article-formatted-body article-formatted-body_version-2\">\n<div xmlns=\"http:\/\/www.w3.org\/1999\/xhtml\">\n<p>\u041f\u043e\u043f\u0440\u043e\u0431\u043e\u0432\u0430\u0432 \u0440\u0430\u0437\u043d\u044b\u0435 Source Control \u0432 \u0441\u0432\u044f\u0437\u043a\u0435 \u0441 UE (Gitlab,SVN,Perforce) \u043d\u0430 \u0442\u0435\u043a\u0443\u0449\u0438\u0439 \u043c\u043e\u043c\u0435\u043d\u0442, \u0434\u043b\u044f \u0438\u043d\u0434\u0438 \u043f\u0440\u043e\u0435\u043a\u0442\u0430 \u044f \u0432\u044b\u0431\u0440\u0430\u043b \u043d\u0430\u0438\u0431\u043e\u043b\u0435\u0435 \u0443\u0434\u043e\u0431\u043d\u043e\u0435 \u0440\u0435\u0448\u0435\u043d\u0438\u0435, \u0445\u043e\u0442\u044f \u0438 \u043d\u0435 \u0441\u0430\u043c\u043e\u0435 \u043f\u0440\u043e\u0441\u0442\u043e\u0435 \u0432 \u0443\u0441\u0442\u0430\u043d\u043e\u0432\u043a\u0435:<\/p>\n<p>Gitlab &#8212; \u0414\u043b\u044f \u0438\u0441\u043f\u043e\u043b\u044c\u0437\u043e\u0432\u0430\u043d\u0438\u044f \u043d\u0430 \u0441\u0432\u043e\u0435\u043c \u0441\u0435\u0440\u0432\u0435\u0440\u0435, \u043d\u0443\u0436\u043d\u043e \u0438\u043c\u0435\u0442\u044c \u043c\u0430\u0448\u0438\u043d\u0443 \u0441 \u043b\u0438\u043d\u0443\u043a\u0441\u043e\u043c(\u0438\u0441\u043f\u043e\u043b\u044c\u0437\u0443\u044e mint), \u043d\u0435\u043a\u043e\u0442\u043e\u0440\u043e\u0435 \u0432\u0440\u0435\u043c\u044f \u0438 \u0442\u0435\u0440\u043f\u0435\u043d\u0438\u0435 \u043d\u0430 \u0443\u0441\u0442\u0430\u043d\u043e\u0432\u043a\u0443 \u0441\u0435\u0440\u0432\u0435\u0440\u0430 \u0438 \u0432\u0441\u0435, \u043c\u044b \u0441\u0447\u0430\u0441\u0442\u043b\u0438\u0432\u044b\u0435 \u043e\u0431\u043b\u0430\u0434\u0430\u0442\u0435\u043b\u0438 \u0431\u0435\u0441\u043f\u043b\u0430\u0442\u043d\u043e\u0433\u043e \u0441\u0435\u0440\u0432\u0435\u0440\u0430 \u0433\u0438\u0442\u043b\u0430\u0431. \u0414\u0430\u043b\u044c\u0448\u0435 \u043d\u0430\u0441\u0442\u0440\u0430\u0438\u0432\u0430\u0435\u043c \u043f\u043e\u0434\u043a\u043b\u044e\u0447\u0435\u043d\u0438\u0435 \u0447\u0435\u0440\u0435\u0437 SourceTree \u0438 \u0438\u0441\u043f\u043e\u043b\u044c\u0437\u0443\u0435\u043c;<\/p>\n<p>\u0415\u0449\u0435 \u043e\u0434\u043d\u043e\u0439 \u043f\u0440\u0435\u043b\u0435\u0441\u0442\u044c\u044e Gitlab, \u044f \u0431\u044b \u043d\u0430\u0437\u0432\u0430\u043b \u0432\u0441\u0442\u0440\u043e\u0435\u043d\u043d\u044b\u0439 \u0438\u043d\u0441\u0442\u0440\u0443\u043c\u0435\u043d\u0442 \u0434\u043b\u044f CI\/CD, \u043a\u043e\u0442\u043e\u0440\u044b\u0439 \u0432\u0435\u0441\u044c\u043c\u0430 \u043b\u0435\u0433\u043a\u043e \u043d\u0430\u0441\u0442\u0440\u0430\u0438\u0432\u0430\u0435\u0442\u0441\u044f \u0438 \u043f\u043e\u0437\u0432\u043e\u043b\u044f\u0435\u0442 \u043f\u043e \u043e\u0434\u043d\u043e\u043c\u0443 \u043d\u0430\u0436\u0430\u0442\u0438\u044e \u043a\u043d\u043e\u043f\u043a\u0438: \u0411\u0438\u043b\u0434\u0438\u0442\u044c \u0441\u0432\u0435\u0442, \u043f\u0430\u043a\u043e\u0432\u0430\u0442\u044c \u0438\u0433\u0440\u0443, \u0437\u0430\u043b\u0438\u0432\u0430\u0442\u044c \u0435\u0435 \u0432 \u0441\u0442\u0438\u043c, \u043e\u0442\u043f\u0440\u0430\u0432\u043b\u044f\u0442\u044c \u0441\u043e\u043e\u0431\u0449\u0435\u043d\u0438\u0435 \u0432 \u0434\u0438\u0441\u043a\u043e\u0440\u0434 \u0438 \u0442.\u0434, \u0432\u0441\u0435\u0433\u043e \u043b\u0438\u0448\u044c \u043d\u0443\u0436\u0435\u043d \u0441\u0435\u0440\u0432\u0435\u0440 \u0441 \u0443\u0441\u0442\u0430\u043d\u043e\u0432\u043b\u0435\u043d\u043d\u044b\u043c UE. \u041e \u043d\u0430\u0441\u0442\u0440\u043e\u0439\u043a\u0435 CI \u043f\u043e\u0434 Windows, \u044f \u0438 \u0440\u0430\u0441\u0441\u043a\u0430\u0436\u0443.<\/p>\n<p>\u041f\u0440\u043e\u043f\u0443\u0441\u0442\u0438\u043c \u043c\u043e\u043c\u0435\u043d\u0442, \u043a\u043e\u0433\u0434\u0430 \u0443\u0441\u0442\u0430\u043d\u0430\u0432\u043b\u0438\u0432\u0430\u0442\u044c Gitlab\/Source tree, \u0441\u043e\u0437\u0434\u0430\u0432\u0430\u0442\u044c \u0432 \u043d\u0435\u043c \u043d\u043e\u0432\u044b\u0439 \u043f\u0440\u043e\u0435\u043a\u0442 \u0438 \u043f\u0440\u043e\u0447\u0438\u0435 \u043f\u0443\u043d\u043a\u0442\u044b. \u041f\u0440\u0435\u0434\u043f\u043e\u043b\u043e\u0436\u0438\u043c \u0447\u0442\u043e \u0432\u0441\u0435 \u044d\u0442\u043e \u0443\u0436\u0435 \u0435\u0441\u0442\u044c \u0438 \u043d\u0435\u043e\u0431\u0445\u043e\u0434\u0438\u043c\u043e \u043d\u0430\u0441\u0442\u0440\u043e\u0438\u0442\u044c runner \u0432\u043c\u0435\u0441\u0442\u0435 \u0441 CI.<\/p>\n<h2>\u0423\u0441\u0442\u0430\u043d\u043e\u0432\u043a\u0430 Gitlab-Runner<\/h2>\n<p>\u0421\u043e\u0437\u0434\u0430\u0434\u0438\u043c \u043f\u0430\u043f\u043a\u0443 \u043f\u043e\u0434 \u043d\u0435\u0433\u043e, \u043a \u043f\u0440\u0438\u043c\u0435\u0440\u0443: C:\\Gitlab-Runner, \u0441\u043a\u0430\u0447\u0435\u043c \u0431\u0438\u043d\u0430\u0440\u043d\u0438\u043a: <a href=\"https:\/\/gitlab-runner-downloads.s3.amazonaws.com\/latest\/binaries\/gitlab-runner-windows-amd64.exe\" rel=\"noopener noreferrer nofollow\">64-bit<\/a> \u0438\u043b\u0438 <a href=\"https:\/\/gitlab-runner-downloads.s3.amazonaws.com\/latest\/binaries\/gitlab-runner-windows-386.exe\" rel=\"noopener noreferrer nofollow\">32-bit<\/a>, \u0437\u0430\u043a\u0438\u043d\u0435\u043c \u0432 \u043f\u0430\u043f\u043a\u0443 \u0441\u043e\u0437\u0434\u0430\u043d\u043d\u0443\u044e \u0440\u0430\u043d\u0435\u0435 \u0438 \u0441\u043c\u0435\u043d\u0438\u043c \u043d\u0430\u0437\u0432\u0430\u043d\u0438\u0435 \u043d\u0430: gitlab-runner.exe (<a href=\"https:\/\/docs.gitlab.com\/runner\/install\/windows.html\" rel=\"noopener noreferrer nofollow\">\u043f\u043e\u0434\u0440\u043e\u0431\u043d\u0435\u0435<\/a>). \u0413\u043b\u0430\u0432\u043d\u043e\u0435 \u0443\u0431\u0435\u0434\u0438\u0442\u0435\u0441\u044c \u0447\u0442\u043e \u043f\u0430\u043f\u043a\u0430 \u0438\u043c\u0435\u0435\u0442 \u0434\u043e\u0441\u0442\u0443\u043f \u043a \u0437\u0430\u043f\u0438\u0441\u0438 \u0438 \u043c\u043e\u0436\u043d\u043e \u0437\u0430\u043f\u0443\u0441\u043a\u0430\u0442\u044c \u0438\u0437 \u043d\u0435\u0435 \u0444\u0430\u0439\u043b\u044b. \u0417\u0430\u043f\u0443\u0441\u043a\u0430\u0435\u043c cmd, \u0434\u043b\u044f \u0440\u0435\u0433\u0438\u0441\u0442\u0440\u0430\u0446\u0438\u0438 \u0438 \u0443\u0441\u0442\u0430\u043d\u043e\u0432\u043a\u0438 Gitlab-runner.<\/p>\n<p>\u041f\u0435\u0440\u0432\u044b\u043c \u0434\u0435\u043b\u043e\u043c \u0443\u0441\u0442\u0430\u043d\u0430\u0432\u043b\u0438\u0432\u0430\u0435\u043c \u0438 \u0441\u0442\u0430\u0440\u0442\u0443\u0435\u043c runner, \u043d\u0438\u0436\u0435 \u043f\u0440\u0438\u043c\u0435\u0440 \u0441 \u0443\u0447\u0435\u0442\u043e\u043c \u0441\u043b\u0443\u0447\u0430\u0435\u0432, \u043a\u043e\u0433\u0434\u0430 \u0434\u043b\u044f \u0441\u0442\u0430\u0440\u0442\u0430 Windows service, \u043d\u0443\u0436\u0435\u043d \u043b\u043e\u0433\u0438\u043d \u0438 \u043f\u0430\u0440\u043e\u043b\u044c.<\/p>\n<pre><code>cd C:\\Gitlab-Runner .\\gitlab-runner.exe install --user ENTER-YOUR-USERNAME --password ENTER-YOUR-PASSWORD .\\gitlab-runner.exe start<\/code><\/pre>\n<h2>\u0420\u0435\u0433\u0438\u0441\u0442\u0440\u0430\u0446\u0438\u044f \u043d\u043e\u0432\u043e\u0433\u043e Gitlab-runner.<\/h2>\n<p>\u0417\u0430\u0445\u043e\u0434\u0438\u043c \u0447\u0435\u0440\u0435\u0437 \u0432\u0435\u0431-\u0431\u0440\u0430\u0443\u0437\u0435\u0440 \u043d\u0430 \u0441\u0435\u0440\u0432\u0435\u0440 Gitlab, \u043f\u0435\u0440\u0435\u0445\u043e\u0434\u0438\u043c \u043d\u0430 \u043d\u0430\u0448 \u043d\u043e\u0432\u044b\u0435 \u043f\u0440\u043e\u0435\u043a\u0442. \u0414\u0430\u043b\u0435\u0435 Settings \u2192 CI\/CD \u2192 Runners \u0438 \u0440\u0430\u0437\u0432\u043e\u0440\u0430\u0447\u0438\u0432\u0430\u0435\u043c \u0437\u0430\u043a\u043b\u0430\u0434\u043a\u0443, \u0432 \u043a\u043e\u0442\u043e\u0440\u043e\u0439 \u0431\u0443\u0434\u0443\u0442 \u0443\u043a\u0430\u0437\u0430\u043d\u044b \u043d\u0430\u0441\u0442\u0440\u043e\u0439\u043a\u0438 \u0434\u043b\u044f \u043d\u043e\u0432\u043e\u0433\u043e \u0441\u0435\u0440\u0432\u0435\u0440\u0430. <\/p>\n<figure class=\"full-width\"><figcaption><\/figcaption><\/figure>\n<p>\u041e\u0442\u043a\u0440\u044b\u0432\u0430\u0435\u043c \u043a\u043e\u043c\u0430\u043d\u0434\u043d\u0443\u044e \u0441\u0442\u0440\u043e\u043a\u0443 \u043d\u0430 \u0441\u0435\u0440\u0432\u0435\u0440\u0435 \u0441 \u0443\u0441\u0442\u0430\u043d\u043e\u0432\u043b\u0435\u043d\u043d\u044b\u043c Gitlab-runner \u0438 \u043f\u0440\u043e\u043f\u0438\u0441\u044b\u0432\u0430\u0435\u043c \u0434\u043b\u044f \u0440\u0435\u0433\u0438\u0441\u0442\u0440\u0430\u0446\u0438\u0438 \u043d\u043e\u0432\u043e\u0433\u043e runner \u0438 \u0437\u0430\u043f\u043e\u043b\u043d\u044f\u0435\u043c \u0442\u0440\u0435\u0431\u043e\u0432\u0430\u043d\u0438\u044f \u043f\u043e \u043f\u0443\u043d\u043a\u0442\u0430\u043c, \u0443\u043a\u0430\u0437\u0430\u0432 URL \u0441\u0435\u0440\u0432\u0435\u0440\u0430, \u0443\u043d\u0438\u043a\u0430\u043b\u044c\u043d\u044b\u0439 \u0442\u043e\u043a\u0435\u043d (\u0435\u0433\u043e \u043c\u043e\u0436\u043d\u043e \u043f\u0435\u0440\u0435\u0433\u0435\u043d\u0435\u0440\u0438\u0440\u043e\u0432\u0430\u0442\u044c \u0432 \u0441\u043b\u0443\u0447\u0430\u0435 \u043d\u0435\u043e\u0431\u0445\u043e\u0434\u0438\u043c\u043e\u0441\u0442\u0438), \u0438\u043c\u044f \u0438 \u0442\u0435\u0433\u0438, \u043a\u0430\u043a \u0438\u0434\u0435\u043d\u0442\u0438\u0444\u0438\u043a\u0430\u0442\u043e\u0440\u044b \u0441\u0435\u0440\u0432\u0435\u0440\u0430. \u0412\u0430\u0436\u043d\u043e\u0439 \u0434\u0435\u0442\u0430\u043b\u044c\u044e \u044f\u0432\u043b\u044f\u0435\u0442\u0441\u044f \u043f\u0440\u0438 \u043f\u043e\u043c\u043e\u0449\u0438 \u043a\u0430\u043a\u043e\u0433\u043e executor \u0431\u0443\u0434\u0435\u043c \u043e\u0431\u0440\u0430\u0431\u0430\u0442\u044b\u0432\u0430\u0442\u044c yml \u0444\u0430\u0439\u043b (\u044f \u0438\u0441\u043f\u043e\u043b\u044c\u0437\u0443\u044e shell) <a href=\"https:\/\/docs.gitlab.com\/runner\/executors\/\" rel=\"noopener noreferrer nofollow\">\u043f\u043e\u0434\u0440\u043e\u0431\u043d\u0435\u0435<\/a>.<\/p>\n<pre><code>cd c:\\Gitlab-runner .\\Gitlab-runner.exe register<\/code><\/pre>\n<figure class=\"full-width\"><figcaption><\/figcaption><\/figure>\n<p>\u0412\u0441\u0435, \u043d\u043e\u0432\u044b\u0439 Runner \u0437\u0430\u0440\u0435\u0433\u0438\u0441\u0442\u0440\u0438\u0440\u043e\u0432\u0430\u043d, \u043e\u0431\u043d\u043e\u0432\u0438\u0432 \u0441\u0442\u0440\u0430\u043d\u0438\u0446\u0443 \u043c\u044b \u0441\u043c\u043e\u0436\u0435\u043c \u0443\u0432\u0438\u0434\u0435\u0442\u044c \u0432\u0441\u0435 \u0434\u043e\u0441\u0442\u0443\u043f\u043d\u044b\u0435 \u0441\u0435\u0440\u0432\u0435\u0440\u0430. \u0412\u0430\u0436\u043d\u044b\u043c \u043c\u043e\u043c\u0435\u043d\u0442\u043e\u043c, \u0434\u043b\u044f \u0434\u0430\u043b\u044c\u043d\u0435\u0439\u0448\u0435\u0439 \u0440\u0430\u0431\u043e\u0442\u044b \u044f\u0432\u043b\u044f\u0435\u0442\u0441\u044f \u043f\u0435\u0440\u0435\u0439\u0442\u0438 \u0432 \u043d\u0430\u0441\u0442\u0440\u043e\u0439\u043a\u0438 \u0441\u0435\u0440\u0432\u0435\u0440\u0430 \u0438 \u0443\u0441\u0442\u0430\u043d\u043e\u0432\u0438\u0442\u044c, \u0431\u0435\u0437 \u044d\u0442\u043e\u0439 \u0433\u0430\u043b\u043e\u0447\u043a\u0438, CI \u0437\u0430\u0432\u0438\u0441\u0430\u0435\u0442 \u0432 \u0440\u0435\u0436\u0438\u043c\u0435 pending:<\/p>\n<figure class=\"full-width\"><figcaption><\/figcaption><\/figure>\n<p>\u0422\u0430\u043a \u0436\u0435 \u0434\u043e\u0431\u0430\u0432\u043b\u044e, \u0447\u0442\u043e \u0432 &#171;General pipelines&#187; \u043c\u043e\u0436\u043d\u043e \u0441\u043c\u0435\u043d\u0438\u0442\u044c timeout (\u043f\u043e \u0434\u0435\u0444\u043e\u043b\u0442\u0443 2 \u0447\u0430\u0441\u0430) \u043d\u0430 \u0431\u043e\u043b\u044c\u0448\u043e\u0435 \u0437\u043d\u0430\u0447\u0435\u043d\u0438\u0435 (\u0443 \u043c\u0435\u043d\u044f 16h), \u043f\u043e \u0438\u0441\u0442\u0435\u0447\u0435\u043d\u0438\u044e \u044d\u0442\u043e\u0433\u043e \u0432\u0440\u0435\u043c\u0435\u043d\u0438 CI \u043f\u0440\u043e\u0446\u0435\u0441\u0441 \u043e\u0442\u043a\u043b\u044e\u0447\u0430\u0435\u0442\u0441\u044f.<\/p>\n<p>\u0422\u0430\u043a\u0438\u043c \u0432\u0435\u0441\u044c\u043c\u0430 \u043d\u0435\u0445\u0438\u0442\u0440\u044b\u043c \u0441\u043f\u043e\u0441\u043e\u0431\u043e\u043c \u043c\u044b \u043f\u043e\u0434\u0433\u043e\u0442\u043e\u0432\u0438\u043b\u0438 \u043d\u0430\u0448 \u0441\u0435\u0440\u0432\u0435\u0440 \u043a \u0440\u0430\u0431\u043e\u0442\u0435, \u043a\u0430\u043a \u0431\u0438\u043b\u0434 \u043c\u0430\u0448\u0438\u043d\u0443 \u0434\u043b\u044f CI\/CD. <\/p>\n<h2>\u041d\u0430\u0441\u0442\u0440\u043e\u0439\u043a\u0430 yml \u0438 \u043f\u0435\u0440\u0432\u044b\u0439 \u0437\u0430\u043f\u0443\u0441\u043a<\/h2>\n<p>\u0414\u043b\u044f CI\/CD, \u043d\u0435\u043e\u0431\u0445\u043e\u0434\u0438\u043c\u043e \u0441\u043e\u0437\u0434\u0430\u0442\u044c \u0444\u0430\u0439\u043b (.gitlab-ci.yml) \u0432 \u043a\u043e\u0440\u043d\u0435 \u043f\u0440\u043e\u0435\u043a\u0442\u0430 \u0438 \u0437\u0430\u043b\u0438\u0442\u044c \u0435\u0433\u043e \u0432 \u0440\u0435\u043f\u043e\u0437\u0438\u0442\u043e\u0440\u0438\u0439, \u0442\u0435\u043c \u0441\u0430\u043c\u044b\u043c \u0434\u0430\u0432 \u0438\u043d\u0441\u0442\u0440\u0443\u043a\u0446\u0438\u0438 \u0434\u043b\u044f \u0440\u0430\u0431\u043e\u0442\u044b. Gitlab \u043f\u0440\u043e\u0432\u0435\u0440\u0438\u0442 \u0434\u0430\u043d\u043d\u044b\u0439 \u0441\u043a\u0440\u0438\u043f\u0442 \u0438 \u0435\u0441\u043b\u0438 \u0447\u0442\u043e-\u0442\u043e \u043f\u043e\u0439\u0434\u0435\u0442 \u043d\u0435 \u0442\u0430\u043a, \u0442\u043e \u0432\u044b\u0434\u0430\u0441\u0442 \u043e\u0448\u0438\u0431\u043a\u0443 (yaml invalid error) \u0432 CI\/CD. \u0414\u043b\u044f \u0442\u043e\u0433\u043e, \u0447\u0442\u043e \u0431\u044b, \u043d\u0435 \u043f\u0443\u0448\u0438\u0442\u044c \u0434\u0435\u0441\u044f\u0442\u043a\u0438 \u0441\u043b\u043e\u043c\u0430\u043d\u043d\u044b\u0445 \u0444\u0430\u0439\u043b\u043e\u0432, \u043f\u0440\u044f\u043c\u043e \u043d\u0430 \u0441\u0430\u0439\u0442\u0435 \u0432 \u0437\u0430\u043a\u043b\u0430\u0434\u043a\u0435 CI\/CD \u2192 Pipelines \u0435\u0441\u0442\u044c \u0438\u043d\u0441\u0442\u0440\u0443\u043c\u0435\u043d\u0442: &#171;CI Lint&#187;, \u043f\u0440\u0438 \u043f\u043e\u043c\u043e\u0449\u0438 \u043a\u043e\u0442\u043e\u0440\u043e\u0433\u043e \u043c\u043e\u0436\u043d\u043e \u043f\u0440\u043e\u0432\u0435\u0440\u0438\u0442\u044c \u0441\u043a\u0440\u0438\u043f\u0442 \u043d\u0430 \u043f\u0440\u0430\u0432\u0438\u043b\u044c\u043d\u043e\u0441\u0442\u044c.<\/p>\n<p>\u0422\u0430\u043a \u043a\u0430\u043a, \u043c\u044b \u0440\u0430\u043d\u0435\u0435 \u0443\u043a\u0430\u0437\u0430\u043b\u0438 \u0447\u0442\u043e \u0438\u0441\u043f\u043e\u043b\u044c\u0437\u0443\u0435\u043c Shell executor, \u0442\u043e yml \u0444\u0430\u0439\u043b \u0441\u043e\u0437\u0434\u0430\u0435\u0442\u0441\u044f \u043f\u043e \u043f\u0440\u0438\u043d\u0446\u0438\u043f\u0443 powershell (\u0434\u043b\u044f \u0434\u0440\u0443\u0433\u0438\u0445 executor \u043e\u043d \u043c\u043e\u0436\u0435\u0442 \u043e\u0442\u043b\u0438\u0447\u0430\u0442\u0441\u044f). \u041d\u0438\u0436\u0435 \u044f \u043f\u0440\u0438\u0432\u0435\u043b \u043f\u0440\u0438\u043c\u0435\u0440, \u0441\u0431\u043e\u0440\u043a\u0438 \u043a\u043b\u0438\u0435\u043d\u0442\u0430 \u0432 \u0434\u0432\u0443\u0445 \u0432\u0438\u0434\u0430\u0445 (\u0434\u0435\u0432\\\u0448\u0438\u043f) \u0438 \u0441\u0435\u0440\u0432\u0435\u0440\u0430, \u0430 \u0442\u0430\u043a \u0436\u0435 \u0437\u0430\u043b\u0438\u0432\u043a\u0430 \u043d\u0430 Steam \u0440\u0435\u0448\u0435\u043d\u0438\u0439. \u0411\u043e\u043d\u0443\u0441\u043e\u043c \u043e\u0442\u043f\u0440\u0430\u0432\u043a\u0430 \u0432 \u0434\u0438\u0441\u043a\u043e\u0440\u0434 \u0441\u043e\u043e\u0431\u0449\u0435\u043d\u0438\u044f \u043e\u0431 \u0443\u0441\u043f\u0435\u0448\u043d\u043e\u0439 \u0441\u0431\u043e\u0440\u043a\u0435.<\/p>\n<details class=\"spoiler\">\n<summary>\u041f\u0440\u0438\u043c\u0435\u0440 \u0441\u043a\u0440\u0438\u043f\u0442\u0430 \u0434\u043b\u044f .gitlab-ci.yml<\/summary>\n<div class=\"spoiler__content\">\n<pre><code class=\"powershell\"># last update 10.04.2019 12:58PM # BUILD_CONFIG - Shipping \/ Development \/ DebugGame \/ Debug  variables:     GIT_STRATEGY: none        # we disable fetch, clone or checkout for every job.     GIT_CHECKOUT: \"false\"     # as we only want to checkout and fetch in the preperation stage.     CI_DEBUG_TRACE: \"false\"      CLIENT_BUILD_CONFIG: Shipping     DEV_CLIENT_BUILD_CONFIG: Development     CLIENT_PLATFORM: Win64     SERVER_BUILD_CONFIG: Development     SERVER_PLATFORM: Win64     BUILD_DIR: D:\\Soulhaim\\Builds     CLIENT_DIR: D:\\Soulhaim\\Builds\\client\\ez-client         CLIENT_STEAM_PATH: $CLIENT_DIR\\WindowsNoEditor\\*     CLIENT_ARCH_NAME: $CLIENT_BUILD_CONFIG-$CI_COMMIT_SHA     DEV_CLIENT_DIR: $BUILD_DIR\\dev_client\\ez-client     DEV_CLIENT_STEAM_PATH: $BUILD_DIR\\dev_client\\ez-client\\WindowsNoEditor\\*     DEV_CLIENT_ARCH_NAME: $DEV_CLIENT_BUILD_CONFIG-$CI_COMMIT_SHA     SERVER_DIR: $BUILD_DIR\\server\\ez-server     SERVER_ARCH_NAME: $SERVER_BUILD_CONFIG-$CI_COMMIT_SHA     LOCAL_ARCH_PATH: D:\\BuildsArchives     STEAM_PATH: D:\\steamworks_sdk_148a\\sdk\\tools\\ContentBuilder     UE4_ROOT: D:\\UnrealEngine      stages:     - preperations     - build_path     - build_reflection     - build_light     - build_client         - load_to_steam     - upload_to_steam     - pack_client     - upload_client     - clean_steam_client     - dev_build_client     - dev_load_to_steam     - dev_upload_to_steam     - dev_pack_client     - dev_upload_client         - dev_clean_client     - build_server     - pack_server     - upload_server        - clean_server     - clean                   job_preperations:     stage: preperations     variables:         GIT_STRATEGY: fetch         GIT_CHECKOUT: \"true\"       script:         - echo \"$CLIENT_STEAM_PATH\"         - echo \"$STEAM_PATH\\content\\Soulhaim\"         - (Remove-Item -Path $BUILD_DIR -Force -Recurse -ErrorAction Ignore)         - echo \"Hello\"         - echo \"$UE4_ROOT\"             - echo \"$UE4_ROOT\\Engine\\Build\\BatchFiles\\RunUAT.bat\"         - echo \"$CLIENT_DIR\"         - echo \"$CLIENT_BUILD_CONFIG\"         - echo \"$CLIENT_ARCH_NAME\"         - echo \"$DEV_CLIENT_DIR\"         - echo \"$DEV_CLIENT_BUILD_CONFIG\"         - echo \"$DEV_CLIENT_ARCH_NAME\"         - echo \"$SERVER_DIR\"         - echo \"$SERVER_ARCH_NAME\"     only:         - web          job_build_path:     stage: build_path     script:         - Start-Process -NoNewWindow -Wait \"D:\\Soulhaim_build_path.bat\"     only:         - web       job_build_reflection:     stage: build_reflection     script:         - Start-Process -NoNewWindow -Wait \"D:\\Soulhaim_build_Reflection.bat\"     only:         - web            job_build_light:     stage: build_light     script:         - Start-Process -NoNewWindow -Wait \"D:\\Soulhaim_build_light.bat\"      only:         - web          job_build_client:     stage: build_client     script:     #-ForceDebugInfo -CrashReporter - for debug files     - Start-Process \"$UE4_ROOT\\Engine\\Build\\BatchFiles\\RunUAT.bat\" -NoNewWindow -Wait -ArgumentList \"BuildCookRun\", \"-project=$CI_PROJECT_DIR\\Soulhaim.uproject\", \"-nop4\", \"-build\", \"-cook\", \"-compressed\", \"-stage\", \"-ForceDebugInfo\", \"-allowcommandletrendering\", \"-platform=$CLIENT_PLATFORM\", \"-clientconfig=$CLIENT_BUILD_CONFIG\", \"-pak\", \"-archive\", \"-archivedirectory=$CLIENT_DIR\", \"-utf8output\"     only:         - web  job_Load_To_Steam:     stage: load_to_steam     script:         cp -r \"$CLIENT_STEAM_PATH\" \"$STEAM_PATH\\content\\Soulhaim\"     only:         - web  job_Upload_To_Steam:     stage: upload_to_steam     script:         - Start-Process \"D:\\steamworks_sdk_148a\\sdk\\tools\\ContentBuilder\\run_build.bat\" -NoNewWindow -Wait     only:         - web  job1_pack_client:     stage: pack_client     script:         - Start-Process -NoNewWindow -Wait \"C:\\Program Files\\7-Zip\\7z.exe\" -ArgumentList \"a\", \"$CLIENT_DIR.zip\", \"$CLIENT_DIR\"     only:         - web          job2_copy_to_local_client:     stage: upload_client     script:         - cp \"$CLIENT_DIR.zip\" \"$LOCAL_ARCH_PATH\\client-$CLIENT_ARCH_NAME.zip\"     only:         - web    job3_clean_Steam_Folder:     stage: clean_steam_client     script:         (Remove-Item -Path \"$STEAM_PATH\\content\\Soulhaim\\*\" -Force -Recurse -ErrorAction Ignore)        only:         - web  dev_job_build_client:     stage: dev_build_client     script:     #-ForceDebugInfo -CrashReporter - for debug files         - Start-Process \"$UE4_ROOT\\Engine\\Build\\BatchFiles\\RunUAT.bat\" -NoNewWindow -Wait -ArgumentList \"BuildCookRun\", \"-project=$CI_PROJECT_DIR\\Soulhaim.uproject\", \"-nop4\", \"-build\", \"-cook\", \"-compressed\", \"-stage\", \"-ForceDebugInfo\", \"-CrashReporter\", \"-debug\", \"-allowcommandletrendering\", \"-platform=$CLIENT_PLATFORM\", \"-clientconfig=$DEV_CLIENT_BUILD_CONFIG\", \"-pak\", \"-archive\", \"-archivedirectory=$DEV_CLIENT_DIR\", \"-utf8output\"     only:         - web  job_dev_Load_To_Steam:     stage: dev_load_to_steam     script:         cp -r \"$DEV_CLIENT_STEAM_PATH\" \"$STEAM_PATH\\content\\Soulhaim\"     only:         - web  job_dev_Upload_To_Steam:     stage: dev_upload_to_steam     script:         - Start-Process \"D:\\steamworks_sdk_148a\\sdk\\tools\\ContentBuilder\\run_build.bat\" -NoNewWindow -Wait     only:         - web  job1_dev_pack_client:     stage: dev_pack_client     script:         - Start-Process -NoNewWindow -Wait \"C:\\Program Files\\7-Zip\\7z.exe\" -ArgumentList \"a\", \"$DEV_CLIENT_DIR.zip\", \"$DEV_CLIENT_DIR\"     only:         - web          job2_dev_copy_to_local_client:     stage: dev_upload_client     script:         - cp \"$DEV_CLIENT_DIR.zip\" \"$LOCAL_ARCH_PATH\\client-$DEV_CLIENT_ARCH_NAME.zip\"     only:         - web    job_clean_client:            stage: dev_clean_client     script:        (Remove-Item -Path $BUILD_DIR -Force -Recurse -ErrorAction Ignore)     only:         - web              job_build_server:     stage: build_server     script:         - Start-Process \"$UE4_ROOT\\Engine\\Build\\BatchFiles\\RunUAT.bat\" -NoNewWindow -Wait -ArgumentList \"BuildCookRun\", \"-nocompileeditor\", \"-project=$CI_PROJECT_DIR\\Soulhaim.uproject\", \"-nop4\", \"-build\", \"-cook\", \"-compressed\", \"-stage\", \"-noclient\", \"-server\", \"-serverplatform=$SERVER_PLATFORM\", \"-serverconfig=$SERVER_BUILD_CONFIG\", \"-pak\", \"-archive\", \"-archivedirectory=$SERVER_DIR\", \"-utf8output\"     only:         - web                         job1_pack_server:     stage: pack_server     script:         - Start-Process -NoNewWindow -Wait \"C:\\Program Files\\7-Zip\\7z.exe\" -ArgumentList \"a\", \"$SERVER_DIR.zip\", \"$SERVER_DIR\"     only:         - web          job2_copy_to_local_server:<\/code><\/pre>\n<\/div>\n<\/details>\n<\/div>\n<\/div>\n<\/div>\n<\/div>\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-411596","post","type-post","status-publish","format-standard","hentry"],"_links":{"self":[{"href":"https:\/\/savepearlharbor.com\/index.php?rest_route=\/wp\/v2\/posts\/411596","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=411596"}],"version-history":[{"count":0,"href":"https:\/\/savepearlharbor.com\/index.php?rest_route=\/wp\/v2\/posts\/411596\/revisions"}],"wp:attachment":[{"href":"https:\/\/savepearlharbor.com\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=411596"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/savepearlharbor.com\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=411596"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/savepearlharbor.com\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=411596"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}