{"id":86319,"date":"2024-04-03T11:19:53","date_gmt":"2024-04-03T03:19:53","guid":{"rendered":"https:\/\/docs.pingcode.com\/ask\/ask-ask\/86319.html"},"modified":"2024-04-03T11:19:54","modified_gmt":"2024-04-03T03:19:54","slug":"gitlab-cicd%e5%8f%af%e4%bb%a5%e6%89%8b%e5%8a%a8%e8%a7%a6%e5%8f%91%e5%90%97","status":"publish","type":"post","link":"https:\/\/docs.pingcode.com\/ask\/ask-ask\/86319.html","title":{"rendered":"Gitlab CICD\u53ef\u4ee5\u624b\u52a8\u89e6\u53d1\u5417"},"content":{"rendered":"<p style=\"text-align:center\"><img decoding=\"async\" src=\"https:\/\/cdn-kb.worktile.com\/kb\/wp-content\/uploads\/2024\/04\/02172342\/68fdc9fd-2838-4935-9dcb-9a2951cd0edf.webp\" alt=\"Gitlab CICD\u53ef\u4ee5\u624b\u52a8\u89e6\u53d1\u5417\" \/><\/p>\n<p><p><strong>\u662f\u7684\uff0cGitLab <a href=\"https:\/\/docs.pingcode.com\/blog\/devops\/52691.html\" target=\"_blank\">CI\/CD<\/a> \u652f\u6301\u624b\u52a8\u89e6\u53d1\u6d41\u7a0b<\/strong>\u3002\u8fd9\u53ef\u4ee5\u901a\u8fc7\u5b9a\u4e49\u624b\u52a8\u4f5c\u4e1a\uff0c\u4f7f\u5f00\u53d1\u8005\u6709\u80fd\u529b\u9009\u62e9\u9002\u5f53\u7684\u65f6\u673a\u6765\u542f\u52a8\u7279\u5b9a\u7684\u90e8\u7f72\u6216\u4efb\u52a1\u3002\u7279\u522b\u662f\u5728\u9700\u8981\u7cbe\u786e\u63a7\u5236\u4f55\u65f6\u6267\u884c\u5177\u4f53\u6b65\u9aa4\u7684\u60c5\u51b5\u4e0b\uff0c\u5982\u9884\u53d1\u5e03\u6216\u751f\u4ea7\u90e8\u7f72\uff0c\u8fd9\u4e00\u529f\u80fd\u5c24\u4e3a\u91cd\u8981\u3002\u901a\u8fc7\u4f7f\u7528 <code>when: manual<\/code> \u6307\u4ee4\uff0c\u53ef\u4ee5\u5728 <code>.gitlab-ci.yml<\/code> \u6587\u4ef6\u4e2d\u8bbe\u5b9a\u624b\u52a8\u4f5c\u4e1a\u3002\u6b64\u5916\uff0cGitLab \u8fd8\u63d0\u4f9b\u4e86\u5728\u5408\u5e76\u8bf7\u6c42\u4e2d\u76f4\u63a5\u6267\u884c\u624b\u52a8\u4f5c\u4e1a\u7684\u529f\u80fd\uff0c\u8fd9\u589e\u52a0\u4e86\u7075\u6d3b\u6027\u5e76\u7b80\u5316\u4e86\u64cd\u4f5c\u3002<\/p>\n<\/p>\n<p><h3>\u4e00\u3001\u624b\u52a8\u4f5c\u4e1a\u7684\u914d\u7f6e\u4e0e\u4f7f\u7528<\/h3>\n<\/p>\n<p><p>\u5728 GitLab CI\/CD \u914d\u7f6e\u6587\u4ef6 <code>.gitlab-ci.yml<\/code> \u4e2d\uff0c\u4e00\u4e2a\u4f5c\u4e1a\u53ef\u4ee5\u901a\u8fc7\u6dfb\u52a0 <code>when: manual<\/code> \u5173\u952e\u5b57\u6765\u8bbe\u4e3a\u624b\u52a8\u89e6\u53d1\u3002\u8fd9\u901a\u5e38\u7528\u4e8e\u90a3\u4e9b\u9700\u8981\u4eba\u4e3a\u5224\u65ad\u662f\u5426\u6267\u884c\u7684\u6b65\u9aa4\uff0c\u4f8b\u5982\u90e8\u7f72\u5230\u751f\u4ea7\u73af\u5883\u3002<\/p>\n<\/p>\n<p><p><strong>\u624b\u52a8\u89e6\u53d1\u4f5c\u4e1a\u914d\u7f6e\u793a\u4f8b<\/strong>\uff1a<\/p>\n<\/p>\n<p><pre><code class=\"language-yaml\">deploy_to_production:<\/p>\n<p>  stage: deploy<\/p>\n<p>  script:<\/p>\n<p>    - echo &quot;Deploying to production server&quot;<\/p>\n<p>  when: manual<\/p>\n<p>  only:<\/p>\n<p>    - master<\/p>\n<p><\/code><\/pre>\n<\/p>\n<p><p>\u5728\u4ee5\u4e0a\u7684\u793a\u4f8b\u4e2d\uff0c<code>deploy_to_production<\/code> \u4f5c\u4e1a\u88ab\u8bbe\u7f6e\u4e3a\u5728\u63a8\u9001\u5230 <code>master<\/code> \u5206\u652f\u65f6\u624b\u52a8\u89e6\u53d1\u3002\u5f53\u4ee3\u7801\u63a8\u9001\u5230 <code>master<\/code> \u5206\u652f\uff0c\u6216\u5408\u5e76\u8bf7\u6c42\u88ab\u5408\u5e76\u65f6\uff0c<code>deploy_to_production<\/code> \u4f5c\u4e1a\u5c06\u5728 GitLab CI\/CD \u6d41\u6c34\u7ebf\u4e2d\u51fa\u73b0\u4e3a\u4e00\u4e2a\u624b\u52a8\u4f5c\u4e1a\uff0c\u4f46\u5b83\u4e0d\u4f1a\u81ea\u52a8\u6267\u884c\u3002\u5f00\u53d1\u8005\u9700\u8981\u5728 GitLab \u7684\u754c\u9762\u4e0a\uff0c\u70b9\u51fb\u5bf9\u5e94\u7684\u6309\u94ae\u6765\u89e6\u53d1\u8fd9\u4e2a\u4f5c\u4e1a\u3002<\/p>\n<\/p>\n<p><h3>\u4e8c\u3001\u89e6\u53d1\u624b\u52a8\u4f5c\u4e1a\u7684\u6d41\u7a0b<\/h3>\n<\/p>\n<p><p>\u5f00\u53d1\u8005\u53ef\u4ee5\u901a\u8fc7 GitLab \u7684Web\u754c\u9762\u64cd\u4f5c\u6765\u89e6\u53d1\u5df2\u914d\u7f6e\u7684\u624b\u52a8\u4f5c\u4e1a\u3002<\/p>\n<\/p>\n<p><p><strong>\u624b\u52a8\u89e6\u53d1\u6d41\u7a0b\u6b65\u9aa4<\/strong>\uff1a<\/p>\n<\/p>\n<ol>\n<li>\u767b\u5f55\u5230GitLab\u5e10\u6237\uff0c\u7136\u540e\u5bfc\u822a\u5230\u76f8\u5e94\u7684\u9879\u76ee\u9875\u9762\u3002<\/li>\n<li>\u8fdb\u5165\u300cCI \/ CD\u300d-&gt; \u300cPipelines\u300d\u67e5\u770b\u9879\u76ee\u7684\u6d41\u6c34\u7ebf\u3002<\/li>\n<li>\u627e\u5230\u9700\u8981\u624b\u52a8\u89e6\u53d1\u7684\u4f5c\u4e1a\uff0c\u901a\u5e38\u8fd9\u4e9b\u4f5c\u4e1a\u7684\u72b6\u6001\u4f1a\u663e\u793a\u4e3a\u201cmanual\u201d\u3002<\/li>\n<li>\u5355\u51fb\u4f5c\u4e1a\u65c1\u8fb9\u7684\u300cplay\u300d\u6309\u94ae\u6765\u542f\u52a8\u4f5c\u4e1a\u3002<\/li>\n<\/ol>\n<p><p><strong>\u5728\u5408\u5e76\u8bf7\u6c42\u4e2d\u624b\u52a8\u89e6\u53d1\u4f5c\u4e1a<\/strong>\uff1a<\/p>\n<\/p>\n<p><p>GitLab\u8fd8\u5141\u8bb8\u5728\u5408\u5e76\u8bf7\u6c42\u4e2d\u6dfb\u52a0\u4e00\u4e2a\u6216\u591a\u4e2a\u624b\u52a8\u4f5c\u4e1a\u3002\u5f53\u5f00\u53d1\u8005\u89c9\u5f97\u9700\u8981\u8fdb\u884c\u7279\u5b9a\u7684\u64cd\u4f5c\u65f6\uff0c\u5982\u624b\u52a8\u6267\u884c\u7279\u5b9a\u7684\u6d4b\u8bd5\u6216\u90e8\u7f72\uff0c\u53ef\u4ee5\u76f4\u63a5\u4ece\u5408\u5e76\u8bf7\u6c42\u7684\u754c\u9762\u4e2d\u89e6\u53d1\u3002<\/p>\n<\/p>\n<p><h3>\u4e09\u3001\u624b\u52a8\u89e6\u53d1\u4e0e\u81ea\u52a8\u5316\u7684\u7ed3\u5408<\/h3>\n<\/p>\n<p><p>\u5c3d\u7ba1\u624b\u52a8\u89e6\u53d1\u6d41\u7a0b\u63d0\u4f9b\u4e86\u63a7\u5236\u7684\u7075\u6d3b\u6027\uff0c\u5728\u5b9e\u9645\u5e94\u7528\u4e2d\uff0c\u5f00\u53d1\u56e2\u961f\u5f80\u5f80\u4f1a\u7ed3\u5408\u624b\u52a8\u89e6\u53d1\u548c\u81ea\u52a8\u5316\u6d41\u7a0b\u6765\u8fbe\u5230\u6700\u4f73\u5b9e\u8df5\u3002\u5373\u4e00\u4e9b\u654f\u611f\u7684\u64cd\u4f5c\u5982\u90e8\u7f72\u5230\u751f\u4ea7\u73af\u5883\u4f7f\u7528\u624b\u52a8\u89e6\u53d1\uff0c\u800c\u6784\u5efa\u548c\u6d4b\u8bd5\u53ef\u4ee5\u8bbe\u7f6e\u4e3a\u81ea\u52a8\u5316\u4ee5\u786e\u4fdd\u4ee3\u7801\u7684\u8d28\u91cf\u3002<\/p>\n<\/p>\n<p><p><strong>\u7ed3\u5408\u624b\u52a8\u89e6\u53d1\u548c\u81ea\u52a8\u5316\u7684\u914d\u7f6e\u793a\u4f8b<\/strong>\uff1a<\/p>\n<\/p>\n<p><pre><code class=\"language-yaml\">stages:<\/p>\n<p>  - build<\/p>\n<p>  - test<\/p>\n<p>  - deploy<\/p>\n<p>build_job:<\/p>\n<p>  stage: build<\/p>\n<p>  script:<\/p>\n<p>    - echo &quot;Building the application&quot;<\/p>\n<p>    - build.sh<\/p>\n<p>test_job:<\/p>\n<p>  stage: test<\/p>\n<p>  script:<\/p>\n<p>    - echo &quot;Running tests&quot;<\/p>\n<p>    - test.sh<\/p>\n<p>manual_deploy_job:<\/p>\n<p>  stage: deploy<\/p>\n<p>  script:<\/p>\n<p>    - echo &quot;This deployment will be executed manually&quot;<\/p>\n<p>  when: manual<\/p>\n<p><\/code><\/pre>\n<\/p>\n<p><p>\u5728\u6b64\u914d\u7f6e\u4e0b\uff0c<code>build_job<\/code> \u548c <code>test_job<\/code> \u4f5c\u4e1a\u4f1a\u81ea\u52a8\u6267\u884c\uff0c\u800c <code>manual_deploy_job<\/code> \u9700\u8981\u624b\u52a8\u89e6\u53d1\u3002<\/p>\n<\/p>\n<p><h3>\u56db\u3001\u5f71\u54cd\u624b\u52a8\u89e6\u53d1\u7684\u56e0\u7d20<\/h3>\n<\/p>\n<p><p>\u5f53\u5b9a\u4e49\u4e86\u624b\u52a8\u4f5c\u4e1a\u65f6\uff0c\u8fd8\u9700\u8003\u8651\u6743\u9650\u7684\u8bbe\u7f6e\uff0c\u56e0\u4e3a\u4e0d\u662f\u6240\u6709\u7528\u6237\u90fd\u6709\u6743\u9650\u89e6\u53d1\u6bcf\u4e00\u4e2a\u624b\u52a8\u4f5c\u4e1a\u3002\u4f8b\u5982\uff0c\u5bf9\u4e8e\u654f\u611f\u7684\u751f\u4ea7\u73af\u5883\u90e8\u7f72\uff0c\u901a\u5e38\u9650\u5236\u53ea\u6709\u5177\u5907\u8db3\u591f\u6743\u9650\u7684\u7528\u6237\u624d\u80fd\u89e6\u53d1\u3002<\/p>\n<\/p>\n<p><p><strong>\u5f71\u54cd\u624b\u52a8\u89e6\u53d1\u7684\u6743\u9650\u914d\u7f6e<\/strong>\uff1a<\/p>\n<\/p>\n<p><pre><code class=\"language-yaml\">deploy_to_production:<\/p>\n<p>  stage: deploy<\/p>\n<p>  script:<\/p>\n<p>    - echo &quot;Deploying to production server&quot;<\/p>\n<p>  when: manual<\/p>\n<p>  only:<\/p>\n<p>    - master<\/p>\n<p>  allow_f<a href=\"https:\/\/docs.pingcode.com\/blog\/59162.html\" target=\"_blank\">AI<\/a>lure: false<\/p>\n<p>  environment:<\/p>\n<p>    name: production<\/p>\n<p>    on_stop: stop_production<\/p>\n<p>  only:<\/p>\n<p>    refs:<\/p>\n<p>      - master<\/p>\n<p>    variables:<\/p>\n<p>      - $PRODUCTION_READY<\/p>\n<p>  except:<\/p>\n<p>    - schedules<\/p>\n<p><\/code><\/pre>\n<\/p>\n<p><p>\u6b64\u914d\u7f6e\u4e2d\u8fd8\u4f7f\u7528\u4e86 <code>only<\/code> \u548c <code>except<\/code> \u5173\u952e\u5b57\u63a7\u5236\u4f5c\u4e1a\u7684\u89e6\u53d1\u6761\u4ef6\uff0c\u66f4\u7ec6\u7c92\u5ea6\u5730\u7ba1\u7406\u4e86\u624b\u52a8\u89e6\u53d1\u4f5c\u4e1a\u7684\u6743\u9650\u548c\u6761\u4ef6\u3002\u662f\u5426\u80fd\u591f\u6267\u884c <code>deploy_to_production<\/code> \u4f5c\u4e1a\uff0c\u53d6\u51b3\u4e8e\u7528\u6237\u7684\u89d2\u8272\u548c\u5206\u652f\u7684\u72b6\u6001\u4ee5\u53ca\u5b9a\u4e49\u7684\u53d8\u91cf\u3002<\/p>\n<\/p>\n<p><h3>\u4e94\u3001\u6700\u4f73\u5b9e\u8df5\u548c\u6ce8\u610f\u4e8b\u9879<\/h3>\n<\/p>\n<p><p>\u5f53\u4f7f\u7528\u624b\u52a8\u89e6\u53d1\u6d41\u7a0b\u65f6\uff0c\u9700\u8981\u6ce8\u610f\u4ee5\u4e0b\u6700\u4f73\u5b9e\u8df5\u548c\u6ce8\u610f\u4e8b\u9879\u6765\u786e\u4fdd\u64cd\u4f5c\u7684\u6210\u529f\u548c\u6d41\u7a0b\u7684\u987a\u5229\u3002<\/p>\n<\/p>\n<ul>\n<li>\n<p><strong>\u786e\u4fdd\u624b\u52a8\u4f5c\u4e1a\u6709\u660e\u786e\u7684\u64cd\u4f5c\u6307\u5bfc<\/strong>\uff1a\u4e3a\u4e86\u907f\u514d\u8bef\u64cd\u4f5c\uff0c\u5e94\u5728\u6587\u6863\u4e2d\u6e05\u6670\u8bf4\u660e\u6bcf\u4e2a\u624b\u52a8\u4f5c\u4e1a\u7684\u76ee\u7684\u548c\u64cd\u4f5c\u6b65\u9aa4\u3002<\/p>\n<\/p>\n<\/li>\n<li>\n<p><strong>\u614e\u91cd\u7ba1\u7406\u6743\u9650<\/strong>\uff1a\u786e\u4fdd\u53ea\u6709\u5408\u9002\u7684\u56e2\u961f\u6210\u5458\u6709\u6743\u9650\u89e6\u53d1\u654f\u611f\u7684\u624b\u52a8\u4f5c\u4e1a\uff0c\u8fd9\u6837\u53ef\u4ee5\u51cf\u5c11\u98ce\u9669\u548c\u4e0d\u5fc5\u8981\u7684\u5931\u8bef\u3002<\/p>\n<\/p>\n<\/li>\n<li>\n<p><strong>\u53ca\u65f6\u53cd\u9988\u548c\u76d1\u63a7<\/strong>\uff1a\u5f53\u624b\u52a8\u4f5c\u4e1a\u88ab\u89e6\u53d1\u65f6\uff0c\u5e94\u786e\u4fdd\u6709\u53ca\u65f6\u7684\u53cd\u9988\u673a\u5236\u548c\u76d1\u63a7\uff0c\u4ee5\u4fbf\u4e8e\u56e2\u961f\u6210\u5458\u80fd\u591f\u4e86\u89e3\u6d41\u7a0b\u7684\u6267\u884c\u72b6\u6001\u548c\u7ed3\u679c\u3002<\/p>\n<\/p>\n<\/li>\n<\/ul>\n<p><p>\u901a\u8fc7\u4ee5\u4e0a\u6b65\u9aa4\u548c\u914d\u7f6e\uff0cGitLab CI\/CD \u7684\u624b\u52a8\u89e6\u53d1\u529f\u80fd\u80fd\u63d0\u4f9b\u7075\u6d3b\u7684\u64cd\u4f5c\u548c\u7cbe\u786e\u7684\u63a7\u5236\uff0c\u4e3a\u6301\u7eed\u96c6\u6210\u548c\u90e8\u7f72\u6d41\u7a0b\u589e\u6dfb\u4e86\u91cd\u8981\u7684\u4e00\u73af\u3002<\/p>\n<\/p>\n<h2><strong>\u76f8\u5173\u95ee\u7b54FAQs\uff1a<\/strong><\/h2>\n<p><strong>1. \u5982\u4f55\u624b\u52a8\u89e6\u53d1GitLab CICD\u6d41\u6c34\u7ebf\uff1f<\/strong><\/p>\n<p>\u624b\u52a8\u89e6\u53d1GitLab CICD\u6d41\u6c34\u7ebf\u975e\u5e38\u7b80\u5355\u3002\u53ea\u9700\u8981\u5728GitLab\u7684\u9879\u76ee\u9875\u9762\u4e2d\uff0c\u70b9\u51fb\u201cCI\/CD\u201d\u9009\u9879\u5361\uff0c\u7136\u540e\u627e\u5230\u8981\u89e6\u53d1\u7684\u6d41\u6c34\u7ebf\uff0c\u5728\u53f3\u4fa7\u70b9\u51fb\u201cRun pipeline\u201d\u5373\u53ef\u3002\u8fd9\u6837\u53ef\u4ee5\u624b\u52a8\u542f\u52a8\u6d41\u6c34\u7ebf\uff0c\u800c\u65e0\u9700\u7b49\u5f85\u81ea\u52a8\u89e6\u53d1\u6216\u63d0\u4ea4\u4ee3\u7801\u3002<\/p>\n<p><strong>2. GitLab CICD\u4e2d\u624b\u52a8\u89e6\u53d1\u6d41\u6c34\u7ebf\u6709\u4ec0\u4e48\u4f18\u52bf\uff1f<\/strong><\/p>\n<p>\u624b\u52a8\u89e6\u53d1GitLab CICD\u6d41\u6c34\u7ebf\u6709\u4e00\u4e9b\u4f18\u52bf\u3002\u9996\u5148\uff0c\u5b83\u5141\u8bb8\u4f60\u5728\u9700\u8981\u65f6\u624b\u52a8\u542f\u52a8\u6d41\u6c34\u7ebf\uff0c\u5c24\u5176\u5728\u7d27\u6025\u4fee\u590d\u548c\u5feb\u901f\u90e8\u7f72\u7b49\u60c5\u51b5\u4e0b\u975e\u5e38\u6709\u7528\u3002\u5176\u6b21\uff0c\u624b\u52a8\u89e6\u53d1\u53ef\u4ee5\u5e2e\u52a9\u4f60\u6d4b\u8bd5\u548c\u8c03\u8bd5\u6d41\u6c34\u7ebf\u914d\u7f6e\uff0c\u786e\u4fdd\u6240\u6709\u6b65\u9aa4\u548c\u4efb\u52a1\u90fd\u6b63\u5e38\u5de5\u4f5c\u3002\u6700\u540e\uff0c\u624b\u52a8\u89e6\u53d1\u6d41\u6c34\u7ebf\u8fd8\u53ef\u4ee5\u7528\u4e8e\u5b9a\u671f\u7684\u90e8\u7f72\u6216\u5907\u4efd\u4efb\u52a1\uff0c\u4ee5\u4fbf\u8fdb\u884c\u624b\u52a8\u9a8c\u8bc1\u548c\u76d1\u63a7\u3002<\/p>\n<p><strong>3. \u5982\u4f55\u4e3aGitLab CICD\u8bbe\u7f6e\u624b\u52a8\u89e6\u53d1\u6761\u4ef6\uff1f<\/strong><\/p>\n<p>\u5728GitLab\u4e2d\uff0c\u4f60\u53ef\u4ee5\u901a\u8fc7\u914d\u7f6e.gitlab-ci.yml\u6587\u4ef6\u6765\u8bbe\u7f6e\u624b\u52a8\u89e6\u53d1\u6761\u4ef6\u3002\u4f60\u53ef\u4ee5\u5728\u9700\u8981\u624b\u52a8\u89e6\u53d1\u7684\u4efb\u52a1\u4e0a\u4f7f\u7528&quot;manual&quot;\u5173\u952e\u5b57\u6765\u6807\u8bc6\uff0c\u8fd9\u6837\u4e00\u65e6\u6d41\u6c34\u7ebf\u8fd0\u884c\u5230\u8be5\u6b65\u9aa4\uff0c\u5c31\u4f1a\u6682\u505c\uff0c\u76f4\u5230\u624b\u52a8\u542f\u52a8\u3002\u4f60\u8fd8\u53ef\u4ee5\u4f7f\u7528&quot;when: manual&quot;\u6765\u5c06\u6574\u4e2a\u6d41\u6c34\u7ebf\u8bbe\u7f6e\u4e3a\u624b\u52a8\u89e6\u53d1\u3002\u8fd9\u6837\uff0c\u4f60\u5c31\u53ef\u4ee5\u7075\u6d3b\u63a7\u5236\u6d41\u7a0b\u548c\u89e6\u53d1\u6761\u4ef6\uff0c\u4ee5\u9002\u5e94\u4e0d\u540c\u7684\u90e8\u7f72\u548c\u6d4b\u8bd5\u9700\u6c42\u3002<\/p>\n","protected":false},"excerpt":{"rendered":"\u662f\u7684\uff0cGitLab CI\/CD \u652f\u6301\u624b\u52a8\u89e6\u53d1\u6d41\u7a0b\u3002\u8fd9\u53ef\u4ee5\u901a\u8fc7\u5b9a\u4e49\u624b\u52a8\u4f5c\u4e1a\uff0c\u4f7f\u5f00\u53d1\u8005\u6709\u80fd\u529b\u9009\u62e9\u9002\u5f53\u7684\u65f6\u673a\u6765\u542f\u52a8\u7279 [&hellip;]","protected":false},"author":3,"featured_media":86322,"comment_status":"closed","ping_status":"","sticky":false,"template":"","format":"standard","meta":{"_acf_changed":false,"footnotes":""},"categories":[37],"tags":[],"acf":[],"_links":{"self":[{"href":"https:\/\/docs.pingcode.com\/wp-json\/wp\/v2\/posts\/86319"}],"collection":[{"href":"https:\/\/docs.pingcode.com\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/docs.pingcode.com\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/docs.pingcode.com\/wp-json\/wp\/v2\/users\/3"}],"replies":[{"embeddable":true,"href":"https:\/\/docs.pingcode.com\/wp-json\/wp\/v2\/comments?post=86319"}],"version-history":[{"count":0,"href":"https:\/\/docs.pingcode.com\/wp-json\/wp\/v2\/posts\/86319\/revisions"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/docs.pingcode.com\/wp-json\/wp\/v2\/media\/86322"}],"wp:attachment":[{"href":"https:\/\/docs.pingcode.com\/wp-json\/wp\/v2\/media?parent=86319"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/docs.pingcode.com\/wp-json\/wp\/v2\/categories?post=86319"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/docs.pingcode.com\/wp-json\/wp\/v2\/tags?post=86319"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}