{"id":305299,"date":"2021-01-14T15:57:00","date_gmt":"2021-01-14T07:57:00","guid":{"rendered":"http:\/\/4563.org\/?p=305299"},"modified":"2021-01-14T15:57:00","modified_gmt":"2021-01-14T07:57:00","slug":"%e6%9c%89%e6%b2%a1%e6%9c%89%e8%87%aa%e5%b7%b1%e9%83%a8%e7%bd%b2-gitlab-ce-%e6%9c%8d%e5%8a%a1%e5%92%8c-ci-cd-%e7%9a%84%ef%bc%9f%e4%bd%93%e9%aa%8c%e6%80%8e%e4%b9%88%e6%a0%b7%ef%bc%9f","status":"publish","type":"post","link":"http:\/\/4563.org\/?p=305299","title":{"rendered":"\u6709\u6ca1\u6709\u81ea\u5df1\u90e8\u7f72 gitlab-ce \u670d\u52a1\u548c CI\/CD \u7684\uff1f\u4f53\u9a8c\u600e\u4e48\u6837\uff1f"},"content":{"rendered":"<div>\n<div>\n<div>\n<h1>                  \u6709\u6ca1\u6709\u81ea\u5df1\u90e8\u7f72 gitlab-ce \u670d\u52a1\u548c CI\/CD \u7684\uff1f\u4f53\u9a8c\u600e\u4e48\u6837\uff1f               <\/h1>\n<p> <\/p>\n<div>\n<div> <span>\u8cc7\u6df1\u5927\u4f6c : songdezu <\/span>  <span><i><\/i> 3<\/span> <\/div>\n<div> <\/div>\n<\/p><\/div>\n<\/p><\/div>\n<\/p><\/div>\n<div isfirst=\"1\">                        \u51c6\u5907\u81ea\u5df1\u90e8\u7f72\u4e00\u4e2a gitlab \u670d\u52a1\u5728\u81ea\u5df1\u5bb6\u914d\u5408 action\/runner\/ci\/cd\uff0c\u6211\u770b\u4e86\u770b gitlab-ce \u7684\u5b98\u65b9\u5b89\u88c5 docker \u7a0b\u5e8f\uff0c\u600e\u4e48\u90fd\u4e0d\u9700\u8981\u6570\u636e\u5e93\u8fde\u63a5\u7684\uff1f\u662f\u5b98\u65b9 docker \u81ea\u5e26\u4e86\u6570\u636e\u5e93\u4e86\uff1f<\/p>\n<p>gitlab-ce \u548c ci cd \u8bd5\u7528\u4f53\u9a8c\u600e\u4e48\u6837\uff0c\u5982\u679c\u4f53\u9a8c\u4e0d\u4f73\uff0c\u4e0d\u5982\u82b1\u94b1\u76f4\u63a5\u4e70 github \u7684\u670d\u52a1\u4e86<\/p>\n<p>\u8c22\u8c22      <\/p><\/div>\n<div> <b>\u5927\u4f6c\u6709\u8a71\u8aaa<\/b> (<span>13<\/span>)        <\/div>\n<div> <\/div>\n<\/p><\/div>\n<\/p><\/div>\n<ul>\n<li data-pid=\"5143670\" data-uid=\"2\">\n<div>\n<div>\n<div> <span>\u8cc7\u6df1\u5927\u4f6c : easylee <\/span>  <\/div>\n<div> <i title=\"\u5f15\u7528\"><\/i>  <span>          <\/span> <\/div>\n<\/p><\/div>\n<div>                                                             \u516c\u53f8\u7528\u7684\u662f\u8fd9\u4e2a\uff0c\u8fd8\u662f\u633a\u4e0d\u9519\u7684\u3002<\/p>\n<p>\u6bd4\u8f83\u6cdb\u7684\u56de\u590d\uff0c\u53ea\u80fd\u8bf4\u6211\u633a\u559c\u6b22\u7684\u3002                                                            <\/p><\/div>\n<\/p><\/div>\n<\/li>\n<li data-pid=\"5143671\" data-uid=\"2\">\n<div>\n<div>\n<div> <span>\u8cc7\u6df1\u5927\u4f6c : ck65 <\/span>  <\/div>\n<div> <i title=\"\u5f15\u7528\"><\/i>  <span>          <\/span> <\/div>\n<\/p><\/div>\n<div>                                                             \u7528\u4e86\u4e09\u5e74\uff0c\u67b6\u5728 conoha VPS \u4e0a\uff0c\u529f\u80fd\u4e0a\u5e94\u6709\u5c3d\u6709\uff0c\u4e00\u8def\u6700\u65b0\u5347\u7ea7\u4ece\u6765\u6ca1\u51fa\u8fc7\u95ee\u9898\uff0cCI\/CD \u76ee\u524d\u662f\u6211\u7684\u4e00\u4e2a\u4e3b\u8981\u751f\u4ea7\u529b\u73af\u8282\u3002\u4f46\u6210\u672c\u504f\u9ad8\uff0c\u6700\u5c11\u8981 2GB \u5185\u5b58\u624d\u80fd\u7a33\u5b9a\u8fd0\u884c\uff0c\u5982\u679c\u50cf\u6211\u8fd9\u79cd\u575a\u51b3\u4e0d\u7528\u56fd\u5185\u4e91\u670d\u52a1\u7684\u8bdd\u6708\u8d39\u53ef\u80fd\u6bd4\u8f83\u611f\u4eba\uff0c\u642d\u4e0a\u51e0\u4e2a\u5c0f\u4f19\u4f34\u5206\u644a\u624d\u8212\u5766\u3002\u80fd\u8dd1\u5728\u5bb6\u91cc\uff0c\u5982\u679c\u53c8\u6ca1\u6709\u6298\u817e\u5916\u7f51\u8bbf\u95ee\u7684\u9700\u6c42\uff0c\u8fd9\u5c31\u7b97\u662f\u4e2a\u514d\u8d39\u7684\u65b9\u6848\u4e86\u3002                                                            <\/div>\n<\/p><\/div>\n<\/li>\n<li data-pid=\"5143672\" data-uid=\"2\">\n<div>\n<div>\n<div> <span>\u8cc7\u6df1\u5927\u4f6c : lizytalk <\/span>  <\/div>\n<div> <i title=\"\u5f15\u7528\"><\/i>  <span>          <\/span> <\/div>\n<\/p><\/div>\n<div>                                                             \u90e8\u7f72\u8fc7\u8fd9\u4e2a\u3002gitlab \u7684\u90e8\u7f72\u4f53\u9a8c\u975e\u5e38\u597d\uff0c\u505a\u5f97\u5f88\u5b8c\u5584\u3002gitlab \u7684\u529f\u80fd\u4e5f\u6bd4 GitHub\uff0c\u5f88\u559c\u6b22                                                            <\/div>\n<\/p><\/div>\n<\/li>\n<li data-pid=\"5143673\" data-uid=\"2\">\n<div>\n<div>\n<div> <span>\u8cc7\u6df1\u5927\u4f6c : lhtdege <\/span>  <\/div>\n<div> <i title=\"\u5f15\u7528\"><\/i>  <span>          <\/span> <\/div>\n<\/p><\/div>\n<div>                                                             \u4e00\u76f4\u5728\u81ea\u5df1\u670d\u52a1\u5668\u4e0a\u57fa\u4e8e docker \u90e8\u7f72\u7684\uff0cgitlab-ci \u4f53\u9a8c\u975e\u5e38\u597d                                                            <\/div>\n<\/p><\/div>\n<\/li>\n<li data-pid=\"5143674\" data-uid=\"2\">\n<div>\n<div>\n<div> <span>\u8cc7\u6df1\u5927\u4f6c : chendy <\/span>  <\/div>\n<div> <i title=\"\u5f15\u7528\"><\/i>  <span>          <\/span> <\/div>\n<\/p><\/div>\n<div>                                                             \u516c\u53f8\u7528\u4e86\u597d\u591a\u5e74\u4e86\uff0c\u4f53\u9a8c\u4e0d\u9519<br \/>\u9ed8\u8ba4\u81ea\u5e26\u5305\u62ec\u6570\u636e\u5e93\u548c\u5176\u4ed6\u5404\u79cd\u4e1c\u897f\u7684\u5927\u5168\u5957                                                            <\/div>\n<\/p><\/div>\n<\/li>\n<li data-pid=\"5143675\" data-uid=\"2\">\n<div>\n<div>\n<div> <span>\u8cc7\u6df1\u5927\u4f6c : zqjnew <\/span>  <\/div>\n<div> <i title=\"\u5f15\u7528\"><\/i>  <span>          <\/span> <\/div>\n<\/p><\/div>\n<div>                                                             gitlab+Jenkins \u548b\u6837                                                            <\/div>\n<\/p><\/div>\n<\/li>\n<li data-pid=\"5143676\" data-uid=\"2\">\n<div>\n<div>\n<div> <span>\u8cc7\u6df1\u5927\u4f6c : to2false <\/span>  <\/div>\n<div> <i title=\"\u5f15\u7528\"><\/i>  <span>          <\/span> <\/div>\n<\/p><\/div>\n<div>                                                             \u7528\u7684 gitea+drone \u7ed3\u5408 docker \u633a\u8212\u670d\u7684                                                            <\/div>\n<\/p><\/div>\n<\/li>\n<li data-pid=\"5143677\" data-uid=\"2\">\n<div>\n<div>\n<div> <span>\u8cc7\u6df1\u5927\u4f6c : Luufery <\/span>  <\/div>\n<div> <i title=\"\u5f15\u7528\"><\/i>  <span>          <\/span> <\/div>\n<\/p><\/div>\n<div>                                                             \u5728\u7528\uff0c\u63a8\u8350\u3002\u53ea\u7528\u4e86 ci\uff0ccd \u8981\u81ea\u5df1\u641e                                                            <\/div>\n<\/p><\/div>\n<\/li>\n<li data-pid=\"5143678\" data-uid=\"2\">\n<div>\n<div>\n<div> <span>\u8cc7\u6df1\u5927\u4f6c : Rwing <\/span>  <\/div>\n<div> <i title=\"\u5f15\u7528\"><\/i>  <span>          <\/span> <\/div>\n<\/p><\/div>\n<div>                                                             \u68d2\u5c31\u4e00\u4e2a\u5b57                                                            <\/div>\n<\/p><\/div>\n<\/li>\n<li data-pid=\"5143679\" data-uid=\"2\">\n<div>\n<div>\n<div> <span>\u8cc7\u6df1\u5927\u4f6c : Unmurphy <\/span>  <\/div>\n<div> <i title=\"\u5f15\u7528\"><\/i>  <span>          <\/span> <\/div>\n<\/p><\/div>\n<div>                                                             gitlab \u7684 CI\/CD \u52a0\u4e0a\u81ea\u5b9a\u4e49\u7684 runner \u8dd1\u8d77\u6765\u592a\u8212\u670d\u4e86                                                            <\/div>\n<\/p><\/div>\n<\/li>\n<li data-pid=\"5143680\" data-uid=\"2\">\n<div>\n<div>\n<div> <span>\u8cc7\u6df1\u5927\u4f6c : Rhianu <\/span>  <\/div>\n<div> <i title=\"\u5f15\u7528\"><\/i>  <span>          <\/span> <\/div>\n<\/p><\/div>\n<div>                                                             \u6211\u4e2a\u4eba\u7684 Hexo \u535a\u5ba2\u7cfb\u7edf\u90e8\u7f72\u5c31\u662f\u57fa\u4e8e Github Action \u5b9e\u73b0\u7684\u81ea\u52a8\u7f16\u8bd1\u548c\u90e8\u7f72\uff0c\u53ea\u9700\u8981\u628a\u4ee3\u7801 push \u5230 Github \u4ed3\u5e93\u4e0a\u5c31\u53ef\u4ee5\uff0c\u5176\u5b9e\u80fd\u505a\u7684\u4e0d\u53ea\u662f\u8fd9\u4e9b                                                            <\/div>\n<\/p><\/div>\n<\/li>\n<li data-pid=\"5143681\" data-uid=\"2\">\n<div>\n<div>\n<div> <span>\u8cc7\u6df1\u5927\u4f6c : Lee2019 <\/span>  <\/div>\n<div> <i title=\"\u5f15\u7528\"><\/i>  <span>          <\/span> <\/div>\n<\/p><\/div>\n<div>                                                             \u597d\u7528                                                            <\/div>\n<\/p><\/div>\n<\/li>\n<li data-pid=\"5143682\" data-uid=\"2\">\n<div>\n<div>\n<div> <span>\u8cc7\u6df1\u5927\u4f6c : GopherDaily <\/span>  <\/div>\n<div> <i title=\"\u5f15\u7528\"><\/i>  <span>          <\/span> <\/div>\n<\/p><\/div>\n<div>                                                             gitlab-ci \u662f\u663e\u8457\u5f3a\u4e8e github action.<br \/>gitlab.com \u4e5f\u6709\u4e0d\u7528\u79c1\u90e8\u7684\u7248\u672c\uff0c\u4f60\u53ef\u4ee5\u81ea\u5df1\u4f53\u4f1a\u4e0b\u3002                                                            <\/div>\n<\/p><\/div>\n<\/li>\n<li>\n","protected":false},"excerpt":{"rendered":"<p>\u6709\u6ca1\u6709\u81ea\u5df1\u90e8\u7f72 gitlab-ce&hellip;<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":[],"categories":[],"tags":[],"_links":{"self":[{"href":"http:\/\/4563.org\/index.php?rest_route=\/wp\/v2\/posts\/305299"}],"collection":[{"href":"http:\/\/4563.org\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"http:\/\/4563.org\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"http:\/\/4563.org\/index.php?rest_route=\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"http:\/\/4563.org\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=305299"}],"version-history":[{"count":0,"href":"http:\/\/4563.org\/index.php?rest_route=\/wp\/v2\/posts\/305299\/revisions"}],"wp:attachment":[{"href":"http:\/\/4563.org\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=305299"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"http:\/\/4563.org\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=305299"},{"taxonomy":"post_tag","embeddable":true,"href":"http:\/\/4563.org\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=305299"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}