{"id":205,"date":"2022-12-24T14:06:09","date_gmt":"2022-12-24T06:06:09","guid":{"rendered":"https:\/\/eidolon168.com\/?p=205"},"modified":"2022-12-24T14:07:12","modified_gmt":"2022-12-24T06:07:12","slug":"gitlab-%e7%b3%bb%e5%88%97-%e7%ac%ac%e4%ba%8c%e7%af%87-%e8%ae%93%e8%85%b3%e6%9c%ac%e5%b9%ab%e4%bd%a0%e5%ae%8c%e6%88%90%e4%be%8b%e8%a1%8c%e6%80%a7%e5%b7%a5%e4%bd%9c-gitlab-ci-cd%ef%bc%8c%e5%a6%82","status":"publish","type":"post","link":"https:\/\/web.eidolon.ddns.net\/?p=205","title":{"rendered":"[GitLab \u7cfb\u5217 \u7b2c\u4e00\u7bc7] \u8b93\u8173\u672c\u5e6b\u4f60\u5b8c\u6210\u4f8b\u884c\u6027\u5de5\u4f5c GitLab CI\/CD\uff0c\u5982\u4f55\u5b9a\u7fa9\u5de5\u4f5c\u4efb\u52d9"},"content":{"rendered":"\n<p>\u9019\u662f\u7b2c\u4e8c\u7bc7\u6709\u95dcGitLab\u7684\u6587\u7ae0\uff0c\u6211\u60f3\u5c31\u5de5\u7a0b\u5e2b\u7684\u89d2\u5ea6\u5e36\u4f60\u8d70\u9032\u9019\u9805\u6280\u8853\u7d30\u7bc0\u3002<br>\u5148\u524d\u5f9e\u5de5\u7a0b\u5e2b\u7684\u89d2\u5ea6\u8a0e\u8ad6\u70ba\u4ec0\u9ebc\u6708\u662f\u5fd9\u788c\u7684\u5de5\u7a0b\u5e2b\u8981\u5c0e\u5165\u9019\u9805\u81ea\u52d5\u5316\u6280\u8853\uff0c\u6709\u8208\u8da3\u7684\u53ef\u4ee5\u5f80\u524d\u770b <a href=\"https:\/\/web.eidolon.ddns.net\/?p=195\">[GitLab \u7cfb\u5217] \u8edf\u9ad4\u5de5\u7a0b\u5e2b\u4e0d\u5f97\u4e0d\u5b78\u6703\u7684 GitLab &#8211; Eidolon&#8217;s \u6210\u9577\u624b\u672d (eidolon168.com)<\/a>\u3002<\/p>\n\n\n\n<h2 class=\"wp-block-heading\">\u5efa\u7acb\u5c08\u6848\u7684\u4f8b\u884c\u5de5\u4f5c\u6d41\u6c34\u7dda (Pipeline)<\/h2>\n\n\n\n<p>\u5982\u540c\u5c08\u6848\u7684\u5206\u5de5\uff0c\u4f60\u5fc5\u9808\u660e\u78ba\u5b9a\u7fa9\u8981\u8acbGitLab\u505a\u4ec0\u9ebc\uff0c\u6210\u529f\u3001\u5931\u6557\u7684\u689d\u4ef6\u662f\u4ec0\u9ebc?<br>\u9019\u4e9b\u6240\u8b02\u7e41\u7463\u7684\u4f8b\u884c\u6027\u5de5\u4f5c\u5c31\u662f\u6d41\u6c34\u7dda\uff0c\u4f60\u53ef\u4ee5\u628a\u4efb\u52d9\u5206\u6210\u591a\u500b\u968e\u6bb5\u8207\u5de5\u4f5c\uff0c\u4e26\u4e14\u5b9a\u7fa9\u76f8\u95dc\u7684\u8b8a\u6578\u8207\u89f8\u767c\u689d\u4ef6\u3002<br>\u9019\u4efd\u6d41\u6c34\u7dda\u5de5\u4f5c\u5c31\u662f\u6240\u8b02\u7684 Pipeline \u7531 .gitlab-ci.yml \u6a94\u6848\u5b9a\u7fa9\u3002<\/p>\n\n\n\n<p>\u6211\u5011\u5148\u4f86\u4e00\u500b nodejs \u7684 express \u5c08\u6848\u4f86\u770b\u770b\u6574\u9ad4\u6d41\u6c34\u7dda\u67b6\u69cb<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>image: node:latest\n\nstages:\n  - enviroment-set-up\n  - run-project-test\n    \nenviroment-set-up:\n  stage: enviroment-set-up\n  script:\n    - npm install\n\nrun-project-test:\n  stage: run-project-test\n  only:\n    - master\n  variables:                 # &lt;---- override any env var you want here\n    PORT: \"3000\"\n    NODE_ENV: \"production\"    \n  script:\n    - npm test\n<\/code><\/pre>\n\n\n\n<p>\u770b\u5230 yml \u7684\u526f\u6a94\u540d\u683c\u5f0f\uff0c\u76f8\u4fe1\u7b2c\u4e00\u6642\u9593\u806f\u60f3\u5230\u7684\u5c31\u662f docker, Kubernetes \u9019\u985e\u7684\u5ba3\u544a\u6587\u4ef6\u3002<br>\u6c92\u932f\uff0cGitLab\u4e5f\u662f\u900f\u904e\u985e\u4f3c\u9019\u9805\u6280\u8853\u4f86\u9054\u5230\u74b0\u5883\u5feb\u901f\u5efa\u7f6e\u8207\u5c08\u6848\u7a0b\u5f0f\u7684\u5de5\u4f5c\u3002\u57fa\u672c\u69cb\u6210\u8981\u4ef6\u5305\u542b:<\/p>\n\n\n\n<ul class=\"wp-block-list\"><li>\u57f7\u884c\u74b0\u5883- image<br>\u901a\u5e38\u9019\u908a\u662f\u4f60\u7684\u5c08\u6848\u74b0\u5883\uff0c\u6307\u7684\u5c31\u662f\u7cfb\u7d71\u9700\u8981\u5e6b\u4f60\u9810\u8f09\u54ea\u4e9b\u7a0b\u5f0f\u3002\u9019\u90e8\u5206\u662f\u8207dockerhub\u76f8\u540c\uff0c\u6240\u4ee5\u4f60\u4e0d\u9700\u8981\u70ba\u4e86\u6e2c\u8a66\u5b89\u88dd\u4e00\u500b\u9060\u7aef\u4e3b\u6a5f\uff0c\u5b89\u88dd\u4f5c\u696d\u7cfb\u7d71\uff0c\u5beb\u4e00\u5806\u8173\u672c\u5e6b\u4f60\u5b89\u88dd\u958b\u767c\u74b0\u5883\u8207\u8a2d\u5b9a\u74b0\u5883\u8b8a\u6578\uff0c\u76f4\u63a5\u5f9e\u6620\u50cf\u6a94\u5eab\u62c9\u4e0b\u4f86\u5373\u53ef<\/li><li>\u5b9a\u7fa9\u6574\u689d\u6d41\u6c34\u7dda\u7684\u5de5\u4f5c\u968e\u6bb5- stage<br>\u5c31\u50cf\u751f\u7522\u7dda\u4e00\u6a23\uff0c\u4f60\u53ef\u4ee5\u5c07\u5de5\u4f5c\u5206\u6210\u5e7e\u500b\u968e\u6bb5\uff0c\u6bcf\u500b\u968e\u6bb5\u6709\u4ed6\u6240\u8ca0\u8cac\u7684\u5de5\u4f5c\u4efb\u52d9\u3002\u4ee5\u6b64\u7bc4\u4f8b\u70ba\u4f8b\uff0c\u6211\u7c21\u55ae\u62c6\u6210\u74b0\u5883\u5efa\u7f6e\u8207\u5c08\u6848\u6e2c\u8a66\u7b492\u500b\u968e\u6bb5<\/li><li>\u5b9a\u7fa9\u4f60\u7684\u968e\u6bb5\u5de5\u4f5c\u4efb\u52d9<br>\u9019\u88e1\u6211\u8b93\u968e\u6bb5\u5f88\u55ae\u7d14\uff0c\u6bcf\u4e00\u500b\u968e\u6bb5\u5c31\u8ca0\u8cac1\u500b\u5de5\u4f5c\uff0c\u9019\u90e8\u5206\u4e5f\u662f\u9019\u4efd\u6a94\u6848\u7684\u7cbe\u96a8\u3002<br><br>\u4e00\u500b\u5de5\u4f5c\u5fc5\u9808\u900f\u904e\u4ee5\u4e0b\u95dc\u9375\u5b57\u4f86\u5b9a\u7fa9\u9019\u4efd\u5de5\u4f5c\u7684\u8cc7\u8a0a\u7d30\u7bc0:<ul><li>\u6240\u5c6c\u5de5\u4f5c\u968e\u6bb5- stage (\u5fc5\u9808)<\/li><li>\u7531\u54ea\u4e9b\u5206\u652f\u89f8\u767c- only \/ except \u7b49 (\u53ef\u9078)<\/li><li>\u8981\u57f7\u884c\u54ea\u4e9b\u8173\u672c (\u5fc5\u9808)<\/li><li>\u74b0\u5883\u8b8a\u6578\u5ba3\u544a- variables (\u53ef\u9078)<br>\u9019\u7b97\u662f\u6bd4\u8f03\u9ad8\u7aff\u4e00\u9ede\u7684\u73a9\u6cd5\uff0c\u56e0\u70ba\u53ef\u80fd\u9019\u9805\u5c08\u6848\u8981\u57f7\u884c\u90e8\u7f72\u5728\u591a\u53f0\u53e2\u96c6\u4e3b\u6a5f\uff1b\u6216\u662f\u8003\u91cf\u6574\u9ad4\u670d\u52d9\u5b58\u53d6\u6a5f\u5bc6\uff0c\u6709\u4e9b\u5e33\u865f\u5bc6\u78bc\u53ef\u4ee5\u900f\u904e\u9019\u908a\u50b3\u5165\u5df2\u5b8c\u6210\u5f8c\u7e8c\u6e2c\u8a66\u4f5c\u696d<\/li><\/ul><\/li><\/ul>\n\n\n\n<p>\u57fa\u672c\u4e0a\uff0c\u9019\u6a23\u5ba3\u544a\u5b8c\u6210\uff0c\u6d41\u6c34\u7dda\u5c31\u5b8c\u6210\u5b9a\u7fa9\u5566! \u5176\u5be6\u771f\u7684\u6eff\u7c21\u55ae\u7684\uff0c\u6574\u7406\u9019\u7bc7\u76ee\u7684\u7d14\u7cb9\u5feb\u901f\u64f7\u53d6\u5b98\u65b9\u6587\u4ef6\u7684\u91cd\u8981\u8cc7\u8a0a\uff0c\u8b93\u4f60\u53ef\u4ee5\u5feb\u901f\u5165\u9580\u3002<br>\u6240\u4ee5\u6211\u5011\u8a66\u8457\u8b80\u61c2\u9019\u4efd\u6d41\u6c34\u7dda\u8981\u8acb\u4ed6\u505a\u4ec0\u9ebc: \u6211\u8acb GitLab \u5728\u6211\u6bcf\u6b21 merge \u5230 master \u5206\u652f\u6642\u505a\u5169\u500b\u4efb\u52d9\uff0c\u9996\u5148\u5e6b\u6211\u5b89\u88dd\u76f8\u95dc\u4f86\u81ea package.json \u7684\u6240\u6709\u5957\u4ef6\uff0c\u5b8c\u6210\u904b\u884c\u74b0\u5883\u7684\u4e8b\u524d\u5efa\u7f6e\uff1b\u7b2c\u4e8c\u500b\u5de5\u4f5c\u5247\u662f\u8dd1\u6211\u9810\u5148\u8a2d\u8a08\u597d\u7684\u6e2c\u8a66\u55ae\u5143\uff0c\u6aa2\u67e5\u65b0\u529f\u80fd\u7684\u5c0e\u5165\u662f\u5426\u6709\u5f71\u97ff\u5230\u65e2\u6709\u529f\u80fd<\/p>\n\n\n\n<h2 class=\"wp-block-heading\">\u5982\u4f55\u5c07\u81ea\u52d5\u5316\u6e2c\u8a66\u985e\u6bd4\u5230\u5be6\u969b\u958b\u767c\u9ad4\u9a57?<\/h2>\n\n\n\n<p>\u5de5\u7a0b\u5e2b\u5b8c\u6210\u958b\u767c\u5f8c\uff0c\u57f7\u884c\u74b0\u5883\u901a\u5e38\u90fd\u6703\u5f88\u6df7\u4e82\uff0c\u70ba\u4e86\u958b\u767c\u9700\u6c42\u96fb\u8166\u4e2d\u53ef\u80fd\u6709\u5404\u5f0f\u5404\u6a23\u7684\u57fa\u790e\u74b0\u5883\uff0c\u5728\u6211\u5011\u7684\u96fb\u8166\u904b\u4f5c\u57fa\u672c\u4e0a\u90fd\u4e0d\u6703\u6709\u4ec0\u9ebc\u554f\u984c\uff0c\u795e\u5947\u7684\u662f\u5230\u5ba2\u6236\u96fb\u8166\u74b0\u5883\u4e2d\uff0c\u5c31\u767c\u73fe\u9019\u4e5f\u5361\u3001\u54ea\u4e5f\u5361\u3002<br>\u70ba\u6b64\u5be6\u52d9\u4e0a\uff0c\u4f60\u53ef\u80fd\u6703\u8acb\u6e2c\u8a66\u5de5\u7a0b\u5e2b\u628a\u5c08\u6848\u7d66\u62c9\u4e0b\u4f86\u4e00\u4efd\u5230\u4e7e\u6de8\u7684\u96fb\u8166\u4e0a\u8dd1\u3002\u56e0\u6b64\u4ed6\u6703\u9700\u8981\u5148\u628a\u74b0\u5883\u5efa\u7f6e\u8d77\u4f86\uff0c\u63a5\u8457\u628a\u6574\u500b\u7a0b\u5f0f\u8dd1\u8d77\u4f86\uff0c\u770b\u770b\u6709\u6c92\u6709\u9047\u5230\u4ec0\u9ebc\u72c0\u6cc1\uff0c\u518d\u63d0\u4ea4 issue \u8acb\u4f60\u8ddf\u9032\u6392\u9664\u3002<br>\u73fe\u5728\u4f60\u958b\u767c\u5b8c\u7a0b\u5f0f\u4e0d\u7528\u518d\u627e\u4eba\u5e6b\u5fd9\uff0c\u81ea\u5df1\u4e5f\u7121\u9808\u8df3\u4e0b\u53bb\uff0c\u53ea\u9700\u8981\u4e8b\u5148\u5b9a\u7fa9\u597d\uff0c\u5c31\u8b93\u96fb\u8166\u7d66\u4f60\u4e00\u4efd\u5831\u544a\uff0c\u8b93\u4f60\u77e5\u9053\u9019\u500b\u5c08\u6848\u79fb\u8f49\u5230\u4e7e\u6de8\u7684\u96fb\u8166\u904b\u884c\u6703\u4e0d\u6703\u9047\u5230\u4ec0\u9ebc\u554f\u984c\uff0c\u662f\u4e0d\u662f\u8d85\u7d1a\u65b9\u4fbf\u6709\u6548\u7387\u7684!<\/p>\n","protected":false},"excerpt":{"rendered":"<p>\u9019\u662f\u7b2c\u4e8c\u7bc7\u6709\u95dcGitLab\u7684\u6587\u7ae0\uff0c\u6211\u60f3\u5c31\u5de5\u7a0b\u5e2b\u7684\u89d2\u5ea6\u5e36\u4f60\u8d70\u9032\u9019\u9805\u6280\u8853\u7d30\u7bc0\u3002\u5148\u524d\u5f9e\u5de5\u7a0b\u5e2b\u7684\u89d2\u5ea6\u8a0e\u8ad6\u70ba\u4ec0\u9ebc\u6708\u662f\u5fd9\u788c &#8230; <a title=\"[GitLab \u7cfb\u5217 \u7b2c\u4e00\u7bc7] \u8b93\u8173\u672c\u5e6b\u4f60\u5b8c\u6210\u4f8b\u884c\u6027\u5de5\u4f5c GitLab CI\/CD\uff0c\u5982\u4f55\u5b9a\u7fa9\u5de5\u4f5c\u4efb\u52d9\" class=\"read-more\" href=\"https:\/\/web.eidolon.ddns.net\/?p=205\" aria-label=\"Read more about [GitLab \u7cfb\u5217 \u7b2c\u4e00\u7bc7] \u8b93\u8173\u672c\u5e6b\u4f60\u5b8c\u6210\u4f8b\u884c\u6027\u5de5\u4f5c GitLab CI\/CD\uff0c\u5982\u4f55\u5b9a\u7fa9\u5de5\u4f5c\u4efb\u52d9\">\u95b1\u8b80\u5168\u6587<\/a><\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"_jetpack_memberships_contains_paid_content":false,"footnotes":""},"categories":[54],"tags":[58,57,60,38,52],"class_list":["post-205","post","type-post","status-publish","format-standard","hentry","category-gitlab","tag-ci-cd","tag-devops","tag-express","tag-gitlab","tag-nodejs"],"yoast_head":"<!-- This site is optimized with the Yoast SEO plugin v24.3 - https:\/\/yoast.com\/wordpress\/plugins\/seo\/ -->\n<title>[GitLab \u7cfb\u5217 \u7b2c\u4e00\u7bc7] \u8b93\u8173\u672c\u5e6b\u4f60\u5b8c\u6210\u4f8b\u884c\u6027\u5de5\u4f5c GitLab CI\/CD\uff0c\u5982\u4f55\u5b9a\u7fa9\u5de5\u4f5c\u4efb\u52d9 - Eidolon&#039;s \u7cfb\u7d71\u6574\u5408\u7814\u767c\u5de5\u7a0b\u5e2b\u7684\u6210\u9577\u624b\u672d<\/title>\n<meta name=\"robots\" content=\"index, follow, max-snippet:-1, max-image-preview:large, max-video-preview:-1\" \/>\n<link rel=\"canonical\" href=\"https:\/\/web.eidolon.ddns.net\/?p=205\" \/>\n<meta property=\"og:locale\" content=\"zh_TW\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"[GitLab \u7cfb\u5217 \u7b2c\u4e00\u7bc7] \u8b93\u8173\u672c\u5e6b\u4f60\u5b8c\u6210\u4f8b\u884c\u6027\u5de5\u4f5c GitLab CI\/CD\uff0c\u5982\u4f55\u5b9a\u7fa9\u5de5\u4f5c\u4efb\u52d9 - Eidolon&#039;s \u7cfb\u7d71\u6574\u5408\u7814\u767c\u5de5\u7a0b\u5e2b\u7684\u6210\u9577\u624b\u672d\" \/>\n<meta property=\"og:description\" content=\"\u9019\u662f\u7b2c\u4e8c\u7bc7\u6709\u95dcGitLab\u7684\u6587\u7ae0\uff0c\u6211\u60f3\u5c31\u5de5\u7a0b\u5e2b\u7684\u89d2\u5ea6\u5e36\u4f60\u8d70\u9032\u9019\u9805\u6280\u8853\u7d30\u7bc0\u3002\u5148\u524d\u5f9e\u5de5\u7a0b\u5e2b\u7684\u89d2\u5ea6\u8a0e\u8ad6\u70ba\u4ec0\u9ebc\u6708\u662f\u5fd9\u788c ... \u95b1\u8b80\u5168\u6587\" \/>\n<meta property=\"og:url\" content=\"https:\/\/web.eidolon.ddns.net\/?p=205\" \/>\n<meta property=\"og:site_name\" content=\"Eidolon&#039;s \u7cfb\u7d71\u6574\u5408\u7814\u767c\u5de5\u7a0b\u5e2b\u7684\u6210\u9577\u624b\u672d\" \/>\n<meta property=\"article:published_time\" content=\"2022-12-24T06:06:09+00:00\" \/>\n<meta property=\"article:modified_time\" content=\"2022-12-24T06:07:12+00:00\" \/>\n<meta name=\"author\" content=\"eidolon\" \/>\n<meta name=\"twitter:card\" content=\"summary_large_image\" \/>\n<meta name=\"twitter:label1\" content=\"\u4f5c\u8005:\" \/>\n\t<meta name=\"twitter:data1\" content=\"eidolon\" \/>\n\t<meta name=\"twitter:label2\" content=\"\u9810\u4f30\u95b1\u8b80\u6642\u9593\" \/>\n\t<meta name=\"twitter:data2\" content=\"1 \u5206\u9418\" \/>\n<script type=\"application\/ld+json\" class=\"yoast-schema-graph\">{\"@context\":\"https:\/\/schema.org\",\"@graph\":[{\"@type\":\"Article\",\"@id\":\"https:\/\/web.eidolon.ddns.net\/?p=205#article\",\"isPartOf\":{\"@id\":\"https:\/\/web.eidolon.ddns.net\/?p=205\"},\"author\":{\"name\":\"eidolon\",\"@id\":\"https:\/\/web.eidolon.ddns.net\/#\/schema\/person\/ace522d8ec4330e416cf13fe9d78b008\"},\"headline\":\"[GitLab \u7cfb\u5217 \u7b2c\u4e00\u7bc7] \u8b93\u8173\u672c\u5e6b\u4f60\u5b8c\u6210\u4f8b\u884c\u6027\u5de5\u4f5c GitLab CI\/CD\uff0c\u5982\u4f55\u5b9a\u7fa9\u5de5\u4f5c\u4efb\u52d9\",\"datePublished\":\"2022-12-24T06:06:09+00:00\",\"dateModified\":\"2022-12-24T06:07:12+00:00\",\"mainEntityOfPage\":{\"@id\":\"https:\/\/web.eidolon.ddns.net\/?p=205\"},\"wordCount\":40,\"commentCount\":0,\"publisher\":{\"@id\":\"https:\/\/web.eidolon.ddns.net\/#\/schema\/person\/ace522d8ec4330e416cf13fe9d78b008\"},\"keywords\":[\"CI\/CD\",\"DevOps\",\"express\",\"GitLab\",\"nodejs\"],\"articleSection\":[\"GitLab\"],\"inLanguage\":\"zh-TW\",\"potentialAction\":[{\"@type\":\"CommentAction\",\"name\":\"Comment\",\"target\":[\"https:\/\/web.eidolon.ddns.net\/?p=205#respond\"]}]},{\"@type\":\"WebPage\",\"@id\":\"https:\/\/web.eidolon.ddns.net\/?p=205\",\"url\":\"https:\/\/web.eidolon.ddns.net\/?p=205\",\"name\":\"[GitLab \u7cfb\u5217 \u7b2c\u4e00\u7bc7] \u8b93\u8173\u672c\u5e6b\u4f60\u5b8c\u6210\u4f8b\u884c\u6027\u5de5\u4f5c GitLab CI\/CD\uff0c\u5982\u4f55\u5b9a\u7fa9\u5de5\u4f5c\u4efb\u52d9 - Eidolon&#039;s \u7cfb\u7d71\u6574\u5408\u7814\u767c\u5de5\u7a0b\u5e2b\u7684\u6210\u9577\u624b\u672d\",\"isPartOf\":{\"@id\":\"https:\/\/web.eidolon.ddns.net\/#website\"},\"datePublished\":\"2022-12-24T06:06:09+00:00\",\"dateModified\":\"2022-12-24T06:07:12+00:00\",\"breadcrumb\":{\"@id\":\"https:\/\/web.eidolon.ddns.net\/?p=205#breadcrumb\"},\"inLanguage\":\"zh-TW\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\/\/web.eidolon.ddns.net\/?p=205\"]}]},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\/\/web.eidolon.ddns.net\/?p=205#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"\u9996\u9801\",\"item\":\"https:\/\/web.eidolon.ddns.net\/\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"[GitLab \u7cfb\u5217 \u7b2c\u4e00\u7bc7] \u8b93\u8173\u672c\u5e6b\u4f60\u5b8c\u6210\u4f8b\u884c\u6027\u5de5\u4f5c GitLab CI\/CD\uff0c\u5982\u4f55\u5b9a\u7fa9\u5de5\u4f5c\u4efb\u52d9\"}]},{\"@type\":\"WebSite\",\"@id\":\"https:\/\/web.eidolon.ddns.net\/#website\",\"url\":\"https:\/\/web.eidolon.ddns.net\/\",\"name\":\"Eidolon Blog\",\"description\":\"\u8a18\u9304\u4e00\u500b\u5c0f\u5c0f\u7cfb\u7d71\u5de5\u7a0b\u5e2b\u7684\u6210\u9577\u6b77\u7a0b\",\"publisher\":{\"@id\":\"https:\/\/web.eidolon.ddns.net\/#\/schema\/person\/ace522d8ec4330e416cf13fe9d78b008\"},\"potentialAction\":[{\"@type\":\"SearchAction\",\"target\":{\"@type\":\"EntryPoint\",\"urlTemplate\":\"https:\/\/web.eidolon.ddns.net\/?s={search_term_string}\"},\"query-input\":{\"@type\":\"PropertyValueSpecification\",\"valueRequired\":true,\"valueName\":\"search_term_string\"}}],\"inLanguage\":\"zh-TW\"},{\"@type\":[\"Person\",\"Organization\"],\"@id\":\"https:\/\/web.eidolon.ddns.net\/#\/schema\/person\/ace522d8ec4330e416cf13fe9d78b008\",\"name\":\"eidolon\",\"image\":{\"@type\":\"ImageObject\",\"inLanguage\":\"zh-TW\",\"@id\":\"https:\/\/web.eidolon.ddns.net\/#\/schema\/person\/image\/\",\"url\":\"https:\/\/i0.wp.com\/web.eidolon.ddns.net\/wp-content\/uploads\/2023\/05\/c32ebdc3-5c9b-4e77-8755-3d3caed96077.jpeg?fit=1024%2C1024&ssl=1\",\"contentUrl\":\"https:\/\/i0.wp.com\/web.eidolon.ddns.net\/wp-content\/uploads\/2023\/05\/c32ebdc3-5c9b-4e77-8755-3d3caed96077.jpeg?fit=1024%2C1024&ssl=1\",\"width\":1024,\"height\":1024,\"caption\":\"eidolon\"},\"logo\":{\"@id\":\"https:\/\/web.eidolon.ddns.net\/#\/schema\/person\/image\/\"}}]}<\/script>\n<!-- \/ Yoast SEO plugin. -->","yoast_head_json":{"title":"[GitLab \u7cfb\u5217 \u7b2c\u4e00\u7bc7] \u8b93\u8173\u672c\u5e6b\u4f60\u5b8c\u6210\u4f8b\u884c\u6027\u5de5\u4f5c GitLab CI\/CD\uff0c\u5982\u4f55\u5b9a\u7fa9\u5de5\u4f5c\u4efb\u52d9 - Eidolon&#039;s \u7cfb\u7d71\u6574\u5408\u7814\u767c\u5de5\u7a0b\u5e2b\u7684\u6210\u9577\u624b\u672d","robots":{"index":"index","follow":"follow","max-snippet":"max-snippet:-1","max-image-preview":"max-image-preview:large","max-video-preview":"max-video-preview:-1"},"canonical":"https:\/\/web.eidolon.ddns.net\/?p=205","og_locale":"zh_TW","og_type":"article","og_title":"[GitLab \u7cfb\u5217 \u7b2c\u4e00\u7bc7] \u8b93\u8173\u672c\u5e6b\u4f60\u5b8c\u6210\u4f8b\u884c\u6027\u5de5\u4f5c GitLab CI\/CD\uff0c\u5982\u4f55\u5b9a\u7fa9\u5de5\u4f5c\u4efb\u52d9 - Eidolon&#039;s \u7cfb\u7d71\u6574\u5408\u7814\u767c\u5de5\u7a0b\u5e2b\u7684\u6210\u9577\u624b\u672d","og_description":"\u9019\u662f\u7b2c\u4e8c\u7bc7\u6709\u95dcGitLab\u7684\u6587\u7ae0\uff0c\u6211\u60f3\u5c31\u5de5\u7a0b\u5e2b\u7684\u89d2\u5ea6\u5e36\u4f60\u8d70\u9032\u9019\u9805\u6280\u8853\u7d30\u7bc0\u3002\u5148\u524d\u5f9e\u5de5\u7a0b\u5e2b\u7684\u89d2\u5ea6\u8a0e\u8ad6\u70ba\u4ec0\u9ebc\u6708\u662f\u5fd9\u788c ... \u95b1\u8b80\u5168\u6587","og_url":"https:\/\/web.eidolon.ddns.net\/?p=205","og_site_name":"Eidolon&#039;s \u7cfb\u7d71\u6574\u5408\u7814\u767c\u5de5\u7a0b\u5e2b\u7684\u6210\u9577\u624b\u672d","article_published_time":"2022-12-24T06:06:09+00:00","article_modified_time":"2022-12-24T06:07:12+00:00","author":"eidolon","twitter_card":"summary_large_image","twitter_misc":{"\u4f5c\u8005:":"eidolon","\u9810\u4f30\u95b1\u8b80\u6642\u9593":"1 \u5206\u9418"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"Article","@id":"https:\/\/web.eidolon.ddns.net\/?p=205#article","isPartOf":{"@id":"https:\/\/web.eidolon.ddns.net\/?p=205"},"author":{"name":"eidolon","@id":"https:\/\/web.eidolon.ddns.net\/#\/schema\/person\/ace522d8ec4330e416cf13fe9d78b008"},"headline":"[GitLab \u7cfb\u5217 \u7b2c\u4e00\u7bc7] \u8b93\u8173\u672c\u5e6b\u4f60\u5b8c\u6210\u4f8b\u884c\u6027\u5de5\u4f5c GitLab CI\/CD\uff0c\u5982\u4f55\u5b9a\u7fa9\u5de5\u4f5c\u4efb\u52d9","datePublished":"2022-12-24T06:06:09+00:00","dateModified":"2022-12-24T06:07:12+00:00","mainEntityOfPage":{"@id":"https:\/\/web.eidolon.ddns.net\/?p=205"},"wordCount":40,"commentCount":0,"publisher":{"@id":"https:\/\/web.eidolon.ddns.net\/#\/schema\/person\/ace522d8ec4330e416cf13fe9d78b008"},"keywords":["CI\/CD","DevOps","express","GitLab","nodejs"],"articleSection":["GitLab"],"inLanguage":"zh-TW","potentialAction":[{"@type":"CommentAction","name":"Comment","target":["https:\/\/web.eidolon.ddns.net\/?p=205#respond"]}]},{"@type":"WebPage","@id":"https:\/\/web.eidolon.ddns.net\/?p=205","url":"https:\/\/web.eidolon.ddns.net\/?p=205","name":"[GitLab \u7cfb\u5217 \u7b2c\u4e00\u7bc7] \u8b93\u8173\u672c\u5e6b\u4f60\u5b8c\u6210\u4f8b\u884c\u6027\u5de5\u4f5c GitLab CI\/CD\uff0c\u5982\u4f55\u5b9a\u7fa9\u5de5\u4f5c\u4efb\u52d9 - Eidolon&#039;s \u7cfb\u7d71\u6574\u5408\u7814\u767c\u5de5\u7a0b\u5e2b\u7684\u6210\u9577\u624b\u672d","isPartOf":{"@id":"https:\/\/web.eidolon.ddns.net\/#website"},"datePublished":"2022-12-24T06:06:09+00:00","dateModified":"2022-12-24T06:07:12+00:00","breadcrumb":{"@id":"https:\/\/web.eidolon.ddns.net\/?p=205#breadcrumb"},"inLanguage":"zh-TW","potentialAction":[{"@type":"ReadAction","target":["https:\/\/web.eidolon.ddns.net\/?p=205"]}]},{"@type":"BreadcrumbList","@id":"https:\/\/web.eidolon.ddns.net\/?p=205#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"\u9996\u9801","item":"https:\/\/web.eidolon.ddns.net\/"},{"@type":"ListItem","position":2,"name":"[GitLab \u7cfb\u5217 \u7b2c\u4e00\u7bc7] \u8b93\u8173\u672c\u5e6b\u4f60\u5b8c\u6210\u4f8b\u884c\u6027\u5de5\u4f5c GitLab CI\/CD\uff0c\u5982\u4f55\u5b9a\u7fa9\u5de5\u4f5c\u4efb\u52d9"}]},{"@type":"WebSite","@id":"https:\/\/web.eidolon.ddns.net\/#website","url":"https:\/\/web.eidolon.ddns.net\/","name":"Eidolon Blog","description":"\u8a18\u9304\u4e00\u500b\u5c0f\u5c0f\u7cfb\u7d71\u5de5\u7a0b\u5e2b\u7684\u6210\u9577\u6b77\u7a0b","publisher":{"@id":"https:\/\/web.eidolon.ddns.net\/#\/schema\/person\/ace522d8ec4330e416cf13fe9d78b008"},"potentialAction":[{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https:\/\/web.eidolon.ddns.net\/?s={search_term_string}"},"query-input":{"@type":"PropertyValueSpecification","valueRequired":true,"valueName":"search_term_string"}}],"inLanguage":"zh-TW"},{"@type":["Person","Organization"],"@id":"https:\/\/web.eidolon.ddns.net\/#\/schema\/person\/ace522d8ec4330e416cf13fe9d78b008","name":"eidolon","image":{"@type":"ImageObject","inLanguage":"zh-TW","@id":"https:\/\/web.eidolon.ddns.net\/#\/schema\/person\/image\/","url":"https:\/\/i0.wp.com\/web.eidolon.ddns.net\/wp-content\/uploads\/2023\/05\/c32ebdc3-5c9b-4e77-8755-3d3caed96077.jpeg?fit=1024%2C1024&ssl=1","contentUrl":"https:\/\/i0.wp.com\/web.eidolon.ddns.net\/wp-content\/uploads\/2023\/05\/c32ebdc3-5c9b-4e77-8755-3d3caed96077.jpeg?fit=1024%2C1024&ssl=1","width":1024,"height":1024,"caption":"eidolon"},"logo":{"@id":"https:\/\/web.eidolon.ddns.net\/#\/schema\/person\/image\/"}}]}},"jetpack_featured_media_url":"","jetpack_sharing_enabled":true,"_links":{"self":[{"href":"https:\/\/web.eidolon.ddns.net\/index.php?rest_route=\/wp\/v2\/posts\/205"}],"collection":[{"href":"https:\/\/web.eidolon.ddns.net\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/web.eidolon.ddns.net\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/web.eidolon.ddns.net\/index.php?rest_route=\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/web.eidolon.ddns.net\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=205"}],"version-history":[{"count":2,"href":"https:\/\/web.eidolon.ddns.net\/index.php?rest_route=\/wp\/v2\/posts\/205\/revisions"}],"predecessor-version":[{"id":208,"href":"https:\/\/web.eidolon.ddns.net\/index.php?rest_route=\/wp\/v2\/posts\/205\/revisions\/208"}],"wp:attachment":[{"href":"https:\/\/web.eidolon.ddns.net\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=205"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/web.eidolon.ddns.net\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=205"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/web.eidolon.ddns.net\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=205"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}