{"id":399509,"date":"2024-06-29T14:43:07","date_gmt":"2024-06-29T14:43:07","guid":{"rendered":"http:\/\/savepearlharbor.com\/?p=399509"},"modified":"-0001-11-30T00:00:00","modified_gmt":"2024-06-29T14:43:07","slug":"","status":"publish","type":"post","link":"https:\/\/savepearlharbor.com\/?p=399509","title":{"rendered":"<span>Git Submodule \u0438\u043d\u043e\u0433\u0434\u0430 \u043b\u043e\u043c\u0430\u044e\u0442\u0441\u044f, \u043a\u0430\u043a \u0438\u0445 \u043f\u043e\u0447\u0438\u043d\u0438\u0442\u044c?<\/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>\u041d\u0430\u0432\u0435\u0440\u043d\u044f\u043a\u0430 \u0435\u0441\u043b\u0438 \u0432\u044b \u043d\u0430\u0447\u0430\u043b\u0438 \u0447\u0438\u0442\u0430\u0442\u044c \u044d\u0442\u0443 \u0441\u0442\u0430\u0442\u044c\u044e, \u0442\u043e \u0437\u043d\u0430\u0435\u0442\u0435, \u0447\u0442\u043e \u0442\u0430\u043a\u043e\u0435 git \u0438 \u0434\u043b\u044f \u0447\u0435\u0433\u043e \u043e\u043d \u043d\u0443\u0436\u0435\u043d. \u041d\u041e \u043d\u0435 \u0432\u0441\u0435 \u0438\u0441\u043f\u043e\u043b\u044c\u0437\u0443\u044e\u0442 \u0442\u0430\u043a\u0443\u044e \u0438\u043d\u0442\u0435\u0440\u0435\u0441\u043d\u0443\u044e \u0444\u0443\u043d\u043a\u0446\u0438\u043e\u043d\u0430\u043b\u044c\u043d\u043e\u0441\u0442\u044c \u0432 git \u043a\u0430\u043a submodules. <\/p>\n<p>\u042d\u0442\u043e \u0434\u0430\u0435\u0442 \u0432\u043e\u0437\u043c\u043e\u0436\u043d\u043e\u0441\u0442\u044c \u043f\u0440\u0438\u0446\u0435\u043f\u0438\u0442\u044c \u043a \u0432\u0430\u0448\u0435\u043c\u0443 \u043f\u0440\u043e\u0435\u043a\u0442\u0443 \u0434\u0440\u0443\u0433\u0438\u0435 \u043f\u0440\u043e\u0435\u043a\u0442\u044b \u0438 \u043f\u0435\u0440\u0435\u0438\u0441\u043f\u043e\u043b\u044c\u0437\u043e\u0432\u0430\u0442\u044c \u0438\u0445 \u0432 \u0432\u0430\u0448\u0435\u043c. \u0414\u043b\u044f \u043f\u0440\u0438\u043c\u0435\u0440\u0430 \u0440\u0430\u0441\u0441\u043c\u043e\u0442\u0440\u0438\u043c \u0442\u0430\u043a\u0443\u044e \u0438\u0441\u0442\u043e\u0440\u0438\u044e.<\/p>\n<p>\u0415\u0441\u0442\u044c \u0440\u0435\u043f\u043e\u0437\u0438\u0442\u043e\u0440\u0438\u0439, \u0432 \u043a\u043e\u0442\u043e\u0440\u043e\u043c \u0441\u043e\u0434\u0435\u0440\u0436\u0438\u0442\u0441\u044f groovy \u0441\u043a\u0440\u0438\u043f\u0442, \u043a\u043e\u0442\u043e\u0440\u044b\u0439 \u0440\u0435\u0448\u0430\u0435\u0442 \u0437\u0430\u0434\u0430\u0447\u0443 \u043f\u043e \u0438\u0437\u0432\u043b\u0435\u0447\u0435\u043d\u0438\u044e \u0438\u0437 \u0441\u0438\u0441\u0442\u0435\u043c\u044b \u0445\u0440\u0430\u043d\u0435\u043d\u0438\u044f \u0447\u0443\u0432\u0441\u0442\u0432\u0438\u0442\u0435\u043b\u044c\u043d\u044b\u0445 \u0434\u0430\u043d\u043d\u044b\u0445 Vault. <\/p>\n<figure class=\"full-width\"><img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/habrastorage.org\/r\/w1560\/getpro\/habr\/upload_files\/cfc\/bab\/467\/cfcbab467dec52a83c2acc6283f60d4d.png\" alt=\"Git \u0440\u0435\u043f\u043e\u0437\u0438\u0442\u043e\u0440\u0438\u0439 \u0441 Vault\" title=\"Git \u0440\u0435\u043f\u043e\u0437\u0438\u0442\u043e\u0440\u0438\u0439 \u0441 Vault\" width=\"1956\" height=\"206\" data-src=\"https:\/\/habrastorage.org\/getpro\/habr\/upload_files\/cfc\/bab\/467\/cfcbab467dec52a83c2acc6283f60d4d.png\"\/><figcaption>Git \u0440\u0435\u043f\u043e\u0437\u0438\u0442\u043e\u0440\u0438\u0439 \u0441 Vault<\/figcaption><\/figure>\n<p>\u0422\u0430\u043a\u0436\u0435 \u0435\u0441\u0442\u044c \u0440\u0435\u043f\u043e\u0437\u0438\u0442\u043e\u0440\u0438\u0439 CICD, \u0432 \u043a\u043e\u0442\u043e\u0440\u044b\u0445 \u0441\u043e\u0434\u0435\u0440\u0436\u0430\u0442\u0441\u044f \u043a\u043e\u043d\u0432\u0435\u0439\u0435\u0440\u044b \u043a\u043e\u043d\u043a\u0440\u0435\u0442\u043d\u044b\u0445 \u043f\u0440\u0438\u043b\u043e\u0436\u0435\u043d\u0438\u0439.<\/p>\n<figure class=\"full-width\"><img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/habrastorage.org\/r\/w1560\/getpro\/habr\/upload_files\/4a6\/ad1\/a98\/4a6ad1a985441c2173d573973b0f154a.png\" alt=\"Git \u0440\u0435\u043f\u043e\u0437\u0438\u0442\u043e\u0440\u0438\u0439 \u0441 submodules\" title=\"Git \u0440\u0435\u043f\u043e\u0437\u0438\u0442\u043e\u0440\u0438\u0439 \u0441 submodules\" width=\"1940\" height=\"1038\" data-src=\"https:\/\/habrastorage.org\/getpro\/habr\/upload_files\/4a6\/ad1\/a98\/4a6ad1a985441c2173d573973b0f154a.png\"\/><figcaption>Git \u0440\u0435\u043f\u043e\u0437\u0438\u0442\u043e\u0440\u0438\u0439 \u0441 submodules<\/figcaption><\/figure>\n<p>\u0414\u043b\u044f \u0442\u043e\u0433\u043e, \u0447\u0442\u043e\u0431\u044b \u043f\u043e\u0434\u043a\u043b\u044e\u0447\u0438\u0442\u044c \u0440\u0435\u043f\u043e\u0437\u0438\u0442\u043e\u0440\u0438\u0439 Vault \u043a \u0440\u0435\u043f\u043e\u0437\u0438\u0442\u043e\u0440\u0438\u044e CICD \u043a\u0430\u043a submulde \u043d\u0435\u043e\u0431\u0445\u043e\u0434\u0438\u043c\u043e \u0432\u044b\u043f\u043e\u043b\u043d\u0438\u0442\u044c, \u0437\u0430\u0444\u0438\u043a\u0441\u0438\u0440\u043e\u0432\u0430\u0442\u044c commit \u0438 \u043e\u0442\u043f\u0440\u0430\u0432\u0438\u0442\u044c push \u0432 \u0432\u0435\u0442\u043a\u0443 dev<\/p>\n<pre><code class=\"bash\">git submodule add git@gitlab.services.ru:DevOps\/cicd-store\/jenkins\/vault.git git status git diff --cached vault git diff --cached --submodule git commit -am 'Add vault module' git push origin dev<\/code><\/pre>\n<p>\u0432 \u0438\u0442\u043e\u0433\u0435 \u043f\u043e\u044f\u0432\u043b\u044f\u0435\u0442\u0441\u044f \u0444\u0430\u0439\u043b <strong>.gitsubmodules<\/strong> \u0438 \u0432 \u043d\u0435\u043c \u0441\u043e\u043e\u0442\u0432\u0435\u0442\u0441\u0442\u0432\u0443\u044e\u0449\u0430\u044f \u0437\u0430\u043f\u0438\u0441\u044c<\/p>\n<figure class=\"bordered full-width\"><img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/habrastorage.org\/r\/w1560\/getpro\/habr\/upload_files\/5c1\/aab\/1eb\/5c1aab1ebe457be4ad9bbbdc3370f16b.png\" alt=\"Vault \u043b\u043e\u043a\u0430\u043b\u044c\u043d\u043e \u0432 Intellij Idea\" title=\"Vault \u043b\u043e\u043a\u0430\u043b\u044c\u043d\u043e \u0432 Intellij Idea\" width=\"746\" height=\"528\" data-src=\"https:\/\/habrastorage.org\/getpro\/habr\/upload_files\/5c1\/aab\/1eb\/5c1aab1ebe457be4ad9bbbdc3370f16b.png\"\/><figcaption>Vault \u043b\u043e\u043a\u0430\u043b\u044c\u043d\u043e \u0432 Intellij Idea<\/figcaption><\/figure>\n<pre><code class=\"json\">[submodule \"vault\"] path = vault url = git@gitlab.services.ru:DevOps\/cicd-store\/jenkins\/vault.git<\/code><\/pre>\n<p>\u0415\u0441\u043b\u0438 \u043a\u0441\u0442\u0430\u0442\u0438 \u0440\u0435\u0448\u0438\u0442\u0435 \u043e\u0442\u043a\u043b\u044e\u0447\u0438\u0442\u044c submudule , \u0442\u043e \u043d\u0435\u043e\u0431\u0445\u043e\u0434\u0438\u043c\u043e \u0441\u0434\u0435\u043b\u0430\u0442\u044c \u0441\u043b\u0435\u0434\u0443\u044e\u0449\u0435\u0435<\/p>\n<pre><code class=\"bash\">git submodule deinit -f vault git rm --cached vault<\/code><\/pre>\n<p>\u0444\u0438\u0437\u0438\u0447\u0435\u0441\u043a\u0438 \u0443\u0434\u0430\u043b\u044f\u0435\u043c<\/p>\n<pre><code class=\"bash\">rm -rf vault<\/code><\/pre>\n<p>\u0438 \u0443\u0434\u0430\u043b\u044f\u0435\u043c \u0438\u0437 <strong>.gitmodules <\/strong>\u0441\u0435\u043a\u0446\u0438\u044e <code>[submodule \"vault\"]<\/code><\/p>\n<p>\u0415\u0441\u043b\u0438 \u0432\u044b \u0447\u0442\u043e-\u0442\u043e \u043f\u043e\u043c\u0435\u043d\u044f\u043b\u0438 \u0432 \u0440\u0435\u043f\u043e\u0437\u0438\u0442\u043e\u0440\u0438\u0438 Vault \u0438 \u0445\u043e\u0442\u0438\u0442\u0435 \u0447\u0442\u043e\u0431\u044b \u0443\u043a\u0430\u0437\u0430\u0442\u0435\u043b\u044c \u0432 \u043e\u0441\u043d\u043e\u0432\u043d\u043e\u043c \u043f\u0440\u043e\u0435\u043a\u0442\u0435 \u0431\u044b\u043b \u043f\u0435\u0440\u0435\u043c\u0435\u0449\u0435\u043d \u043d\u0430 \u0441\u0430\u043c\u044b\u0439 \u043d\u043e\u0432\u044b\u0439 \u043a\u043e\u043c\u043c\u0438\u0442 \u0438 \u0438\u0437\u043c\u0435\u043d\u0435\u043d\u0438\u044f \u0431\u044b\u043b\u0438 \u043e\u0442\u043f\u0440\u0430\u0432\u043b\u0435\u043d\u044b \u0432 \u0432\u0435\u0442\u043a\u0443 master \u043d\u0435\u043e\u0431\u0445\u043e\u0434\u0438\u043c\u043e \u0441\u0434\u0435\u043b\u0430\u0442\u044c \u0441\u043b\u0435\u0434\u0443\u044e\u0449\u0435\u0435:<\/p>\n<pre><code class=\"bash\">git submodule update --init --recursive &amp;&amp;  git status &amp;&amp;  git submodule update --remote --rebase &amp;&amp;  git commit -am 'Fix old commit' &amp;&amp;  git push origin master<\/code><\/pre>\n<pre><code class=\"bash\">\u041f\u0435\u0440\u0435\u0447\u0438\u0441\u043b\u0435\u043d\u0438\u0435 \u043e\u0431\u044a\u0435\u043a\u0442\u043e\u0432: 3, \u0433\u043e\u0442\u043e\u0432\u043e. \u041f\u043e\u0434\u0441\u0447\u0435\u0442 \u043e\u0431\u044a\u0435\u043a\u0442\u043e\u0432: 100% (3\/3), \u0433\u043e\u0442\u043e\u0432\u043e. \u041f\u0440\u0438 \u0441\u0436\u0430\u0442\u0438\u0438 \u0438\u0437\u043c\u0435\u043d\u0435\u043d\u0438\u0439 \u0438\u0441\u043f\u043e\u043b\u044c\u0437\u0443\u0435\u0442\u0441\u044f \u0434\u043e 12 \u043f\u043e\u0442\u043e\u043a\u043e\u0432 \u0421\u0436\u0430\u0442\u0438\u0435 \u043e\u0431\u044a\u0435\u043a\u0442\u043e\u0432: 100% (2\/2), \u0433\u043e\u0442\u043e\u0432\u043e. \u0417\u0430\u043f\u0438\u0441\u044c \u043e\u0431\u044a\u0435\u043a\u0442\u043e\u0432: 100% (2\/2), 241 bytes | 241.00 KiB\/s, \u0433\u043e\u0442\u043e\u0432\u043e. Total 2 (delta 1), reused 0 (delta 0), pack-reused 0 To gitlab.services.ru:product\/adv\/cicd.git f20bf06..2fa5cc7 master -> master<\/code><\/pre>\n<p>\u0427\u0430\u0448\u0435 \u0432\u0441\u0435\u0433\u043e \u0432\u0441\u0435 \u0440\u0430\u0431\u043e\u0442\u0430\u0435\u0442 \u0448\u0442\u0430\u0442\u043d\u043e, \u043d\u043e \u0438\u043d\u043e\u0433\u0434\u0430 \u043e\u0431\u0441\u0442\u043e\u044f\u0442\u0435\u043b\u044c\u0441\u0442\u0432\u0430 \u0441\u043a\u043b\u0430\u0434\u044b\u0432\u0430\u044e\u0442\u0441\u044f \u0442\u0430\u043a\u0438\u043c \u043e\u0431\u0440\u0430\u0437\u043e\u043c:<\/p>\n<ul>\n<li>\n<p>22:00 \u043f\u044f\u0442\u043d\u0438\u0446\u0430 \u0438 \u0432\u044b \u0445\u043e\u0442\u0438\u0442\u0435 \u043f\u043e\u043b\u0443\u0447\u0438\u0442\u044c \u0438\u043c\u0435\u043d\u043d\u043e \u0441\u0435\u0433\u043e\u0434\u043d\u044f \u0440\u0435\u0437\u0443\u043b\u044c\u0442\u0430\u0442, \u043f\u043e\u0442\u043e\u043c\u0443 \u043a\u0430\u043a \u043f\u043e\u0442\u0440\u0430\u0442\u0438\u043b\u0438 \u043d\u0430 \u044d\u0442\u043e\u0442 pipeline \u043f\u043e\u0447\u0442\u0438 \u0446\u0435\u043b\u044b\u0439 \u0434\u0435\u043d\u044c, \u043f\u0440\u043e\u0441\u0442\u043e \u0443\u0439\u0442\u0438 \u0438 \u0431\u0440\u043e\u0441\u0438\u0442\u044c \u0437\u0430\u0434\u0430\u0447\u0443 &#8212; \u0432\u044b \u043d\u0435 \u0442\u043e\u043b\u044c\u043a\u043e \u043d\u0435 \u043f\u043e\u043b\u0443\u0447\u0438\u0442\u0435 \u0441\u0432\u043e\u044e \u0434\u043e\u0437\u0443 \u0434\u043e\u0444\u0430\u043c\u0438\u043d\u0430, \u0430 \u0443 \u0432\u0430\u0441 \u0435\u0449\u0435 \u0432\u044b\u0440\u0430\u0431\u043e\u0442\u0430\u0435\u0442\u0441\u044f \u0434\u043e\u043f\u043e\u043b\u043d\u0438\u0442\u0435\u043b\u044c\u043d\u0430\u044f \u0434\u043e\u0437\u0430 \u043a\u043e\u0440\u0442\u0438\u0437\u043e\u043b\u0430,<\/p>\n<\/li>\n<li>\n<p>\u0432 \u043a\u0430\u043a\u043e\u0439-\u0442\u043e \u043c\u043e\u043c\u0435\u043d\u0442 \u0432\u044b \u0432\u0438\u0434\u0438\u0442\u0435, \u0447\u0442\u043e \u0432\u043e\u0442 \u043e\u043d\u043e \u043f\u043e\u0447\u0442\u0438 \u0433\u043e\u0442\u043e\u0432\u043e \u0438 \u0441\u0432\u043e\u0435\u043c\u0443 \u043a\u043e\u043b\u043b\u0435\u0433\u0435 \u043f\u043e \u0440\u0430\u0431\u043e\u0442\u0435 \u043a\u043e\u0442\u043e\u0440\u044b\u0439 \u043f\u043e\u0447\u0435\u043c\u0443-\u0442\u043e \u0442\u043e\u0436\u0435 \u0437\u0430\u0434\u0435\u0440\u0436\u0430\u043b\u0441\u044f \u0432\u044b \u0433\u043e\u0432\u043e\u0440\u0438\u0442\u0435 \u0435\u0449\u0435 30 \u043c\u0438\u043d\u0443\u0442 \u0438 \u043c\u044b \u043f\u043e\u0439\u0434\u0435\u043c,<\/p>\n<\/li>\n<li>\n<p>\u043d\u0430 25 \u043c\u0438\u043d\u0443\u0442\u0435 \u0443 \u0432\u0430\u0441 \u043f\u043e\u043b\u0443\u0447\u0438\u043b\u043e\u0441\u044c \u043d\u0430\u043a\u043e\u043d\u0435\u0446-\u0442\u043e \u043f\u043e\u043b\u043d\u043e\u0441\u0442\u044c\u044e \u0434\u043e\u0434\u0435\u043b\u0430\u0442\u044c pipeline \u0438 \u043f\u0440\u043e\u0442\u0435\u0441\u0442\u0438\u0440\u043e\u0432\u0430\u0442\u044c <strong>deployment.yml<\/strong> \u0438 \u0442\u0435\u043f\u0435\u0440\u044c \u043e\u0441\u0442\u0430\u043b\u043e\u0441\u044c \u0434\u0435\u043b\u043e \u0437\u0430 \u043c\u0430\u043b\u044b\u043c \u0440\u0430\u0441\u043a\u043e\u043c\u043c\u0435\u043d\u0442\u0438\u0440\u043e\u0432\u0430\u0442\u044c stage \u0441 build \u0438 \u043f\u0440\u043e\u0442\u0435\u0441\u0442\u0438\u0440\u043e\u0432\u0430\u0442\u044c \u0441\u043d\u043e\u0432\u0430 \u0438 \u0432 \u043f\u0440\u043e\u0446\u0435\u0441\u0441\u0435 \u0432\u043d\u0435\u0441\u0442\u0438 \u043a\u043e\u0441\u043c\u0435\u0442\u0438\u0447\u0435\u0441\u043a\u043e\u0435 \u0438\u0437\u043c\u0435\u043d\u0435\u043d\u0438\u0435 \u0432 \u043f\u0440\u043e\u0435\u043a\u0442 \u0432 vault, \u0432\u044b \u043d\u043e\u0440\u043c\u0430\u043b\u044c\u043d\u043e \u043a\u043e\u043c\u043c\u0438\u0442\u0438\u0442\u0435 \u0432 \u0441\u043e\u043e\u0442\u0432\u0435\u0442\u0441\u0442\u0432\u0443\u044e\u0449\u0438\u0435 \u0440\u0435\u043f\u043e\u0437\u0438\u0442\u043e\u0440\u0438\u0438 \u0438 \u043d\u0430 \u043e\u0441\u043d\u043e\u0432\u043d\u043e\u043c \u043f\u0440\u043e\u0435\u043a\u0442\u0435 \u0432\u044b\u043f\u043e\u043b\u043d\u044f\u0435\u0442\u0435<\/p>\n<\/li>\n<\/ul>\n<pre><code class=\"bash\">git submodule update --init --recursive &amp;&amp;  git status &amp;&amp;  git submodule update --remote --rebase &amp;&amp;  git commit -am 'Fix old commit' &amp;&amp;  git push origin master<\/code><\/pre>\n<p>\u043d\u043e \u0447\u0442\u043e-\u0442\u043e \u0438\u0434\u0435\u0442 \u043d\u0435 \u0442\u0430\u043a \u0438 \u043a\u043e\u0433\u0434\u0430 \u0432\u044b \u0437\u0430\u043f\u0443\u0441\u043a\u0430\u0435\u0442\u0435 Job \u0432 Jenkins \u0432\u043e\u0437\u0432\u0440\u0430\u0449\u0430\u0435\u0442\u0441\u044f \u043e\u0448\u0438\u0431\u043a\u0430<\/p>\n<pre><code class=\"bash\">[Pipeline] End of Pipeline hudson.plugins.git.GitException: Command \"git submodule update --init --recursive vault\" returned status code 1: stdout:  stderr: |-----------------------------------------------------------------| | This system is for the use of authorized users only.            | | Individuals using this computer system without authority, or in | | excess of their authority, are subject to having all of their   | | activities on this system monitored and recorded by system      | | personnel.                                                      | |                                                                 | | In the course of monitoring individuals improperly using this   | | system, or in the course of system maintenance, the activities  | | of authorized users may also be monitored.                      | |                                                                 | | Anyone using this system expressly consents to such monitoring  | | and is advised that if such monitoring reveals possible         | | evidence of criminal activity, system personnel may provide the | | evidence of such monitoring to law enforcement officials.       | |-----------------------------------------------------------------| fatal: reference is not a tree: 63f0d683a3842bc6bffc13524803560e1e725086 Unable to checkout '63f0d683a3842bc6bffc13524803560e1e725086' in submodule path 'vault'<\/code><\/pre>\n<p>\u043f\u0440\u043e\u0431\u0443\u0435\u0442\u0435 \u043f\u0435\u0440\u0435\u0439\u0442\u0438 \u0432 giltab \u043f\u043e \u0441\u0441\u044b\u043b\u043a\u0435 vaurt @ \u0442\u043e \u0432\u0430\u043c \u0432\u043e\u0437\u0432\u0440\u0430\u0449\u0430\u0435\u0442\u0441\u044f 404 \u043e\u0448\u0438\u0431\u043a\u0430<\/p>\n<figure class=\"full-width\"><img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/habrastorage.org\/r\/w1560\/getpro\/habr\/upload_files\/f24\/f9b\/6f0\/f24f9b6f0ef5e91d73239af7d3a31c2a.png\" alt=\"404 \u043e\u0448\u0438\u0431\u043a\u0430 \u043f\u0440\u0438 \u043f\u043e\u043f\u044b\u0442\u043a\u0435 \u043f\u0435\u0440\u0435\u0445\u043e\u0434\u0430 \u043d\u0430 git submodule vault\" title=\"404 \u043e\u0448\u0438\u0431\u043a\u0430 \u043f\u0440\u0438 \u043f\u043e\u043f\u044b\u0442\u043a\u0435 \u043f\u0435\u0440\u0435\u0445\u043e\u0434\u0430 \u043d\u0430 git submodule vault\" width=\"640\" height=\"560\" data-src=\"https:\/\/habrastorage.org\/getpro\/habr\/upload_files\/f24\/f9b\/6f0\/f24f9b6f0ef5e91d73239af7d3a31c2a.png\"\/><figcaption>404 \u043e\u0448\u0438\u0431\u043a\u0430 \u043f\u0440\u0438 \u043f\u043e\u043f\u044b\u0442\u043a\u0435 \u043f\u0435\u0440\u0435\u0445\u043e\u0434\u0430 \u043d\u0430 git submodule vault<\/figcaption><\/figure>\n<p>\u0414\u043b\u044f \u043f\u0440\u0438\u043c\u0435\u0440\u0430 \u043d\u0430\u0448\u0435\u043b \u043f\u043e\u0434\u043e\u0431\u043d\u044b\u0435 \u043e\u0448\u0438\u0431\u043a\u0438 \u043d\u0430 toster.ru<\/p>\n<figure class=\"full-width\"><img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/habrastorage.org\/r\/w1560\/getpro\/habr\/upload_files\/be1\/9cb\/067\/be19cb06722d14be9ce5be5acecff712.png\" alt=\"https:\/\/qna.habr.com\/q\/131671\" title=\"https:\/\/qna.habr.com\/q\/131671\" width=\"1378\" height=\"694\" data-src=\"https:\/\/habrastorage.org\/getpro\/habr\/upload_files\/be1\/9cb\/067\/be19cb06722d14be9ce5be5acecff712.png\"\/><figcaption>https:\/\/qna.habr.com\/q\/131671<\/figcaption><\/figure>\n<p>\u0412 \u043e\u0442\u0432\u0435\u0442\u0435 \u0431\u044b\u043b\u043e \u043d\u0430\u043f\u0438\u0441\u0430\u043d\u043e \u0447\u0442\u043e \u0433\u0443\u0433\u043b\u0438\u0442\u0441\u044f 10 \u0441\u0435\u043a\u0443\u043d\u0434, \u043d\u043e \u0447\u0435\u0442\u043a\u043e\u0433\u043e \u0441\u043a\u0440\u0438\u043f\u0442\u0430 \u043a\u0430\u043a \u0432\u043e\u0441\u0441\u0442\u0430\u043d\u043e\u0432\u0438\u0442\u044c \u0440\u0430\u0431\u043e\u0442\u043e\u0441\u043f\u043e\u0441\u043e\u0431\u043d\u043e\u0441\u0442\u044c \u043d\u0430\u0439\u0434\u0435\u043d\u043e \u043d\u0435 \u0431\u044b\u043b\u043e \u0438 \u044f \u0440\u0435\u0448\u0438\u043b \u0447\u0442\u043e \u043c\u043e\u044f \u0438\u0441\u0442\u043e\u0440\u0438\u044f \u043a\u0430\u043a \u044d\u0442\u043e \u0431\u044b\u0441\u0442\u0440\u043e \u043f\u043e\u0447\u0438\u043d\u0438\u0442\u044c \u0440\u0435\u043f\u043e\u0437\u0438\u0442\u043e\u0440\u0438\u0439 CICD \u0431\u0443\u0434\u0435\u0442 \u043f\u043e\u043b\u0435\u0437\u043d\u0430<\/p>\n<p>\u041d\u0430\u0447\u0438\u043d\u0430\u0435\u043c \u0441 \u043a\u043b\u043e\u043d\u0438\u0440\u043e\u0432\u0430\u044f \u0440\u0435\u043f\u043e\u0437\u0438\u0442\u043e\u0440\u0438\u044f<\/p>\n<pre><code class=\"bash\">git clone &lt;repo><\/code><\/pre>\n<p>\u0434\u0430\u043b\u0435\u0435 \u043d\u0435\u043e\u0431\u0445\u043e\u0434\u0438\u043c\u043e \u0441\u0434\u0435\u043b\u0430\u0442\u044c \u0438\u043d\u0438\u0446\u0438\u0430\u043b\u0438\u0437\u0430\u0446\u0438\u044e submodule<\/p>\n<pre><code class=\"bash\">git submodule init<\/code><\/pre>\n<pre><code class=\"bash\">\u041f\u043e\u0434\u043c\u043e\u0434\u0443\u043b\u044c \u00abvault\u00bb (git@gitlab.services.ru:DevOps\/cicd-store\/jenkins\/vault.git)  \u0437\u0430\u0440\u0435\u0433\u0438\u0441\u0442\u0440\u0438\u0440\u043e\u0432\u0430\u043d \u043f\u043e \u043f\u0443\u0442\u0438 \u00abvault\u00bb<\/code><\/pre>\n<p>\u0434\u0430\u043b\u0435\u0435 \u0432\u044b\u043f\u043e\u043b\u043d\u044f\u0435\u043c \u0440\u0435\u043a\u0443\u0440\u0441\u0438\u0432\u043d\u044b\u0439 update<\/p>\n<pre><code class=\"bash\">git submodule update --recursive --remote<\/code><\/pre>\n<p>\u0434\u0430\u043b\u0435\u0435 \u043f\u0440\u043e\u0431\u0443\u0435\u043c \u0432\u044b\u043f\u043e\u043b\u043d\u0438\u0442\u044c update \u0438\u043c\u0435\u043d\u043d\u043e sub \u043c\u043e\u0434\u0443\u043b\u044f vault<\/p>\n<pre><code class=\"bash\">git submodule update --init --recursive vault<\/code><\/pre>\n<p>\u043f\u043e\u043b\u0443\u0447\u0430\u0435\u043c \u0432 \u043e\u0442\u0432\u0435\u0442 \u043e\u0448\u0438\u0431\u043a\u0443<\/p>\n<pre><code class=\"bash\">| This system is for the use of authorized users only. |  | Individuals using this computer system without authority, or in |  | excess of their authority, are subject to having all of their |  | activities on this system monitored and recorded by system |  | personnel. |  | |  | In the course of monitoring individuals improperly using this |  | system, or in the course of system maintenance, the activities |  | of authorized users may also be monitored. |  | |  | Anyone using this system expressly consents to such monitoring |  | and is advised that if such monitoring reveals possible |  | evidence of criminal activity, system personnel may provide the |  | evidence of such monitoring to law enforcement officials. |  |-----------------------------------------------------------------|  fatal: git upload-pack: not our ref 63f0d683a3842bc6bffc13524803560e1e725086  fatal: \u043e\u0448\u0438\u0431\u043a\u0430 \u0432\u043d\u0435\u0448\u043d\u0435\u0433\u043e \u0440\u0435\u043f\u043e\u0437\u0438\u0442\u043e\u0440\u0438\u044f: upload-pack: not our ref 63f0d683a3842bc6bffc13524803560e1e725086  \u041f\u043e\u043b\u0443\u0447\u0435\u043d \u043f\u043e \u043f\u0443\u0442\u0438 \u043f\u043e\u0434\u043c\u043e\u0434\u0443\u043b\u044f \u00abvault\u00bb, \u043d\u043e \u043d\u0435 \u0441\u043e\u0434\u0435\u0440\u0436\u0438\u0442 63f0d683a3842bc6bffc13524803560e1e725086.  \u0421\u0431\u043e\u0439 \u043f\u0440\u0438 \u043f\u0440\u044f\u043c\u043e\u043c \u043f\u043e\u043b\u0443\u0447\u0435\u043d\u0438\u0438 \u043a\u043e\u043c\u043c\u0438\u0442\u0430. <\/code><\/pre>\n<p>\u043f\u0435\u0440\u0435\u0445\u043e\u0434\u0438\u043c \u0432 \u043a\u0430\u0442\u0430\u043b\u043e\u0433 vault \u0438 \u043f\u0440\u043e\u0432\u0435\u0440\u044f\u0435\u043c \u0442\u0430 \u043b\u0438 \u0432\u0435\u0442\u043a\u0430 \u043a\u043e\u0442\u043e\u0440\u0430\u044f \u043d\u0443\u0436\u043d\u0430 \u043c\u044b \u0441\u0435\u0439\u0447\u0430\u0441 \u0438\u0441\u043f\u043e\u043b\u044c\u0437\u0443\u0435\u043c<\/p>\n<pre><code class=\"bash\">cd vault git branch  * (HEAD \u043e\u0442\u0434\u0435\u043b\u0451\u043d \u043d\u0430 bf2f348) v1<\/code><\/pre>\n<p>\u0432\u0435\u0442\u043a\u0430 \u0432\u0435\u0440\u043d\u0430\u044f v1<\/p>\n<p>\u0434\u0430\u043b\u0435\u0435 \u0432\u044b\u043f\u043e\u043b\u043d\u044f\u0435\u043c \u0430\u043a\u0442\u0443\u0430\u043b\u0438\u0437\u0430\u0446\u0438\u044e<\/p>\n<pre><code class=\"bash\">git checkout v1<\/code><\/pre>\n<pre><code class=\"bash\">\u041f\u0435\u0440\u0435\u043a\u043b\u044e\u0447\u0435\u043d\u043e \u043d\u0430 \u0432\u0435\u0442\u043a\u0443 \u00abv1\u00bb \u0412\u0430\u0448\u0430 \u0432\u0435\u0442\u043a\u0430 \u043e\u0431\u043d\u043e\u0432\u043b\u0435\u043d\u0430 \u0432 \u0441\u043e\u043e\u0442\u0432\u0435\u0442\u0441\u0442\u0432\u0438\u0438 \u0441 \u00aborigin\/v1\u00bb.<\/code><\/pre>\n<p>\u043c\u044b \u043e\u0431\u043d\u043e\u0432\u0438\u043b\u0438 \u043a\u0430\u0442\u0430\u043b\u043e\u0433 \u0441 sub modules \u0434\u043e \u043f\u043e\u0441\u043b\u0435\u0434\u043d\u0435\u0433\u043e \u043a\u043e\u043c\u043c\u0438\u0442\u0430 repo \u0441 vault, \u0442\u0435\u043f\u0435\u0440\u044c \u043d\u0435\u043e\u0431\u0445\u043e\u0434\u0438\u043c\u043e \u043f\u0435\u0440\u0435\u0439\u0442\u0438 \u0432 \u043a\u0430\u0442\u0430\u043b\u043e\u0433 \u0441 \u043e\u0441\u043d\u043e\u0432\u043d\u044b\u043c \u043f\u0440\u043e\u0435\u043a\u0442\u043e\u043c \u0438 \u0441\u043e\u0445\u0440\u0430\u043d\u0438\u0442\u044c \u0438\u0437\u043c\u0435\u043d\u0435\u043d\u0438\u044f<\/p>\n<pre><code class=\"bash\">cd .. git commit -am 'Fix old commit with vault' [master 37b2fa0] Fix old commit with vault 1 file changed, 1 insertion(+), 1 deletion(-)<\/code><\/pre>\n<p>\u0434\u0430\u043b\u0435\u0435 \u0437\u0430\u0444\u0438\u043a\u0441\u0438\u0440\u043e\u0432\u0430\u043d\u043d\u044b\u0435 \u0438\u0437\u043c\u0435\u043d\u0435\u043d\u0438\u044f \u043c\u044b \u043e\u0442\u043f\u0440\u0430\u0432\u043b\u044f\u0435\u043c \u0432 \u0440\u0435\u043f\u043e\u0437\u0438\u0442\u043e\u0440\u0438\u0439 \u0441 \u043f\u0440\u043e\u0435\u043a\u0442\u043e\u043c<\/p>\n<pre><code class=\"bash\">git push origin master<\/code><\/pre>\n<pre><code class=\"bash\">|-----------------------------------------------------------------|  | This system is for the use of authorized users only. |  | Individuals using this computer system without authority, or in |  | excess of their authority, are subject to having all of their |  | activities on this system monitored and recorded by system |  | personnel. |  | |  | In the course of monitoring individuals improperly using this |  | system, or in the course of system maintenance, the activities |  | of authorized users may also be monitored. |  | |  | Anyone using this system expressly consents to such monitoring |  | and is advised that if such monitoring reveals possible |  | evidence of criminal activity, system personnel may provide the |  | evidence of such monitoring to law enforcement officials. |  |-----------------------------------------------------------------|  \u041f\u0435\u0440\u0435\u0447\u0438\u0441\u043b\u0435\u043d\u0438\u0435 \u043e\u0431\u044a\u0435\u043a\u0442\u043e\u0432: 3, \u0433\u043e\u0442\u043e\u0432\u043e.  \u041f\u043e\u0434\u0441\u0447\u0435\u0442 \u043e\u0431\u044a\u0435\u043a\u0442\u043e\u0432: 100% (3\/3), \u0433\u043e\u0442\u043e\u0432\u043e.  \u041f\u0440\u0438 \u0441\u0436\u0430\u0442\u0438\u0438 \u0438\u0437\u043c\u0435\u043d\u0435\u043d\u0438\u0439 \u0438\u0441\u043f\u043e\u043b\u044c\u0437\u0443\u0435\u0442\u0441\u044f \u0434\u043e 12 \u043f\u043e\u0442\u043e\u043a\u043e\u0432  \u0421\u0436\u0430\u0442\u0438\u0435 \u043e\u0431\u044a\u0435\u043a\u0442\u043e\u0432: 100% (1\/1), \u0433\u043e\u0442\u043e\u0432\u043e.  \u0417\u0430\u043f\u0438\u0441\u044c \u043e\u0431\u044a\u0435\u043a\u0442\u043e\u0432: 100% (2\/2), 249 bytes | 249.00 KiB\/s, \u0433\u043e\u0442\u043e\u0432\u043e.  Total 2 (delta 1), reused 1 (delta 1), pack-reused 0  To gitlab.services.ru:product\/adv\/cicd.git  1e35cdf..37b2fa0 master -> master<\/code><\/pre>\n<p>\u043f\u0440\u043e\u0432\u0435\u0440\u044f\u0435\u043c repo \u0441 \u043f\u0440\u043e\u0435\u043a\u0442\u043e\u043c, \u0447\u0442\u043e \u0432\u0441\u0435 \u0441\u0440\u0430\u0431\u043e\u0442\u0430\u043b\u043e \u043a\u0430\u043a \u043d\u0443\u0436\u043d\u043e<\/p>\n<figure class=\"full-width\"><img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/habrastorage.org\/r\/w1560\/getpro\/habr\/upload_files\/5ab\/c85\/2c4\/5abc852c4cb32e079d2a7958002f8612.png\" alt=\"commit Fix old commit with vault\" title=\"commit Fix old commit with vault\" width=\"979\" height=\"351\" data-src=\"https:\/\/habrastorage.org\/getpro\/habr\/upload_files\/5ab\/c85\/2c4\/5abc852c4cb32e079d2a7958002f8612.png\"\/><figcaption>commit Fix old commit with vault<\/figcaption><\/figure>\n<p>\u043f\u0435\u0440\u0435\u0445\u043e\u0434\u0438\u043c \u043f\u043e \u0441\u0441\u044b\u043b\u043a\u0435 \u043f\u043e\u0441\u043b\u0435 @<\/p>\n<figure class=\"full-width\"><img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/habrastorage.org\/r\/w1560\/getpro\/habr\/upload_files\/768\/144\/6b3\/7681446b399e19d3c11e508fe39c2159.png\" alt=\"\u0432\u043e\u0441\u0441\u0442\u0430\u043d\u043e\u0432\u043b\u0435\u043d\u043d\u0430\u044f \u0441\u0441\u044b\u043b\u043a\u0430 git submodule \u043d\u0430 \u0440\u0435\u043f\u043e\u0437\u0438\u0442\u043e\u0440\u0438\u0439 \u0441 Vault\" title=\"\u0432\u043e\u0441\u0441\u0442\u0430\u043d\u043e\u0432\u043b\u0435\u043d\u043d\u0430\u044f \u0441\u0441\u044b\u043b\u043a\u0430 git submodule \u043d\u0430 \u0440\u0435\u043f\u043e\u0437\u0438\u0442\u043e\u0440\u0438\u0439 \u0441 Vault\" width=\"978\" height=\"295\" data-src=\"https:\/\/habrastorage.org\/getpro\/habr\/upload_files\/768\/144\/6b3\/7681446b399e19d3c11e508fe39c2159.png\"\/><figcaption>\u0432\u043e\u0441\u0441\u0442\u0430\u043d\u043e\u0432\u043b\u0435\u043d\u043d\u0430\u044f \u0441\u0441\u044b\u043b\u043a\u0430 git submodule \u043d\u0430 \u0440\u0435\u043f\u043e\u0437\u0438\u0442\u043e\u0440\u0438\u0439 \u0441 Vault<\/figcaption><\/figure>\n<p>\u0435\u0441\u043b\u0438 \u0434\u043e \u044d\u0442\u043e\u0433\u043e \u043c\u044b \u0432\u0441\u0435 \u0441\u0434\u0435\u043b\u0430\u043b\u0438 \u043f\u0440\u0430\u0432\u0438\u043b\u044c\u043d\u043e, \u0442\u043e \u0441\u0441\u044b\u043b\u043a\u0430 \u0434\u043e\u043b\u0436\u043d\u0430 \u043e\u0442\u043a\u0440\u044b\u0442\u044c\u0441\u044f.<\/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\/579486\/\"> https:\/\/habr.com\/ru\/articles\/579486\/<\/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>\u041d\u0430\u0432\u0435\u0440\u043d\u044f\u043a\u0430 \u0435\u0441\u043b\u0438 \u0432\u044b \u043d\u0430\u0447\u0430\u043b\u0438 \u0447\u0438\u0442\u0430\u0442\u044c \u044d\u0442\u0443 \u0441\u0442\u0430\u0442\u044c\u044e, \u0442\u043e \u0437\u043d\u0430\u0435\u0442\u0435, \u0447\u0442\u043e \u0442\u0430\u043a\u043e\u0435 git \u0438 \u0434\u043b\u044f \u0447\u0435\u0433\u043e \u043e\u043d \u043d\u0443\u0436\u0435\u043d. \u041d\u041e \u043d\u0435 \u0432\u0441\u0435 \u0438\u0441\u043f\u043e\u043b\u044c\u0437\u0443\u044e\u0442 \u0442\u0430\u043a\u0443\u044e \u0438\u043d\u0442\u0435\u0440\u0435\u0441\u043d\u0443\u044e \u0444\u0443\u043d\u043a\u0446\u0438\u043e\u043d\u0430\u043b\u044c\u043d\u043e\u0441\u0442\u044c \u0432 git \u043a\u0430\u043a submodules. <\/p>\n<p>\u042d\u0442\u043e \u0434\u0430\u0435\u0442 \u0432\u043e\u0437\u043c\u043e\u0436\u043d\u043e\u0441\u0442\u044c \u043f\u0440\u0438\u0446\u0435\u043f\u0438\u0442\u044c \u043a \u0432\u0430\u0448\u0435\u043c\u0443 \u043f\u0440\u043e\u0435\u043a\u0442\u0443 \u0434\u0440\u0443\u0433\u0438\u0435 \u043f\u0440\u043e\u0435\u043a\u0442\u044b \u0438 \u043f\u0435\u0440\u0435\u0438\u0441\u043f\u043e\u043b\u044c\u0437\u043e\u0432\u0430\u0442\u044c \u0438\u0445 \u0432 \u0432\u0430\u0448\u0435\u043c. \u0414\u043b\u044f \u043f\u0440\u0438\u043c\u0435\u0440\u0430 \u0440\u0430\u0441\u0441\u043c\u043e\u0442\u0440\u0438\u043c \u0442\u0430\u043a\u0443\u044e \u0438\u0441\u0442\u043e\u0440\u0438\u044e.<\/p>\n<p>\u0415\u0441\u0442\u044c \u0440\u0435\u043f\u043e\u0437\u0438\u0442\u043e\u0440\u0438\u0439, \u0432 \u043a\u043e\u0442\u043e\u0440\u043e\u043c \u0441\u043e\u0434\u0435\u0440\u0436\u0438\u0442\u0441\u044f groovy \u0441\u043a\u0440\u0438\u043f\u0442, \u043a\u043e\u0442\u043e\u0440\u044b\u0439 \u0440\u0435\u0448\u0430\u0435\u0442 \u0437\u0430\u0434\u0430\u0447\u0443 \u043f\u043e \u0438\u0437\u0432\u043b\u0435\u0447\u0435\u043d\u0438\u044e \u0438\u0437 \u0441\u0438\u0441\u0442\u0435\u043c\u044b \u0445\u0440\u0430\u043d\u0435\u043d\u0438\u044f \u0447\u0443\u0432\u0441\u0442\u0432\u0438\u0442\u0435\u043b\u044c\u043d\u044b\u0445 \u0434\u0430\u043d\u043d\u044b\u0445 Vault. <\/p>\n<figure class=\"full-width\"><figcaption>Git \u0440\u0435\u043f\u043e\u0437\u0438\u0442\u043e\u0440\u0438\u0439 \u0441 Vault<\/figcaption><\/figure>\n<p>\u0422\u0430\u043a\u0436\u0435 \u0435\u0441\u0442\u044c \u0440\u0435\u043f\u043e\u0437\u0438\u0442\u043e\u0440\u0438\u0439 CICD, \u0432 \u043a\u043e\u0442\u043e\u0440\u044b\u0445 \u0441\u043e\u0434\u0435\u0440\u0436\u0430\u0442\u0441\u044f \u043a\u043e\u043d\u0432\u0435\u0439\u0435\u0440\u044b \u043a\u043e\u043d\u043a\u0440\u0435\u0442\u043d\u044b\u0445 \u043f\u0440\u0438\u043b\u043e\u0436\u0435\u043d\u0438\u0439.<\/p>\n<figure class=\"full-width\"><figcaption>Git \u0440\u0435\u043f\u043e\u0437\u0438\u0442\u043e\u0440\u0438\u0439 \u0441 submodules<\/figcaption><\/figure>\n<p>\u0414\u043b\u044f \u0442\u043e\u0433\u043e, \u0447\u0442\u043e\u0431\u044b \u043f\u043e\u0434\u043a\u043b\u044e\u0447\u0438\u0442\u044c \u0440\u0435\u043f\u043e\u0437\u0438\u0442\u043e\u0440\u0438\u0439 Vault \u043a \u0440\u0435\u043f\u043e\u0437\u0438\u0442\u043e\u0440\u0438\u044e CICD \u043a\u0430\u043a submulde \u043d\u0435\u043e\u0431\u0445\u043e\u0434\u0438\u043c\u043e \u0432\u044b\u043f\u043e\u043b\u043d\u0438\u0442\u044c, \u0437\u0430\u0444\u0438\u043a\u0441\u0438\u0440\u043e\u0432\u0430\u0442\u044c commit \u0438 \u043e\u0442\u043f\u0440\u0430\u0432\u0438\u0442\u044c push \u0432 \u0432\u0435\u0442\u043a\u0443 dev<\/p>\n<pre><code class=\"bash\">git submodule add git@gitlab.services.ru:DevOps\/cicd-store\/jenkins\/vault.git git status git diff --cached vault git diff --cached --submodule git commit -am 'Add vault module' git push origin dev<\/code><\/pre>\n<p>\u0432 \u0438\u0442\u043e\u0433\u0435 \u043f\u043e\u044f\u0432\u043b\u044f\u0435\u0442\u0441\u044f \u0444\u0430\u0439\u043b <strong>.gitsubmodules<\/strong> \u0438 \u0432 \u043d\u0435\u043c \u0441\u043e\u043e\u0442\u0432\u0435\u0442\u0441\u0442\u0432\u0443\u044e\u0449\u0430\u044f \u0437\u0430\u043f\u0438\u0441\u044c<\/p>\n<figure class=\"bordered full-width\"><figcaption>Vault \u043b\u043e\u043a\u0430\u043b\u044c\u043d\u043e \u0432 Intellij Idea<\/figcaption><\/figure>\n<pre><code class=\"json\">[submodule \"vault\"] path = vault url = git@gitlab.services.ru:DevOps\/cicd-store\/jenkins\/vault.git<\/code><\/pre>\n<p>\u0415\u0441\u043b\u0438 \u043a\u0441\u0442\u0430\u0442\u0438 \u0440\u0435\u0448\u0438\u0442\u0435 \u043e\u0442\u043a\u043b\u044e\u0447\u0438\u0442\u044c submudule , \u0442\u043e \u043d\u0435\u043e\u0431\u0445\u043e\u0434\u0438\u043c\u043e \u0441\u0434\u0435\u043b\u0430\u0442\u044c \u0441\u043b\u0435\u0434\u0443\u044e\u0449\u0435\u0435<\/p>\n<pre><code class=\"bash\">git submodule deinit -f vault git rm --cached vault<\/code><\/pre>\n<p>\u0444\u0438\u0437\u0438\u0447\u0435\u0441\u043a\u0438 \u0443\u0434\u0430\u043b\u044f\u0435\u043c<\/p>\n<pre><code class=\"bash\">rm -rf vault<\/code><\/pre>\n<p>\u0438 \u0443\u0434\u0430\u043b\u044f\u0435\u043c \u0438\u0437 <strong>.gitmodules <\/strong>\u0441\u0435\u043a\u0446\u0438\u044e <code>[submodule \"vault\"]<\/code><\/p>\n<p>\u0415\u0441\u043b\u0438 \u0432\u044b \u0447\u0442\u043e-\u0442\u043e \u043f\u043e\u043c\u0435\u043d\u044f\u043b\u0438 \u0432 \u0440\u0435\u043f\u043e\u0437\u0438\u0442\u043e\u0440\u0438\u0438 Vault \u0438 \u0445\u043e\u0442\u0438\u0442\u0435 \u0447\u0442\u043e\u0431\u044b \u0443\u043a\u0430\u0437\u0430\u0442\u0435\u043b\u044c \u0432 \u043e\u0441\u043d\u043e\u0432\u043d\u043e\u043c \u043f\u0440\u043e\u0435\u043a\u0442\u0435 \u0431\u044b\u043b \u043f\u0435\u0440\u0435\u043c\u0435\u0449\u0435\u043d \u043d\u0430 \u0441\u0430\u043c\u044b\u0439 \u043d\u043e\u0432\u044b\u0439 \u043a\u043e\u043c\u043c\u0438\u0442 \u0438 \u0438\u0437\u043c\u0435\u043d\u0435\u043d\u0438\u044f \u0431\u044b\u043b\u0438 \u043e\u0442\u043f\u0440\u0430\u0432\u043b\u0435\u043d\u044b \u0432 \u0432\u0435\u0442\u043a\u0443 master \u043d\u0435\u043e\u0431\u0445\u043e\u0434\u0438\u043c\u043e \u0441\u0434\u0435\u043b\u0430\u0442\u044c \u0441\u043b\u0435\u0434\u0443\u044e\u0449\u0435\u0435:<\/p>\n<pre><code class=\"bash\">git submodule update --init --recursive &amp;&amp;  git status &amp;&amp;  git submodule update --remote --rebase &amp;&amp;  git commit -am 'Fix old commit' &amp;&amp;  git push origin master<\/code><\/pre>\n<pre><code class=\"bash\">\u041f\u0435\u0440\u0435\u0447\u0438\u0441\u043b\u0435\u043d\u0438\u0435 \u043e\u0431\u044a\u0435\u043a\u0442\u043e\u0432: 3, \u0433\u043e\u0442\u043e\u0432\u043e. \u041f\u043e\u0434\u0441\u0447\u0435\u0442 \u043e\u0431\u044a\u0435\u043a\u0442\u043e\u0432: 100% (3\/3), \u0433\u043e\u0442\u043e\u0432\u043e. \u041f\u0440\u0438 \u0441\u0436\u0430\u0442\u0438\u0438 \u0438\u0437\u043c\u0435\u043d\u0435\u043d\u0438\u0439 \u0438\u0441\u043f\u043e\u043b\u044c\u0437\u0443\u0435\u0442\u0441\u044f \u0434\u043e 12 \u043f\u043e\u0442\u043e\u043a\u043e\u0432 \u0421\u0436\u0430\u0442\u0438\u0435 \u043e\u0431\u044a\u0435\u043a\u0442\u043e\u0432: 100% (2\/2), \u0433\u043e\u0442\u043e\u0432\u043e. \u0417\u0430\u043f\u0438\u0441\u044c \u043e\u0431\u044a\u0435\u043a\u0442\u043e\u0432: 100% (2\/2), 241 bytes | 241.00 KiB\/s, \u0433\u043e\u0442\u043e\u0432\u043e. Total 2 (delta 1), reused 0 (delta 0), pack-reused 0 To gitlab.services.ru:product\/adv\/cicd.git f20bf06..2fa5cc7 master -> master<\/code><\/pre>\n<p>\u0427\u0430\u0448\u0435 \u0432\u0441\u0435\u0433\u043e \u0432\u0441\u0435 \u0440\u0430\u0431\u043e\u0442\u0430\u0435\u0442 \u0448\u0442\u0430\u0442\u043d\u043e, \u043d\u043e \u0438\u043d\u043e\u0433\u0434\u0430 \u043e\u0431\u0441\u0442\u043e\u044f\u0442\u0435\u043b\u044c\u0441\u0442\u0432\u0430 \u0441\u043a\u043b\u0430\u0434\u044b\u0432\u0430\u044e\u0442\u0441\u044f \u0442\u0430\u043a\u0438\u043c \u043e\u0431\u0440\u0430\u0437\u043e\u043c:<\/p>\n<ul>\n<li>\n<p>22:00 \u043f\u044f\u0442\u043d\u0438\u0446\u0430 \u0438 \u0432\u044b \u0445\u043e\u0442\u0438\u0442\u0435 \u043f\u043e\u043b\u0443\u0447\u0438\u0442\u044c \u0438\u043c\u0435\u043d\u043d\u043e \u0441\u0435\u0433\u043e\u0434\u043d\u044f \u0440\u0435\u0437\u0443\u043b\u044c\u0442\u0430\u0442, \u043f\u043e\u0442\u043e\u043c\u0443 \u043a\u0430\u043a \u043f\u043e\u0442\u0440\u0430\u0442\u0438\u043b\u0438 \u043d\u0430 \u044d\u0442\u043e\u0442 pipeline \u043f\u043e\u0447\u0442\u0438 \u0446\u0435\u043b\u044b\u0439 \u0434\u0435\u043d\u044c, \u043f\u0440\u043e\u0441\u0442\u043e \u0443\u0439\u0442\u0438 \u0438 \u0431\u0440\u043e\u0441\u0438\u0442\u044c \u0437\u0430\u0434\u0430\u0447\u0443 &#8212; \u0432\u044b \u043d\u0435 \u0442\u043e\u043b\u044c\u043a\u043e \u043d\u0435 \u043f\u043e\u043b\u0443\u0447\u0438\u0442\u0435 \u0441\u0432\u043e\u044e \u0434\u043e\u0437\u0443 \u0434\u043e\u0444\u0430\u043c\u0438\u043d\u0430, \u0430 \u0443 \u0432\u0430\u0441 \u0435\u0449\u0435 \u0432\u044b\u0440\u0430\u0431\u043e\u0442\u0430\u0435\u0442\u0441\u044f \u0434\u043e\u043f\u043e\u043b\u043d\u0438\u0442\u0435\u043b\u044c\u043d\u0430\u044f \u0434\u043e\u0437\u0430 \u043a\u043e\u0440\u0442\u0438\u0437\u043e\u043b\u0430,<\/p>\n<\/li>\n<li>\n<p>\u0432 \u043a\u0430\u043a\u043e\u0439-\u0442\u043e \u043c\u043e\u043c\u0435\u043d\u0442 \u0432\u044b \u0432\u0438\u0434\u0438\u0442\u0435, \u0447\u0442\u043e \u0432\u043e\u0442 \u043e\u043d\u043e \u043f\u043e\u0447\u0442\u0438 \u0433\u043e\u0442\u043e\u0432\u043e \u0438 \u0441\u0432\u043e\u0435\u043c\u0443 \u043a\u043e\u043b\u043b\u0435\u0433\u0435 \u043f\u043e \u0440\u0430\u0431\u043e\u0442\u0435 \u043a\u043e\u0442\u043e\u0440\u044b\u0439 \u043f\u043e\u0447\u0435\u043c\u0443-\u0442\u043e \u0442\u043e\u0436\u0435 \u0437\u0430\u0434\u0435\u0440\u0436\u0430\u043b\u0441\u044f \u0432\u044b \u0433\u043e\u0432\u043e\u0440\u0438\u0442\u0435 \u0435\u0449\u0435 30 \u043c\u0438\u043d\u0443\u0442 \u0438 \u043c\u044b \u043f\u043e\u0439\u0434\u0435\u043c,<\/p>\n<\/li>\n<li>\n<p>\u043d\u0430 25 \u043c\u0438\u043d\u0443\u0442\u0435 \u0443 \u0432\u0430\u0441 \u043f\u043e\u043b\u0443\u0447\u0438\u043b\u043e\u0441\u044c \u043d\u0430\u043a\u043e\u043d\u0435\u0446-\u0442\u043e \u043f\u043e\u043b\u043d\u043e\u0441\u0442\u044c\u044e \u0434\u043e\u0434\u0435\u043b\u0430\u0442\u044c pipeline \u0438 \u043f\u0440\u043e\u0442\u0435\u0441\u0442\u0438\u0440\u043e\u0432\u0430\u0442\u044c <strong>deployment.yml<\/strong> \u0438 \u0442\u0435\u043f\u0435\u0440\u044c \u043e\u0441\u0442\u0430\u043b\u043e\u0441\u044c \u0434\u0435\u043b\u043e \u0437\u0430 \u043c\u0430\u043b\u044b\u043c \u0440\u0430\u0441\u043a\u043e\u043c\u043c\u0435\u043d\u0442\u0438\u0440\u043e\u0432\u0430\u0442\u044c stage \u0441 build \u0438 \u043f\u0440\u043e\u0442\u0435\u0441\u0442\u0438\u0440\u043e\u0432\u0430\u0442\u044c \u0441\u043d\u043e\u0432\u0430 \u0438 \u0432 \u043f\u0440\u043e\u0446\u0435\u0441\u0441\u0435 \u0432\u043d\u0435\u0441\u0442\u0438 \u043a\u043e\u0441\u043c\u0435\u0442\u0438\u0447\u0435\u0441\u043a\u043e\u0435 \u0438\u0437\u043c\u0435\u043d\u0435\u043d\u0438\u0435 \u0432 \u043f\u0440\u043e\u0435\u043a\u0442 \u0432 vault, \u0432\u044b \u043d\u043e\u0440\u043c\u0430\u043b\u044c\u043d\u043e \u043a\u043e\u043c\u043c\u0438\u0442\u0438\u0442\u0435 \u0432 \u0441\u043e\u043e\u0442\u0432\u0435\u0442\u0441\u0442\u0432\u0443\u044e\u0449\u0438\u0435 \u0440\u0435\u043f\u043e\u0437\u0438\u0442\u043e\u0440\u0438\u0438 \u0438 \u043d\u0430 \u043e\u0441\u043d\u043e\u0432\u043d\u043e\u043c \u043f\u0440\u043e\u0435\u043a\u0442\u0435 \u0432\u044b\u043f\u043e\u043b\u043d\u044f\u0435\u0442\u0435<\/p>\n<\/li>\n<\/ul>\n<pre><code class=\"bash\">git submodule update --init --recursive &amp;&amp;  git status &amp;&amp;  git submodule update --remote --rebase &amp;&amp;  git commit -am 'Fix old commit' &amp;&amp;  git push origin master<\/code><\/pre>\n<p>\u043d\u043e \u0447\u0442\u043e-\u0442\u043e \u0438\u0434\u0435\u0442 \u043d\u0435 \u0442\u0430\u043a \u0438 \u043a\u043e\u0433\u0434\u0430 \u0432\u044b \u0437\u0430\u043f\u0443\u0441\u043a\u0430\u0435\u0442\u0435 Job \u0432 Jenkins \u0432\u043e\u0437\u0432\u0440\u0430\u0449\u0430\u0435\u0442\u0441\u044f \u043e\u0448\u0438\u0431\u043a\u0430<\/p>\n<pre><code class=\"bash\">[Pipeline] End of Pipeline hudson.plugins.git.GitException: Command \"git submodule update --init --recursive vault\" returned status code 1: stdout:  stderr: |-----------------------------------------------------------------| | This system is for the use of authorized users only.            | | Individuals using this computer system without authority, or in | | excess of their authority, are subject to having all of their   | | activities on this system monitored and recorded by system      | | personnel.                                                      | |                                                                 | | In the course of monitoring individuals improperly using this   | | system, or in the course of system maintenance, the activities  | | of authorized users may also be monitored.                      | |                                                                 | | Anyone using this system expressly consents to such monitoring  | | and is advised that if such monitoring reveals possible         | | evidence of criminal activity, system personnel may provide the | | evidence of such monitoring to law enforcement officials.       | |-----------------------------------------------------------------| fatal: reference is not a tree: 63f0d683a3842bc6bffc13524803560e1e725086 Unable to checkout '63f0d683a3842bc6bffc13524803560e1e725086' in submodule path 'vault'<\/code><\/pre>\n<p>\u043f\u0440\u043e\u0431\u0443\u0435\u0442\u0435 \u043f\u0435\u0440\u0435\u0439\u0442\u0438 \u0432 giltab \u043f\u043e \u0441\u0441\u044b\u043b\u043a\u0435 vaurt @ \u0442\u043e \u0432\u0430\u043c \u0432\u043e\u0437\u0432\u0440\u0430\u0449\u0430\u0435\u0442\u0441\u044f 404 \u043e\u0448\u0438\u0431\u043a\u0430<\/p>\n<figure class=\"full-width\"><figcaption>404 \u043e\u0448\u0438\u0431\u043a\u0430 \u043f\u0440\u0438 \u043f\u043e\u043f\u044b\u0442\u043a\u0435 \u043f\u0435\u0440\u0435\u0445\u043e\u0434\u0430 \u043d\u0430 git submodule vault<\/figcaption><\/figure>\n<p>\u0414\u043b\u044f \u043f\u0440\u0438\u043c\u0435\u0440\u0430 \u043d\u0430\u0448\u0435\u043b \u043f\u043e\u0434\u043e\u0431\u043d\u044b\u0435 \u043e\u0448\u0438\u0431\u043a\u0438 \u043d\u0430 toster.ru<\/p>\n<figure class=\"full-width\"><figcaption>https:\/\/qna.habr.com\/q\/131671<\/figcaption><\/figure>\n<p>\u0412 \u043e\u0442\u0432\u0435\u0442\u0435 \u0431\u044b\u043b\u043e \u043d\u0430\u043f\u0438\u0441\u0430\u043d\u043e \u0447\u0442\u043e \u0433\u0443\u0433\u043b\u0438\u0442\u0441\u044f 10 \u0441\u0435\u043a\u0443\u043d\u0434, \u043d\u043e \u0447\u0435\u0442\u043a\u043e\u0433\u043e \u0441\u043a\u0440\u0438\u043f\u0442\u0430 \u043a\u0430\u043a \u0432\u043e\u0441\u0441\u0442\u0430\u043d\u043e\u0432\u0438\u0442\u044c \u0440\u0430\u0431\u043e\u0442\u043e\u0441\u043f\u043e\u0441\u043e\u0431\u043d\u043e\u0441\u0442\u044c \u043d\u0430\u0439\u0434\u0435\u043d\u043e \u043d\u0435 \u0431\u044b\u043b\u043e \u0438 \u044f \u0440\u0435\u0448\u0438\u043b \u0447\u0442\u043e \u043c\u043e\u044f \u0438\u0441\u0442\u043e\u0440\u0438\u044f \u043a\u0430\u043a \u044d\u0442\u043e \u0431\u044b\u0441\u0442\u0440\u043e \u043f\u043e\u0447\u0438\u043d\u0438\u0442\u044c \u0440\u0435\u043f\u043e\u0437\u0438\u0442\u043e\u0440\u0438\u0439 CICD \u0431\u0443\u0434\u0435\u0442 \u043f\u043e\u043b\u0435\u0437\u043d\u0430<\/p>\n<p>\u041d\u0430\u0447\u0438\u043d\u0430\u0435\u043c \u0441 \u043a\u043b\u043e\u043d\u0438\u0440\u043e\u0432\u0430\u044f \u0440\u0435\u043f\u043e\u0437\u0438\u0442\u043e\u0440\u0438\u044f<\/p>\n<pre><code class=\"bash\">git clone &lt;repo><\/code><\/pre>\n<p>\u0434\u0430\u043b\u0435\u0435 \u043d\u0435\u043e\u0431\u0445\u043e\u0434\u0438\u043c\u043e \u0441\u0434\u0435\u043b\u0430\u0442\u044c \u0438\u043d\u0438\u0446\u0438\u0430\u043b\u0438\u0437\u0430\u0446\u0438\u044e submodule<\/p>\n<pre><code class=\"bash\">git submodule init<\/code><\/pre>\n<pre><code class=\"bash\">\u041f\u043e\u0434\u043c\u043e\u0434\u0443\u043b\u044c \u00abvault\u00bb (git@gitlab.services.ru:DevOps\/cicd-store\/jenkins\/vault.git)  \u0437\u0430\u0440\u0435\u0433\u0438\u0441\u0442\u0440\u0438\u0440\u043e\u0432\u0430\u043d \u043f\u043e \u043f\u0443\u0442\u0438 \u00abvault\u00bb<\/code><\/pre>\n<p>\u0434\u0430\u043b\u0435\u0435 \u0432\u044b\u043f\u043e\u043b\u043d\u044f\u0435\u043c \u0440\u0435\u043a\u0443\u0440\u0441\u0438\u0432\u043d\u044b\u0439 update<\/p>\n<pre><code class=\"bash\">git submodule update --recursive --remote<\/code><\/pre>\n<p>\u0434\u0430\u043b\u0435\u0435 \u043f\u0440\u043e\u0431\u0443\u0435\u043c \u0432\u044b\u043f\u043e\u043b\u043d\u0438\u0442\u044c update \u0438\u043c\u0435\u043d\u043d\u043e sub \u043c\u043e\u0434\u0443\u043b\u044f vault<\/p>\n<pre><code class=\"bash\">git submodule update --init --recursive vault<\/code><\/pre>\n<p>\u043f\u043e\u043b\u0443\u0447\u0430\u0435\u043c \u0432 \u043e\u0442\u0432\u0435\u0442 \u043e\u0448\u0438\u0431\u043a\u0443<\/p>\n<pre><code class=\"bash\">| This system is for the use of authorized users only. |  | Individuals using this computer system without authority, or in |  | excess of their authority, are subject to having all of their |  | activities on this system monitored and recorded by system |  | personnel. |  | |  | In the course of monitoring individuals improperly using this |  | system, or in the course of system maintenance, the activities |  | of authorized users may also be monitored. |  | |  | Anyone using this system expressly consents to such monitoring |  | and is advised that if such monitoring reveals possible |  | evidence of criminal activity, system personnel may provide the |  | evidence of such monitoring to law enforcement officials. |  |-----------------------------------------------------------------|  fatal: git upload-pack: not our ref 63f0d683a3842bc6bffc13524803560e1e725086  fatal: \u043e\u0448\u0438\u0431\u043a\u0430 \u0432\u043d\u0435\u0448\u043d\u0435\u0433\u043e \u0440\u0435\u043f\u043e\u0437\u0438\u0442\u043e\u0440\u0438\u044f: upload-pack: not our ref 63f0d683a3842bc6bffc13524803560e1e725086  \u041f\u043e\u043b\u0443\u0447\u0435\u043d \u043f\u043e \u043f\u0443\u0442\u0438 \u043f\u043e\u0434\u043c\u043e\u0434\u0443\u043b\u044f \u00abvault\u00bb, \u043d\u043e \u043d\u0435 \u0441\u043e\u0434\u0435\u0440\u0436\u0438\u0442 63f0d683a3842bc6bffc13524803560e1e725086.  \u0421\u0431\u043e\u0439 \u043f\u0440\u0438 \u043f\u0440\u044f\u043c\u043e\u043c \u043f\u043e\u043b\u0443\u0447\u0435\u043d\u0438\u0438 \u043a\u043e\u043c\u043c\u0438\u0442\u0430. <\/code><\/pre>\n<p>\u043f\u0435\u0440\u0435\u0445\u043e\u0434\u0438\u043c \u0432 \u043a\u0430\u0442\u0430\u043b\u043e\u0433 vault \u0438 \u043f\u0440\u043e\u0432\u0435\u0440\u044f\u0435\u043c \u0442\u0430 \u043b\u0438 \u0432\u0435\u0442\u043a\u0430 \u043a\u043e\u0442\u043e\u0440\u0430\u044f \u043d\u0443\u0436\u043d\u0430 \u043c\u044b \u0441\u0435\u0439\u0447\u0430\u0441 \u0438\u0441\u043f\u043e\u043b\u044c\u0437\u0443\u0435\u043c<\/p>\n<pre><code class=\"bash\">cd vault git branch  * (HEAD \u043e\u0442\u0434\u0435\u043b\u0451\u043d \u043d\u0430 bf2f348) v1<\/code><\/pre>\n<p>\u0432\u0435\u0442\u043a\u0430 \u0432\u0435\u0440\u043d\u0430\u044f v1<\/p>\n<p>\u0434\u0430\u043b\u0435\u0435 \u0432\u044b\u043f\u043e\u043b\u043d\u044f\u0435\u043c \u0430\u043a\u0442\u0443\u0430\u043b\u0438\u0437\u0430\u0446\u0438\u044e<\/p>\n<pre><code class=\"bash\">git checkout v1<\/code><\/pre>\n<pre><code class=\"bash\">\u041f\u0435\u0440\u0435\u043a\u043b\u044e\u0447\u0435\u043d\u043e \u043d\u0430 \u0432\u0435\u0442\u043a\u0443 \u00abv1\u00bb \u0412\u0430\u0448\u0430 \u0432\u0435\u0442\u043a\u0430 \u043e\u0431\u043d\u043e\u0432\u043b\u0435\u043d\u0430 \u0432 \u0441\u043e\u043e\u0442\u0432\u0435\u0442\u0441\u0442\u0432\u0438\u0438 \u0441 \u00aborigin\/v1\u00bb.<\/code><\/pre>\n<p>\u043c\u044b \u043e\u0431\u043d\u043e\u0432\u0438\u043b\u0438 \u043a\u0430\u0442\u0430\u043b\u043e\u0433 \u0441 sub modules \u0434\u043e \u043f\u043e\u0441\u043b\u0435\u0434\u043d\u0435\u0433\u043e \u043a\u043e\u043c\u043c\u0438\u0442\u0430 repo \u0441 vault, \u0442\u0435\u043f\u0435\u0440\u044c \u043d\u0435\u043e\u0431\u0445\u043e\u0434\u0438\u043c\u043e \u043f\u0435\u0440\u0435\u0439\u0442\u0438 \u0432 \u043a\u0430\u0442\u0430\u043b\u043e\u0433 \u0441 \u043e\u0441\u043d\u043e\u0432\u043d\u044b\u043c \u043f\u0440\u043e\u0435\u043a\u0442\u043e\u043c \u0438 \u0441\u043e\u0445\u0440\u0430\u043d\u0438\u0442\u044c \u0438\u0437\u043c\u0435\u043d\u0435\u043d\u0438\u044f<\/p>\n<pre><code class=\"bash\">cd .. git commit -am 'Fix old commit with vault' [master 37b2fa0] Fix old commit with vault 1 file changed, 1 insertion(+), 1 deletion(-)<\/code><\/pre>\n<p>\u0434\u0430\u043b\u0435\u0435 \u0437\u0430\u0444\u0438\u043a\u0441\u0438\u0440\u043e\u0432\u0430\u043d\u043d\u044b\u0435 \u0438\u0437\u043c\u0435\u043d\u0435\u043d\u0438\u044f \u043c\u044b \u043e\u0442\u043f\u0440\u0430\u0432\u043b\u044f\u0435\u043c \u0432 \u0440\u0435\u043f\u043e\u0437\u0438\u0442\u043e\u0440\u0438\u0439 \u0441 \u043f\u0440\u043e\u0435\u043a\u0442\u043e\u043c<\/p>\n<pre><code class=\"bash\">git push origin master<\/code><\/pre>\n<pre><code class=\"bash\">|-----------------------------------------------------------------|  | This system is for the use of authorized users only. |  | Individuals using this computer system without authority, or in |  | excess of their authority, are subject to having all of their |  | activities on this system monitored and recorded by system |  | personnel. |  | |  | In the course of monitoring individuals improperly using this |  | system, or in the course of system maintenance, the activities |  | of authorized users may also be monitored. |  | |  | Anyone using this system expressly consents to such monitoring |  | and is advised that if such monitoring reveals possible |  | evidence of criminal activity, system personnel may provide the |  | evidence of such monitoring to law enforcement officials. |  |-----------------------------------------------------------------|  \u041f\u0435\u0440\u0435\u0447\u0438\u0441\u043b\u0435\u043d\u0438\u0435 \u043e\u0431\u044a\u0435\u043a\u0442\u043e\u0432: 3, \u0433\u043e\u0442\u043e\u0432\u043e.  \u041f\u043e\u0434\u0441\u0447\u0435\u0442 \u043e\u0431\u044a\u0435\u043a\u0442\u043e\u0432: 100% (3\/3), \u0433\u043e\u0442\u043e\u0432\u043e.  \u041f\u0440\u0438 \u0441\u0436\u0430\u0442\u0438\u0438 \u0438\u0437\u043c\u0435\u043d\u0435\u043d\u0438\u0439 \u0438\u0441\u043f\u043e\u043b\u044c\u0437\u0443\u0435\u0442\u0441\u044f \u0434\u043e 12 \u043f\u043e\u0442\u043e\u043a\u043e\u0432  \u0421\u0436\u0430\u0442\u0438\u0435 \u043e\u0431\u044a\u0435\u043a\u0442\u043e\u0432: 100% (1\/1), \u0433\u043e\u0442\u043e\u0432\u043e.  \u0417\u0430\u043f\u0438\u0441\u044c \u043e\u0431\u044a\u0435\u043a\u0442\u043e\u0432: 100% (2\/2), 249 bytes | 249.00 KiB\/s, \u0433\u043e\u0442\u043e\u0432\u043e.  Total 2 (delta 1), reused 1 (delta 1), pack-reused 0  To gitlab.services.ru:product\/adv\/cicd.git  1e35cdf..37b2fa0 master -> master<\/code><\/pre>\n<p>\u043f\u0440\u043e\u0432\u0435\u0440\u044f\u0435\u043c repo \u0441 \u043f\u0440\u043e\u0435\u043a\u0442\u043e\u043c, \u0447\u0442\u043e \u0432\u0441\u0435 \u0441\u0440\u0430\u0431\u043e\u0442\u0430\u043b\u043e \u043a\u0430\u043a \u043d\u0443\u0436\u043d\u043e<\/p>\n<figure class=\"full-width\"><figcaption>commit Fix old commit with vault<\/figcaption><\/figure>\n<p>\u043f\u0435\u0440\u0435\u0445\u043e\u0434\u0438\u043c \u043f\u043e \u0441\u0441\u044b\u043b\u043a\u0435 \u043f\u043e\u0441\u043b\u0435 @<\/p>\n<figure class=\"full-width\"><figcaption>\u0432\u043e\u0441\u0441\u0442\u0430\u043d\u043e\u0432\u043b\u0435\u043d\u043d\u0430\u044f \u0441\u0441\u044b\u043b\u043a\u0430 git submodule \u043d\u0430 \u0440\u0435\u043f\u043e\u0437\u0438\u0442\u043e\u0440\u0438\u0439 \u0441 Vault<\/figcaption><\/figure>\n<p>\u0435\u0441\u043b\u0438 \u0434\u043e \u044d\u0442\u043e\u0433\u043e \u043c\u044b \u0432\u0441\u0435 \u0441\u0434\u0435\u043b\u0430\u043b\u0438 \u043f\u0440\u0430\u0432\u0438\u043b\u044c\u043d\u043e, \u0442\u043e \u0441\u0441\u044b\u043b\u043a\u0430 \u0434\u043e\u043b\u0436\u043d\u0430 \u043e\u0442\u043a\u0440\u044b\u0442\u044c\u0441\u044f.<\/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\/579486\/\"> https:\/\/habr.com\/ru\/articles\/579486\/<\/a><br \/><\/br><\/br><\/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-399509","post","type-post","status-publish","format-standard","hentry"],"_links":{"self":[{"href":"https:\/\/savepearlharbor.com\/index.php?rest_route=\/wp\/v2\/posts\/399509","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=399509"}],"version-history":[{"count":0,"href":"https:\/\/savepearlharbor.com\/index.php?rest_route=\/wp\/v2\/posts\/399509\/revisions"}],"wp:attachment":[{"href":"https:\/\/savepearlharbor.com\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=399509"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/savepearlharbor.com\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=399509"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/savepearlharbor.com\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=399509"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}