{"id":20427,"date":"2024-11-19T08:41:23","date_gmt":"2024-11-19T00:41:23","guid":{"rendered":"https:\/\/fwq.ai\/blog\/20427\/"},"modified":"2024-11-19T08:41:23","modified_gmt":"2024-11-19T00:41:23","slug":"gitlab%e7%9a%84%e6%97%a0%e6%9c%8d%e5%8a%a1%e5%99%a8%e6%9e%b6%e6%9e%84%e5%92%8c%e8%87%aa%e5%8a%a8%e4%bc%b8%e7%bc%a9%e5%8a%9f%e8%83%bd","status":"publish","type":"post","link":"https:\/\/fwq.ai\/blog\/20427\/","title":{"rendered":"GitLab\u7684\u65e0\u670d\u52a1\u5668\u67b6\u6784\u548c\u81ea\u52a8\u4f38\u7f29\u529f\u80fd"},"content":{"rendered":"<p><img decoding=\"async\" src=\"https:\/\/img.php.cn\/upload\/article\/000\/887\/227\/169838679028920.jpg\" class=\"aligncenter\" title=\"GitLab\u7684\u65e0\u670d\u52a1\u5668\u67b6\u6784\u548c\u81ea\u52a8\u4f38\u7f29\u529f\u80fd\u63d2\u56fe\" alt=\"GitLab\u7684\u65e0\u670d\u52a1\u5668\u67b6\u6784\u548c\u81ea\u52a8\u4f38\u7f29\u529f\u80fd\u63d2\u56fe\" \/><\/p>\n<p>GitLab\u7684\u65e0\u670d\u52a1\u5668\u67b6\u6784\u548c\u81ea\u52a8\u4f38\u7f29\u529f\u80fd\uff0c\u9700\u8981\u5177\u4f53\u4ee3\u7801\u793a\u4f8b<\/p>\n<p>\u81ea\u52a8\u5316\u548c\u4e91\u8ba1\u7b97\u6280\u672f\u7684\u5feb\u901f\u53d1\u5c55\u5df2\u7ecf\u5728\u8f6f\u4ef6\u5f00\u53d1\u548c\u8fd0\u7ef4\u9886\u57df\u4ea7\u751f\u4e86\u9769\u547d\u6027\u7684\u5f71\u54cd\u3002\u65e0\u670d\u52a1\u5668\u67b6\u6784\u7684\u6982\u5ff5\u6b63\u5728\u53d8\u5f97\u8d8a\u6765\u8d8a\u6d41\u884c\uff0c\u5b83\u53ef\u4ee5\u6781\u5927\u5730\u7b80\u5316\u5f00\u53d1\u8005\u7684\u5de5\u4f5c\u6d41\u7a0b\uff0c\u5e76\u4e14\u5b9e\u73b0\u66f4\u597d\u7684\u8d44\u6e90\u5229\u7528\u548c\u4f38\u7f29\u6027\u3002GitLab\u4f5c\u4e3a\u8f6f\u4ef6\u5f00\u53d1\u548c\u8fd0\u7ef4\u5e73\u53f0\uff0c\u4e5f\u5728\u4e0d\u65ad\u63a8\u8fdb\u65e0\u670d\u52a1\u5668\u67b6\u6784\u7684\u5b9e\u8df5\u548c\u6539\u8fdb\u3002<\/p>\n<p>\u65e0\u670d\u52a1\u5668\u67b6\u6784\u7684\u6982\u5ff5\u662f\u6307\u5f00\u53d1\u8005\u4e0d\u518d\u9700\u8981\u5173\u5fc3\u670d\u52a1\u5668\u7684\u8fd0\u7ef4\u548c\u8d44\u6e90\u7ba1\u7406\uff0c\u800c\u662f\u5c06\u5e94\u7528\u7684\u903b\u8f91\u548c\u529f\u80fd\u5b9e\u73b0\u5c01\u88c5\u6210\u51fd\u6570\u6216\u670d\u52a1\uff0c\u7531\u4e91\u670d\u52a1\u63d0\u4f9b\u5546\u6765\u81ea\u52a8\u6269\u5c55\u548c\u7ba1\u7406\u3002\u8fd9\u79cd\u6a21\u5f0f\u4e0b\uff0c\u5f00\u53d1\u8005\u53ea\u9700\u8981\u5173\u6ce8\u4e1a\u52a1\u903b\u8f91\u7684\u5f00\u53d1\uff0c\u800c\u4e0d\u9700\u8981\u62c5\u5fc3\u5e95\u5c42\u7684\u57fa\u7840\u8bbe\u65bd\u548c\u8d44\u6e90\u7ba1\u7406\u3002\u8fd9\u4e0d\u4ec5\u80fd\u591f\u63d0\u9ad8\u5f00\u53d1\u6548\u7387\uff0c\u8fd8\u80fd\u8282\u7ea6\u5f00\u53d1\u8005\u7684\u65f6\u95f4\u548c\u7cbe\u529b\u3002<\/p>\n<p>GitLab\u4f5c\u4e3a\u4e00\u4e2a\u5168\u9762\u7684\u8f6f\u4ef6\u5f00\u53d1\u548c\u8fd0\u7ef4\u5e73\u53f0\uff0c\u81ea\u7136\u4e5f\u5728\u79ef\u6781\u8ddf\u8fdb\u65e0\u670d\u52a1\u5668\u67b6\u6784\u7684\u8d8b\u52bf\u3002\u5b83\u901a\u8fc7\u96c6\u6210\u4e91\u670d\u52a1\u63d0\u4f9b\u5546\u7684\u529f\u80fd\uff0c\u4e3a\u5f00\u53d1\u8005\u63d0\u4f9b\u4e86\u65e0\u670d\u52a1\u5668\u67b6\u6784\u7684\u652f\u6301\u3002\u5f00\u53d1\u8005\u53ef\u4ee5\u5728GitLab\u4e2d\u521b\u5efa\u51fd\u6570\u548c\u670d\u52a1\uff0c\u5e76\u4e14\u5229\u7528\u4e91\u670d\u52a1\u7684\u81ea\u52a8\u4f38\u7f29\u529f\u80fd\u6765\u7ba1\u7406\u548c\u6269\u5c55\u3002<\/p>\n<p>\u4e0b\u9762\u6211\u4eec\u6765\u770b\u4e00\u4e2a\u5177\u4f53\u7684\u793a\u4f8b\uff0c\u6765\u5c55\u793aGitLab\u7684\u65e0\u670d\u52a1\u5668\u67b6\u6784\u548c\u81ea\u52a8\u4f38\u7f29\u529f\u80fd\u7684\u4f7f\u7528\u3002<\/p>\n<p>\u9996\u5148\uff0c\u5728GitLab\u4e2d\u521b\u5efa\u4e00\u4e2a\u540d\u4e3a&#8221;hello-world&#8221;\u7684\u51fd\u6570\u3002\u51fd\u6570\u7684\u903b\u8f91\u975e\u5e38\u7b80\u5355\uff0c\u5c31\u662f\u8f93\u51fa&#8221;Hello World!&#8221;\u3002\u5728GitLab\u4e2d\u521b\u5efa\u51fd\u6570\u7684\u4ee3\u7801\u793a\u4f8b\u5982\u4e0b\uff1a<\/p>\n<pre>def handler(event, context):\n    return \"Hello World!\"<\/pre>\n<p>  \u767b\u5f55\u540e\u590d\u5236   <\/p>\n<p>\u63a5\u4e0b\u6765\uff0c\u6211\u4eec\u53ef\u4ee5\u5229\u7528GitLab\u7684CI\/CD\u529f\u80fd\uff0c\u5c06\u8fd9\u4e2a\u51fd\u6570\u81ea\u52a8\u90e8\u7f72\u5230\u4e91\u670d\u52a1\u63d0\u4f9b\u5546\u3002\u8fd9\u91cc\u6211\u4eec\u4ee5AWS Lambda\u4e3a\u4f8b\u8fdb\u884c\u6f14\u793a\u3002<\/p>\n<p>\u5728GitLab\u7684CI\/CD\u914d\u7f6e\u6587\u4ef6\u4e2d\uff0c\u6211\u4eec\u53ef\u4ee5\u6dfb\u52a0\u5982\u4e0b\u7684\u6b65\u9aa4\u6765\u90e8\u7f72\u51fd\u6570\u5230AWS Lambda\uff1a<\/p>\n<pre>deploy:\n  stage: deploy\n  image: amazon\/aws-cli\n  script:\n    - aws lambda create-function\n      --function-name hello-world\n      --runtime python3.7\n      --handler hello_world.handler\n      --role arn:aws:iam::123456789012:role\/lambda-role\n      --zip-file function.zip\n  tags:\n    - aws<\/pre>\n<p>  \u767b\u5f55\u540e\u590d\u5236   <\/p>\n<p>\u5728\u8fd9\u4e2a\u914d\u7f6e\u6587\u4ef6\u4e2d\uff0c\u6211\u4eec\u4f7f\u7528\u4e86AWS CLI\u6765\u901a\u8fc7GitLab\u81ea\u52a8\u90e8\u7f72\u51fd\u6570\u5230AWS Lambda\u3002\u901a\u8fc7\u914d\u7f6e\u6b63\u786e\u7684AWS\u8d26\u53f7\u548c\u6743\u9650\uff0c\u6211\u4eec\u53ef\u4ee5\u5c06\u51fd\u6570\u90e8\u7f72\u5230\u4e91\u7aef\uff0c\u5e76\u4e14\u6307\u5b9a\u51fd\u6570\u7684\u8fd0\u884c\u65f6\u73af\u5883\u3001\u53e5\u67c4\u548c\u89d2\u8272\u3002\u6211\u4eec\u8fd8\u53ef\u4ee5\u6307\u5b9a\u51fd\u6570\u7684\u4ee3\u7801\u4f4d\u7f6e\u548c\u6587\u4ef6\u540d\u3002<\/p>\n<p>\u5728\u51fd\u6570\u90e8\u7f72\u5b8c\u6210\u540e\uff0cGitLab\u53ef\u4ee5\u5229\u7528AWS Lambda\u7684\u81ea\u52a8\u4f38\u7f29\u529f\u80fd\u6765\u7ba1\u7406\u51fd\u6570\u7684\u5e76\u53d1\u8bf7\u6c42\u3002\u8fd9\u610f\u5473\u7740\u5f53\u51fd\u6570\u7684\u8bf7\u6c42\u91cf\u589e\u52a0\u65f6\uff0cAWS Lambda\u4f1a\u81ea\u52a8\u6269\u5c55\u51fd\u6570\u7684\u5b9e\u4f8b\u4ee5\u5e94\u5bf9\u9ad8\u8d1f\u8f7d\u3002\u8fd9\u6837\uff0c\u5f00\u53d1\u8005\u5c31\u4e0d\u9700\u8981\u62c5\u5fc3\u51fd\u6570\u7684\u8d44\u6e90\u9650\u5236\u548c\u4f38\u7f29\u95ee\u9898\u3002<\/p>\n<p>\u603b\u7ed3\u8d77\u6765\uff0cGitLab\u7684\u65e0\u670d\u52a1\u5668\u67b6\u6784\u548c\u81ea\u52a8\u4f38\u7f29\u529f\u80fd\u53ef\u4ee5\u6781\u5927\u5730\u7b80\u5316\u5f00\u53d1\u8005\u7684\u5de5\u4f5c\u6d41\u7a0b\uff0c\u5e76\u4e14\u63d0\u9ad8\u8d44\u6e90\u5229\u7528\u548c\u4f38\u7f29\u6027\u3002\u901a\u8fc7\u96c6\u6210\u4e91\u670d\u52a1\u63d0\u4f9b\u5546\u7684\u529f\u80fd\uff0cGitLab\u4e3a\u5f00\u53d1\u8005\u63d0\u4f9b\u4e86\u65e0\u670d\u52a1\u5668\u67b6\u6784\u7684\u652f\u6301\uff0c\u8ba9\u5f00\u53d1\u8005\u53ef\u4ee5\u66f4\u4e13\u6ce8\u4e8e\u4e1a\u52a1\u903b\u8f91\u7684\u5f00\u53d1\uff0c\u800c\u4e0d\u9700\u8981\u5173\u5fc3\u5e95\u5c42\u7684\u57fa\u7840\u8bbe\u65bd\u548c\u8d44\u6e90\u7ba1\u7406\u3002\u901a\u8fc7GitLab\u7684CI\/CD\u529f\u80fd\uff0c\u5f00\u53d1\u8005\u53ef\u4ee5\u65b9\u4fbf\u5730\u5c06\u51fd\u6570\u90e8\u7f72\u5230\u4e91\u670d\u52a1\uff0c\u5e76\u4e14\u5229\u7528\u4e91\u670d\u52a1\u7684\u81ea\u52a8\u4f38\u7f29\u529f\u80fd\u6765\u7ba1\u7406\u51fd\u6570\u7684\u5e76\u53d1\u8bf7\u6c42\u3002\u8fd9\u4e9b\u529f\u80fd\u7684\u7d27\u5bc6\u96c6\u6210\uff0c\u4f7f\u5f97GitLab\u6210\u4e3a\u4e00\u4e2a\u5f3a\u5927\u7684\u5f00\u53d1\u548c\u8fd0\u7ef4\u5e73\u53f0\u3002<\/p>\n<p>\u4ee5\u4e0a\u5c31\u662fGitLab\u7684\u65e0\u670d\u52a1\u5668\u67b6\u6784\u548c\u81ea\u52a8\u4f38\u7f29\u529f\u80fd\u7684\u8be6\u7ec6\u5185\u5bb9\uff0c\u66f4\u591a\u8bf7\u5173\u6ce8\u7c73\u4e91\u5176\u5b83\u76f8\u5173\u6587\u7ae0\uff01<\/p>\n","protected":false},"excerpt":{"rendered":"<p>GitLab\u7684\u65e0\u670d\u52a1\u5668\u67b6\u6784\u548c\u81ea\u52a8\u4f38\u7f29\u529f\u80fd\uff0c\u9700\u8981\u5177\u4f53\u4ee3\u7801\u793a\u4f8b \u81ea\u52a8\u5316\u548c\u4e91\u8ba1\u7b97\u6280\u672f\u7684\u5feb\u901f\u53d1\u5c55\u5df2\u7ecf\u5728\u8f6f\u4ef6\u5f00\u53d1\u548c\u8fd0\u7ef4\u9886\u57df\u4ea7\u751f\u4e86\u9769\u547d\u6027\u7684\u5f71\u54cd\u3002\u65e0\u670d\u52a1\u5668\u67b6\u6784\u7684\u6982\u5ff5\u6b63\u5728\u53d8\u5f97\u8d8a\u6765\u8d8a\u6d41\u884c\uff0c\u5b83\u53ef\u4ee5\u6781\u5927\u5730\u7b80\u5316\u5f00\u53d1\u8005\u7684\u5de5\u4f5c\u6d41\u7a0b\uff0c\u5e76\u4e14\u5b9e\u73b0\u66f4\u597d\u7684\u8d44\u6e90\u5229\u7528\u548c\u4f38\u7f29\u6027\u3002GitLab\u4f5c\u4e3a\u8f6f\u4ef6\u5f00\u53d1\u548c\u8fd0\u7ef4\u5e73\u53f0\uff0c\u4e5f\u5728\u4e0d\u65ad\u63a8\u8fdb\u65e0\u670d\u52a1\u5668\u67b6\u6784\u7684\u5b9e\u8df5\u548c\u6539\u8fdb\u3002 \u65e0\u670d\u52a1\u5668\u67b6\u6784\u7684\u6982\u5ff5\u662f\u6307\u5f00\u53d1\u8005\u4e0d\u518d\u9700\u8981\u5173\u5fc3\u670d\u52a1\u5668\u7684\u8fd0\u7ef4\u548c\u8d44\u6e90\u7ba1\u7406\uff0c\u800c\u662f\u5c06\u5e94\u7528\u7684\u903b\u8f91\u548c\u529f\u80fd\u5b9e\u73b0\u5c01\u88c5\u6210\u51fd\u6570\u6216\u670d\u52a1\uff0c\u7531\u4e91\u670d\u52a1\u63d0\u4f9b\u5546\u6765\u81ea\u52a8\u6269\u5c55\u548c\u7ba1\u7406\u3002\u8fd9\u79cd\u6a21\u5f0f\u4e0b\uff0c\u5f00\u53d1\u8005\u53ea\u9700\u8981\u5173\u6ce8\u4e1a\u52a1\u903b\u8f91\u7684\u5f00\u53d1\uff0c\u800c\u4e0d\u9700\u8981\u62c5\u5fc3\u5e95\u5c42\u7684\u57fa\u7840\u8bbe\u65bd\u548c\u8d44\u6e90\u7ba1\u7406\u3002\u8fd9\u4e0d\u4ec5\u80fd\u591f\u63d0\u9ad8\u5f00\u53d1\u6548\u7387\uff0c\u8fd8\u80fd\u8282\u7ea6\u5f00\u53d1\u8005\u7684\u65f6\u95f4\u548c\u7cbe\u529b\u3002 GitLab\u4f5c\u4e3a\u4e00\u4e2a\u5168\u9762\u7684\u8f6f\u4ef6\u5f00\u53d1\u548c\u8fd0\u7ef4\u5e73\u53f0\uff0c\u81ea\u7136\u4e5f\u5728\u79ef\u6781\u8ddf\u8fdb\u65e0\u670d\u52a1\u5668\u67b6\u6784\u7684\u8d8b\u52bf\u3002\u5b83\u901a\u8fc7\u96c6\u6210\u4e91\u670d\u52a1\u63d0\u4f9b\u5546\u7684\u529f\u80fd\uff0c\u4e3a\u5f00\u53d1\u8005\u63d0\u4f9b\u4e86\u65e0\u670d\u52a1\u5668\u67b6\u6784\u7684\u652f\u6301\u3002\u5f00\u53d1\u8005\u53ef\u4ee5\u5728GitLab\u4e2d\u521b\u5efa\u51fd\u6570\u548c\u670d\u52a1\uff0c\u5e76\u4e14\u5229\u7528\u4e91\u670d\u52a1\u7684\u81ea\u52a8\u4f38\u7f29\u529f\u80fd\u6765\u7ba1\u7406\u548c\u6269\u5c55\u3002 \u4e0b\u9762\u6211\u4eec\u6765\u770b\u4e00\u4e2a\u5177\u4f53\u7684\u793a\u4f8b\uff0c\u6765\u5c55\u793aGitLab\u7684\u65e0\u670d\u52a1\u5668\u67b6\u6784\u548c\u81ea\u52a8\u4f38\u7f29\u529f\u80fd\u7684\u4f7f\u7528\u3002 \u9996\u5148\uff0c\u5728GitLab\u4e2d\u521b\u5efa\u4e00\u4e2a\u540d\u4e3a&#8221;hello-world&#8221;\u7684\u51fd\u6570\u3002\u51fd\u6570\u7684\u903b\u8f91\u975e\u5e38\u7b80\u5355\uff0c\u5c31\u662f\u8f93\u51fa&#8221;Hello World!&#8221;\u3002\u5728GitLab\u4e2d\u521b\u5efa\u51fd\u6570\u7684\u4ee3\u7801\u793a\u4f8b\u5982\u4e0b\uff1a def handler(event, context): return &#8220;Hello World!&#8221; \u767b\u5f55\u540e\u590d\u5236 \u63a5\u4e0b\u6765\uff0c\u6211\u4eec\u53ef\u4ee5\u5229\u7528GitLab\u7684CI\/CD\u529f\u80fd\uff0c\u5c06\u8fd9\u4e2a\u51fd\u6570\u81ea\u52a8\u90e8\u7f72\u5230\u4e91\u670d\u52a1\u63d0\u4f9b\u5546\u3002\u8fd9\u91cc\u6211\u4eec\u4ee5AWS Lambda\u4e3a\u4f8b\u8fdb\u884c\u6f14\u793a\u3002 \u5728GitLab\u7684CI\/CD\u914d\u7f6e\u6587\u4ef6\u4e2d\uff0c\u6211\u4eec\u53ef\u4ee5\u6dfb\u52a0\u5982\u4e0b\u7684\u6b65\u9aa4\u6765\u90e8\u7f72\u51fd\u6570\u5230AWS Lambda\uff1a deploy: stage: deploy image: amazon\/aws-cli script: &#8211; aws lambda create-function &#8211;function-name hello-world &#8211;runtime python3.7 &#8211;handler hello_world.handler &#8211;role arn:aws:iam::123456789012:role\/lambda-role &#8211;zip-file function.zip tags: &#8211; aws \u767b\u5f55\u540e\u590d\u5236 \u5728\u8fd9\u4e2a\u914d\u7f6e\u6587\u4ef6\u4e2d\uff0c\u6211\u4eec\u4f7f\u7528\u4e86AWS CLI\u6765\u901a\u8fc7GitLab\u81ea\u52a8\u90e8\u7f72\u51fd\u6570\u5230AWS Lambda\u3002\u901a\u8fc7\u914d\u7f6e\u6b63\u786e\u7684AWS\u8d26\u53f7\u548c\u6743\u9650\uff0c\u6211\u4eec\u53ef\u4ee5\u5c06\u51fd\u6570\u90e8\u7f72\u5230\u4e91\u7aef\uff0c\u5e76\u4e14\u6307\u5b9a\u51fd\u6570\u7684\u8fd0\u884c\u65f6\u73af\u5883\u3001\u53e5\u67c4\u548c\u89d2\u8272\u3002\u6211\u4eec\u8fd8\u53ef\u4ee5\u6307\u5b9a\u51fd\u6570\u7684\u4ee3\u7801\u4f4d\u7f6e\u548c\u6587\u4ef6\u540d\u3002 \u5728\u51fd\u6570\u90e8\u7f72\u5b8c\u6210\u540e\uff0cGitLab\u53ef\u4ee5\u5229\u7528AWS Lambda\u7684\u81ea\u52a8\u4f38\u7f29\u529f\u80fd\u6765\u7ba1\u7406\u51fd\u6570\u7684\u5e76\u53d1\u8bf7\u6c42\u3002\u8fd9\u610f\u5473\u7740\u5f53\u51fd\u6570\u7684\u8bf7\u6c42\u91cf\u589e\u52a0\u65f6\uff0cAWS Lambda\u4f1a\u81ea\u52a8\u6269\u5c55\u51fd\u6570\u7684\u5b9e\u4f8b\u4ee5\u5e94\u5bf9\u9ad8\u8d1f\u8f7d\u3002\u8fd9\u6837\uff0c\u5f00\u53d1\u8005\u5c31\u4e0d\u9700\u8981\u62c5\u5fc3\u51fd\u6570\u7684\u8d44\u6e90\u9650\u5236\u548c\u4f38\u7f29\u95ee\u9898\u3002 \u603b\u7ed3\u8d77\u6765\uff0cGitLab\u7684\u65e0\u670d\u52a1\u5668\u67b6\u6784\u548c\u81ea\u52a8\u4f38\u7f29\u529f\u80fd\u53ef\u4ee5\u6781\u5927\u5730\u7b80\u5316\u5f00\u53d1\u8005\u7684\u5de5\u4f5c\u6d41\u7a0b\uff0c\u5e76\u4e14\u63d0\u9ad8\u8d44\u6e90\u5229\u7528\u548c\u4f38\u7f29\u6027\u3002\u901a\u8fc7\u96c6\u6210\u4e91\u670d\u52a1\u63d0\u4f9b\u5546\u7684\u529f\u80fd\uff0cGitLab\u4e3a\u5f00\u53d1\u8005\u63d0\u4f9b\u4e86\u65e0\u670d\u52a1\u5668\u67b6\u6784\u7684\u652f\u6301\uff0c\u8ba9\u5f00\u53d1\u8005\u53ef\u4ee5\u66f4\u4e13\u6ce8\u4e8e\u4e1a\u52a1\u903b\u8f91\u7684\u5f00\u53d1\uff0c\u800c\u4e0d\u9700\u8981\u5173\u5fc3\u5e95\u5c42\u7684\u57fa\u7840\u8bbe\u65bd\u548c\u8d44\u6e90\u7ba1\u7406\u3002\u901a\u8fc7GitLab\u7684CI\/CD\u529f\u80fd\uff0c\u5f00\u53d1\u8005\u53ef\u4ee5\u65b9\u4fbf\u5730\u5c06\u51fd\u6570\u90e8\u7f72\u5230\u4e91\u670d\u52a1\uff0c\u5e76\u4e14\u5229\u7528\u4e91\u670d\u52a1\u7684\u81ea\u52a8\u4f38\u7f29\u529f\u80fd\u6765\u7ba1\u7406\u51fd\u6570\u7684\u5e76\u53d1\u8bf7\u6c42\u3002\u8fd9\u4e9b\u529f\u80fd\u7684\u7d27\u5bc6\u96c6\u6210\uff0c\u4f7f\u5f97GitLab\u6210\u4e3a\u4e00\u4e2a\u5f3a\u5927\u7684\u5f00\u53d1\u548c\u8fd0\u7ef4\u5e73\u53f0\u3002 \u4ee5\u4e0a\u5c31\u662fGitLab\u7684\u65e0\u670d\u52a1\u5668\u67b6\u6784\u548c\u81ea\u52a8\u4f38\u7f29\u529f\u80fd\u7684\u8be6\u7ec6\u5185\u5bb9\uff0c\u66f4\u591a\u8bf7\u5173\u6ce8\u7c73\u4e91\u5176\u5b83\u76f8\u5173\u6587\u7ae0\uff01<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"closed","ping_status":"","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[16],"tags":[],"class_list":["post-20427","post","type-post","status-publish","format-standard","hentry","category-16"],"_links":{"self":[{"href":"https:\/\/fwq.ai\/blog\/wp-json\/wp\/v2\/posts\/20427","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/fwq.ai\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/fwq.ai\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/fwq.ai\/blog\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/fwq.ai\/blog\/wp-json\/wp\/v2\/comments?post=20427"}],"version-history":[{"count":0,"href":"https:\/\/fwq.ai\/blog\/wp-json\/wp\/v2\/posts\/20427\/revisions"}],"wp:attachment":[{"href":"https:\/\/fwq.ai\/blog\/wp-json\/wp\/v2\/media?parent=20427"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/fwq.ai\/blog\/wp-json\/wp\/v2\/categories?post=20427"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/fwq.ai\/blog\/wp-json\/wp\/v2\/tags?post=20427"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}