{"id":6707,"date":"2025-03-09T12:03:23","date_gmt":"2025-03-09T04:03:23","guid":{"rendered":"https:\/\/t.n-years.com\/?p=6707"},"modified":"2025-03-09T12:03:23","modified_gmt":"2025-03-09T04:03:23","slug":"%e7%a7%bb%e5%8a%a8%e5%ba%94%e7%94%a8%e7%9a%84%e9%9c%80%e6%b1%82%e7%9a%84%e5%bc%80%e5%8f%91%e3%80%81%e6%b5%8b%e8%af%95%e3%80%81%e7%bb%84%e4%bb%b6%e5%8f%91%e5%b8%83%e3%80%81%e9%9b%86%e6%88%90%e3%80%81","status":"publish","type":"post","link":"https:\/\/t.n-years.com\/?p=6707","title":{"rendered":"\u79fb\u52a8\u5e94\u7528\u7684\u9700\u6c42\u7684\u5f00\u53d1\u3001\u6d4b\u8bd5\u3001\u7ec4\u4ef6\u53d1\u5e03\u3001\u96c6\u6210\u3001\u5e94\u7528\u53d1\u5e03\u4e32\u8054"},"content":{"rendered":"<p>\u5728 <strong>\u79fb\u52a8\u7aef DevOps<\/strong> \u4f53\u7cfb\u4e2d\uff0c\u53ef\u4ee5\u901a\u8fc7 <strong>CI\/CD\uff08\u6301\u7eed\u96c6\u6210 &amp; \u6301\u7eed\u90e8\u7f72\uff09\u6d41\u6c34\u7ebf<\/strong>\uff0c\u5c06 <strong>\u9700\u6c42 \u2192 \u5f00\u53d1 \u2192 \u6d4b\u8bd5 \u2192 \u7ec4\u4ef6\u53d1\u5e03 \u2192 \u96c6\u6210 \u2192 \u5e94\u7528\u53d1\u5e03<\/strong> \u4e32\u8054\u8d77\u6765\uff0c\u786e\u4fdd\u9ad8\u6548\u4ea4\u4ed8\u3002  <\/p>\n<p>\u4ee5\u4e0b\u662f\u4e00\u4e9b <strong>\u5173\u952e\u673a\u5236\u548c\u5de5\u5177<\/strong>\uff0c\u5e2e\u52a9\u5b9e\u73b0\u7aef\u5230\u7aef\u7684 DevOps \u81ea\u52a8\u5316\uff1a  <\/p>\n<hr \/>\n<h2><strong>\ud83d\udccc 1. \u9700\u6c42\u8ffd\u8e2a &amp; \u4efb\u52a1\u7ba1\u7406<\/strong><\/h2>\n<h3><strong>\ud83d\udd39 \u76ee\u6807\uff1a<\/strong><\/h3>\n<p>\u786e\u4fdd <strong>\u9700\u6c42\u2192\u5f00\u53d1\u2192\u6d4b\u8bd5\u2192\u53d1\u5e03<\/strong> \u8fc7\u7a0b\u53ef\u8ffd\u6eaf\uff0c\u907f\u514d\u4fe1\u606f\u5b64\u5c9b\u3002  <\/p>\n<h3><strong>\ud83d\udd39 \u5173\u952e\u673a\u5236\uff1a<\/strong><\/h3>\n<p>\u2705 <strong>\u9700\u6c42\u7ba1\u7406<\/strong> \u2192 Jira \/ Trello \/ Azure DevOps<br \/>\n\u2705 <strong>Git \u4ee3\u7801\u5173\u8054<\/strong> \u2192 GitHub Issues \/ GitLab Issues \/ Jira + Git<br \/>\n\u2705 <strong>\u81ea\u52a8\u66f4\u65b0\u72b6\u6001<\/strong> \u2192 \u4efb\u52a1\u5b8c\u6210\u540e\u81ea\u52a8\u66f4\u65b0\u8fdb\u5ea6  <\/p>\n<p>\ud83d\udccc <strong>\u793a\u4f8b<\/strong>\uff1a\u5f00\u53d1\u4eba\u5458\u5728 Git \u63d0\u4ea4\u65f6\uff0c\u5173\u8054 Jira \u4efb\u52a1 <code>JIRA-123<\/code>\uff0c\u89e6\u53d1\u540e\u7eed CI\/CD \u6d41\u7a0b\u3002  <\/p>\n<hr \/>\n<h2><strong>\ud83d\udccc 2. \u6301\u7eed\u96c6\u6210\uff08CI\uff09<\/strong><\/h2>\n<h3><strong>\ud83d\udd39 \u76ee\u6807\uff1a<\/strong><\/h3>\n<p><strong>\u81ea\u52a8\u5316\u6784\u5efa &amp; \u7ec4\u4ef6\u53d1\u5e03<\/strong>\uff0c\u4fdd\u8bc1\u4ee3\u7801\u8d28\u91cf\u5e76\u964d\u4f4e\u96c6\u6210\u6210\u672c\u3002  <\/p>\n<h3><strong>\ud83d\udd39 \u5173\u952e\u673a\u5236\uff1a<\/strong><\/h3>\n<p>\u2705 <strong>\u4ee3\u7801\u63d0\u4ea4\u89e6\u53d1 CI<\/strong>\uff08GitHub Actions \/ GitLab CI \/ Jenkins \/ Bitrise\uff09<br \/>\n\u2705 <strong>\u4ee3\u7801\u8d28\u91cf\u68c0\u67e5<\/strong>\uff08ESLint \/ SwiftLint \/ SonarQube\uff09<br \/>\n\u2705 <strong>\u5355\u5143\u6d4b\u8bd5 &amp; \u7ec4\u4ef6\u6d4b\u8bd5<\/strong>\uff08JUnit \/ XCTest \/ Jest \/ MockK\uff09<br \/>\n\u2705 <strong>\u5236\u54c1\u7ba1\u7406 &amp; \u7ec4\u4ef6\u53d1\u5e03<\/strong>\uff08npm \/ CocoaPods \/ Maven \/ Gradle\uff09  <\/p>\n<p>\ud83d\udccc <strong>\u793a\u4f8b<\/strong>\uff1a  <\/p>\n<ol>\n<li>\u5f00\u53d1\u8005\u63d0\u4ea4\u4ee3\u7801\u5230 <code>feature-xyz<\/code> \u5206\u652f  <\/li>\n<li>CI \u81ea\u52a8\u8fd0\u884c\u4ee3\u7801\u68c0\u67e5 &amp; \u5355\u5143\u6d4b\u8bd5  <\/li>\n<li>\u7ec4\u4ef6\u6253\u5305\u540e\u53d1\u5e03\u5230\u5185\u90e8 <strong>\u5236\u54c1\u5e93\uff08Nexus\u3001JFrog Artifactory\uff09<\/strong>  <\/li>\n<\/ol>\n<hr \/>\n<h2><strong>\ud83d\udccc 3. \u7ec4\u4ef6\u5316 &amp; \u4f9d\u8d56\u7ba1\u7406<\/strong><\/h2>\n<h3><strong>\ud83d\udd39 \u76ee\u6807\uff1a<\/strong><\/h3>\n<p>\u652f\u6301 <strong>\u6a21\u5757\u5316\u5f00\u53d1<\/strong>\uff0c\u72ec\u7acb\u7ef4\u62a4\u4e1a\u52a1\u7ec4\u4ef6\uff0c\u907f\u514d\u8026\u5408\u3002  <\/p>\n<h3><strong>\ud83d\udd39 \u5173\u952e\u673a\u5236\uff1a<\/strong><\/h3>\n<p>\u2705 <strong>\u79c1\u6709\u7ec4\u4ef6\u7ba1\u7406<\/strong>\uff08CocoaPods \/ Maven \/ npm \u79c1\u6709\u5e93\uff09<br \/>\n\u2705 <strong>\u7248\u672c\u7ba1\u7406 &amp; \u4f9d\u8d56\u89e3\u6790<\/strong>\uff08SemVer \u8bed\u4e49\u5316\u7248\u672c\uff09<br \/>\n\u2705 <strong>\u81ea\u52a8\u5316\u7ec4\u4ef6\u53d1\u5e03<\/strong>\uff08Fastlane \/ GitHub Packages \/ JitPack\uff09  <\/p>\n<p>\ud83d\udccc <strong>\u793a\u4f8b<\/strong>\uff1a  <\/p>\n<ul>\n<li><code>fastlane release_component<\/code> \u81ea\u52a8\u53d1\u5e03 iOS \u7ec4\u4ef6\u5230\u79c1\u6709 CocoaPods  <\/li>\n<li><code>npm publish<\/code> \u4e0a\u4f20\u524d\u7aef\u7ec4\u4ef6\u5230\u5185\u90e8 npm Registry  <\/li>\n<\/ul>\n<hr \/>\n<h2><strong>\ud83d\udccc 4. \u81ea\u52a8\u5316\u6d4b\u8bd5\uff08\u79fb\u52a8\u7aef\uff09<\/strong><\/h2>\n<h3><strong>\ud83d\udd39 \u76ee\u6807\uff1a<\/strong><\/h3>\n<p>\u8986\u76d6 <strong>UI\u3001API\u3001\u517c\u5bb9\u6027\u3001\u6027\u80fd\u3001\u5b89\u5168\u6027<\/strong> \u6d4b\u8bd5\uff0c\u907f\u514d\u56de\u5f52\u7f3a\u9677\u3002  <\/p>\n<h3><strong>\ud83d\udd39 \u5173\u952e\u673a\u5236\uff1a<\/strong><\/h3>\n<p>\u2705 <strong>\u5355\u5143\u6d4b\u8bd5<\/strong>\uff08JUnit \/ XCTest \/ Jest\uff09<br \/>\n\u2705 <strong>\u63a5\u53e3\u6d4b\u8bd5<\/strong>\uff08Postman \/ RestAssured\uff09<br \/>\n\u2705 <strong>UI \u81ea\u52a8\u5316\u6d4b\u8bd5<\/strong>\uff08Appium \/ Detox \/ Espresso\uff09<br \/>\n\u2705 <strong>\u517c\u5bb9\u6027\u6d4b\u8bd5\uff08\u4e91\u771f\u673a\uff09<\/strong>\uff08Firebase Test Lab \/ AWS Device Farm\uff09  <\/p>\n<p>\ud83d\udccc <strong>\u793a\u4f8b<\/strong>\uff1a<br \/>\nCI \u5728\u4ee3\u7801\u5408\u5e76\u65f6\uff0c\u89e6\u53d1 UI \u81ea\u52a8\u5316\u6d4b\u8bd5\uff0c\u786e\u4fdd\u65b0\u529f\u80fd\u517c\u5bb9 Android \/ iOS \u8bbe\u5907\u3002  <\/p>\n<hr \/>\n<h2><strong>\ud83d\udccc 5. \u6301\u7eed\u4ea4\u4ed8\uff08CD\uff09 &amp; \u9884\u53d1\u5e03<\/strong><\/h2>\n<h3><strong>\ud83d\udd39 \u76ee\u6807\uff1a<\/strong><\/h3>\n<p>\u652f\u6301 <strong>\u5feb\u901f\u3001\u53ef\u63a7\u3001\u5b89\u5168\u7684 App \u4ea4\u4ed8<\/strong>\uff0c\u907f\u514d\u5168\u91cf\u53d1\u5e03\u5e26\u6765\u7684\u98ce\u9669\u3002  <\/p>\n<h3><strong>\ud83d\udd39 \u5173\u952e\u673a\u5236\uff1a<\/strong><\/h3>\n<p>\u2705 <strong>\u81ea\u52a8\u5316\u6253\u5305 &amp; \u4ee3\u7801\u7b7e\u540d<\/strong>\uff08Fastlane \/ Gradle\uff09<br \/>\n\u2705 <strong>\u9884\u53d1\u5e03\u6e20\u9053<\/strong>\uff08Google Play Beta \/ Apple TestFlight\uff09<br \/>\n\u2705 <strong>A\/B \u6d4b\u8bd5 &amp; Canary \u53d1\u5e03<\/strong>\uff08Firebase Remote Config \/ Feature Flags\uff09  <\/p>\n<p>\ud83d\udccc <strong>\u793a\u4f8b<\/strong>\uff1a  <\/p>\n<ol>\n<li>CI \u89e6\u53d1 App \u6784\u5efa &amp; \u7b7e\u540d  <\/li>\n<li>\u81ea\u52a8\u4e0a\u4f20 <strong>TestFlight \/ Firebase App Distribution<\/strong>  <\/li>\n<li>10% \u65e9\u671f\u7528\u6237\u5148\u4f53\u9a8c\u65b0\u7248\u672c\uff0c\u76d1\u6d4b\u5d29\u6e83\u7387\u540e\u518d\u6269\u5927\u53d1\u5e03\u8303\u56f4  <\/li>\n<\/ol>\n<hr \/>\n<h2><strong>\ud83d\udccc 6. \u751f\u4ea7\u53d1\u5e03 &amp; \u76d1\u63a7<\/strong><\/h2>\n<h3><strong>\ud83d\udd39 \u76ee\u6807\uff1a<\/strong><\/h3>\n<p>\u53d1\u5e03\u540e\u786e\u4fdd <strong>\u5e94\u7528\u7a33\u5b9a\u8fd0\u884c &amp; \u5feb\u901f\u56de\u6eda<\/strong>\uff0c\u907f\u514d\u5927\u89c4\u6a21\u4e8b\u6545\u3002  <\/p>\n<h3><strong>\ud83d\udd39 \u5173\u952e\u673a\u5236\uff1a<\/strong><\/h3>\n<p>\u2705 <strong>\u7070\u5ea6\u53d1\u5e03 &amp; \u9010\u6b65\u63a8\u5e7f<\/strong>\uff08Google Play Staged Rollouts \/ iOS Phased Release\uff09<br \/>\n\u2705 <strong>\u5b9e\u65f6\u65e5\u5fd7 &amp; \u5d29\u6e83\u76d1\u63a7<\/strong>\uff08Sentry \/ Firebase Crashlytics\uff09<br \/>\n\u2705 <strong>\u7528\u6237\u53cd\u9988\u5206\u6790<\/strong>\uff08Google Analytics \/ Mixpanel\uff09<br \/>\n\u2705 <strong>\u8fdc\u7a0b\u914d\u7f6e &amp; \u7ebf\u4e0a Feature \u5f00\u5173<\/strong>\uff08Firebase Remote Config\uff09  <\/p>\n<p>\ud83d\udccc <strong>\u793a\u4f8b<\/strong>\uff1a<br \/>\n\u5982\u679c\u65b0\u7248\u672c\u5d29\u6e83\u7387\u9ad8\uff0c\u7cfb\u7edf\u81ea\u52a8\u56de\u6eda\u5230\u4e0a\u4e00\u4e2a\u7a33\u5b9a\u7248\u672c\u3002  <\/p>\n<hr \/>\n<h2><strong>\ud83d\udccc 7. \u53cd\u9988 &amp; \u6301\u7eed\u4f18\u5316<\/strong><\/h2>\n<h3><strong>\ud83d\udd39 \u76ee\u6807\uff1a<\/strong><\/h3>\n<p>\u6536\u96c6\u7528\u6237\u53cd\u9988\uff0c\u4f18\u5316 DevOps \u6d41\u7a0b\uff0c\u5b9e\u73b0\u6301\u7eed\u6539\u8fdb\u3002  <\/p>\n<h3><strong>\ud83d\udd39 \u5173\u952e\u673a\u5236\uff1a<\/strong><\/h3>\n<p>\u2705 <strong>\u5e94\u7528\u5546\u5e97\u53cd\u9988\u5206\u6790<\/strong>\uff08Google Play \/ App Store Reviews\uff09<br \/>\n\u2705 <strong>CI\/CD \u6548\u80fd\u5ea6\u91cf<\/strong>\uff08DORA Metrics\u3001Lead Time\u3001MTTR\uff09<br \/>\n\u2705 <strong>\u56e2\u961f\u56de\u987e &amp; \u8fed\u4ee3\u4f18\u5316<\/strong>\uff08Postmortem \/ Sprint Retrospective\uff09  <\/p>\n<p>\ud83d\udccc <strong>\u793a\u4f8b<\/strong>\uff1a<br \/>\n\u6bcf\u6b21\u53d1\u5e03\u540e\uff0c\u56e2\u961f\u5b9a\u671f\u5206\u6790 CI\/CD \u6307\u6807\uff0c\u4f18\u5316\u6784\u5efa &amp; \u53d1\u5e03\u901f\u5ea6\u3002  <\/p>\n<hr \/>\n<h1><strong>\ud83d\udd17 \u603b\u7ed3\uff1aDevOps \u4e32\u8054\u79fb\u52a8\u5e94\u7528\u5168\u6d41\u7a0b<\/strong><\/h1>\n<table>\n<thead>\n<tr>\n<th><strong>\u9636\u6bb5<\/strong><\/th>\n<th><strong>\u5173\u952e\u673a\u5236 &amp; \u5de5\u5177<\/strong><\/th>\n<\/tr>\n<\/thead>\n<tbody>\n<tr>\n<td><strong>\u9700\u6c42\u8ffd\u8e2a<\/strong><\/td>\n<td>Jira \/ GitHub Issues \/ Azure DevOps<\/td>\n<\/tr>\n<tr>\n<td><strong>\u6301\u7eed\u96c6\u6210<\/strong><\/td>\n<td>GitHub Actions \/ GitLab CI \/ Bitrise \/ Jenkins<\/td>\n<\/tr>\n<tr>\n<td><strong>\u7ec4\u4ef6\u7ba1\u7406<\/strong><\/td>\n<td>CocoaPods \/ npm \/ Maven \/ JFrog Artifactory<\/td>\n<\/tr>\n<tr>\n<td><strong>\u81ea\u52a8\u5316\u6d4b\u8bd5<\/strong><\/td>\n<td>Appium \/ Espresso \/ XCTest \/ Firebase Test Lab<\/td>\n<\/tr>\n<tr>\n<td><strong>\u81ea\u52a8\u5316\u6784\u5efa<\/strong><\/td>\n<td>Fastlane \/ Gradle \/ Xcode Build<\/td>\n<\/tr>\n<tr>\n<td><strong>\u7070\u5ea6\u53d1\u5e03<\/strong><\/td>\n<td>TestFlight \/ Google Play Beta \/ Firebase App Distribution<\/td>\n<\/tr>\n<tr>\n<td><strong>\u8fdc\u7a0b\u914d\u7f6e<\/strong><\/td>\n<td>Firebase Remote Config \/ LaunchDarkly<\/td>\n<\/tr>\n<tr>\n<td><strong>\u76d1\u63a7 &amp; \u53cd\u9988<\/strong><\/td>\n<td>Firebase Crashlytics \/ Sentry \/ Mixpanel<\/td>\n<\/tr>\n<\/tbody>\n<\/table>\n<blockquote>\n<p><strong>\u6700\u7ec8\u76ee\u6807<\/strong>\uff1a\u901a\u8fc7 DevOps \u81ea\u52a8\u5316\uff0c\u5c06 <strong>\u9700\u6c42 \u2192 \u5f00\u53d1 \u2192 \u7ec4\u4ef6\u53d1\u5e03 \u2192 \u6d4b\u8bd5 \u2192 \u96c6\u6210 \u2192 \u751f\u4ea7\u53d1\u5e03<\/strong> \u4e32\u8054\uff0c<strong>\u51cf\u5c11\u624b\u5de5\u64cd\u4f5c\uff0c\u63d0\u9ad8\u6548\u7387\uff0c\u964d\u4f4e\u98ce\u9669\uff01<\/strong> \ud83d\ude80  <\/p>\n<\/blockquote>\n<p>\u4f60\u76ee\u524d\u5728\u54ea\u4e2a\u73af\u8282\u9047\u5230\u6311\u6218\uff1f\u9700\u8981\u66f4\u5177\u4f53\u7684\u5b9e\u65bd\u65b9\u6848\u5417\uff1f\ud83d\ude03<\/p>\n","protected":false},"excerpt":{"rendered":"<p>\u5728 \u79fb\u52a8\u7aef DevOps \u4f53\u7cfb\u4e2d\uff0c\u53ef\u4ee5\u901a\u8fc7 CI\/CD\uff08\u6301\u7eed\u96c6\u6210 &amp; \u6301\u7eed\u90e8\u7f72\uff09\u6d41\u6c34\u7ebf\uff0c\u5c06 \u9700\u6c42 \u2192 &#8230; <\/p>\n<div class=\"read-more navbutton\"><a href=\"https:\/\/t.n-years.com\/?p=6707\">\u9605\u8bfb\u66f4\u591a<i class=\"fa fa-angle-double-right\"><\/i><\/a><\/div>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[5],"tags":[],"class_list":["post-6707","post","type-post","status-publish","format-standard","hentry","category-5"],"_links":{"self":[{"href":"https:\/\/t.n-years.com\/index.php?rest_route=\/wp\/v2\/posts\/6707","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/t.n-years.com\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/t.n-years.com\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/t.n-years.com\/index.php?rest_route=\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/t.n-years.com\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=6707"}],"version-history":[{"count":1,"href":"https:\/\/t.n-years.com\/index.php?rest_route=\/wp\/v2\/posts\/6707\/revisions"}],"predecessor-version":[{"id":6708,"href":"https:\/\/t.n-years.com\/index.php?rest_route=\/wp\/v2\/posts\/6707\/revisions\/6708"}],"wp:attachment":[{"href":"https:\/\/t.n-years.com\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=6707"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/t.n-years.com\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=6707"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/t.n-years.com\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=6707"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}