日韩无码专区无码一级三级片|91人人爱网站中日韩无码电影|厨房大战丰满熟妇|AV高清无码在线免费观看|另类AV日韩少妇熟女|中文日本大黄一级黄色片|色情在线视频免费|亚洲成人特黄a片|黄片wwwav色图欧美|欧亚乱色一区二区三区

RELATEED CONSULTING
相關(guān)咨詢
選擇下列產(chǎn)品馬上在線溝通
服務(wù)時(shí)間:8:30-17:00
你可能遇到了下面的問題
關(guān)閉右側(cè)工具欄

新聞中心

這里有您想知道的互聯(lián)網(wǎng)營銷解決方案
1分鐘快速使用Docker上手新版Sentry-CLI-創(chuàng)建一個(gè)版本

1分鐘快速使用docker上手新版Sentry-CLI - 創(chuàng)建一個(gè)版本

作者: 為少 2021-08-31 05:01:46

云計(jì)算 我們可以使用官方 sentry-cli 工具操作 Sentry API,從而來為你的項(xiàng)目管理一些數(shù)據(jù)。它主要用于管理 iOS、Android 的調(diào)試信息文件,以及其他平臺(tái)的版本(release)和源代碼映射(source maps)管理。

10多年的商城網(wǎng)站建設(shè)經(jīng)驗(yàn),針對(duì)設(shè)計(jì)、前端、開發(fā)、售后、文案、推廣等六對(duì)一服務(wù),響應(yīng)快,48小時(shí)及時(shí)工作處理。全網(wǎng)整合營銷推廣的優(yōu)勢(shì)是能夠根據(jù)用戶設(shè)備顯示端的尺寸不同,自動(dòng)調(diào)整商城建站的顯示方式,使網(wǎng)站能夠適用不同顯示終端,在瀏覽器中調(diào)整網(wǎng)站的寬度,無論在任何一種瀏覽器上瀏覽網(wǎng)站,都能展現(xiàn)優(yōu)雅布局與設(shè)計(jì),從而大程度地提升瀏覽體驗(yàn)。成都創(chuàng)新互聯(lián)從事“商城網(wǎng)站設(shè)計(jì)”,“商城網(wǎng)站推廣”以來,每個(gè)客戶項(xiàng)目都認(rèn)真落實(shí)執(zhí)行。

本文轉(zhuǎn)載自微信公眾號(hào)「黑客下午茶」,作者為少。轉(zhuǎn)載本文請(qǐng)聯(lián)系黑客下午茶公眾號(hào)。

我們可以使用官方 sentry-cli 工具操作 Sentry API,從而來為你的項(xiàng)目管理一些數(shù)據(jù)。它主要用于管理 iOS、Android 的調(diào)試信息文件,以及其他平臺(tái)的版本(release)和源代碼映射(source maps)管理。

安裝

Docker 鏡像

默認(rèn)情況下,該命令在 /work 目錄中運(yùn)行。掛載相關(guān)的你的項(xiàng)目文件夾并在那里構(gòu)建輸出以允許 sentry-cli 掃描資源:

  
 
 
 
  1. # 拉取鏡像
  2. docker pull getsentry/sentry-cli
  3. # 執(zhí)行命令
  4. docker run --rm -v $(pwd):/work getsentry/sentry-cli --help
  5. # sentry-cli 1.68.0
  6. # Command line utility for Sentry.
  7. # This tool helps you manage remote resources on a Sentry server like
  8. # sourcemaps, debug symbols or releases.  Use `--help` on the subcommands
  9. # to learn more about them.
  10. # USAGE:
  11. #     sentry-cli 
  12. # OPTIONS:
  13. #         --api-key 
  14. #             The given Sentry API key.
  15. #         --auth-token 
  16. #             Use the given Sentry auth token.
  17. #     -h, --help
  18. #             Print this help message.
  19. #         --log-level 
  20. #             Set the log output verbosity. [possible values: trace, debug, info, warn, error]
  21. #         --url 
  22. #             Fully qualified URL to the Sentry server.
  23. #             [defaults to https://sentry.io/]
  24. #     -V, --version
  25. #             Print version information.
  26. # SUBCOMMANDS:
  27. #     bash-hook          Prints out a bash script that does error handling.
  28. #     difutil            Locate or analyze debug information files.
  29. #     help               Prints this message or the help of the given subcommand(s)
  30. #     info               Print information about the Sentry server.
  31. #     issues             Manage issues in Sentry.
  32. #     login              Authenticate with the Sentry server.
  33. #     projects           Manage projects on Sentry.
  34. #     react-native       Upload build artifacts for react-native projects.
  35. #     releases           Manage releases on Sentry.
  36. #     repos              Manage repositories on Sentry.
  37. #     send-event         Send a manual event to Sentry.
  38. #     upload-dif         Upload debugging information files.
  39. #     upload-proguard    Upload ProGuard mapping files to a project.

配置和認(rèn)證

配置文件

sentry-cli 工具可以使用名為 .sentryclirc 的配置文件以及環(huán)境變量和 .env 文件進(jìn)行配置。從當(dāng)前路徑向上查找配置文件,并且始終加載 ~/.sentryclirc 中的默認(rèn)值。您還可以從命令行參數(shù)覆蓋這些設(shè)置。

.sentryclirc

  
 
 
 
  1. [auth]
  2. token=your-auth-token
  3. [defaults]
  4. org=sentry
  5. project=react-sentry-demo
  6. url=https://x.xxx.com

進(jìn)入容器內(nèi)

創(chuàng)建一個(gè)新版本:

  
 
 
 
  1. docker run --rm -it -v $(pwd):/work getsentry/sentry-cli /bin/sh
  2. sentry-cli releases new 1.0.0

Refs

https://docs.sentry.io/product/cli/


網(wǎng)頁標(biāo)題:1分鐘快速使用Docker上手新版Sentry-CLI-創(chuàng)建一個(gè)版本
轉(zhuǎn)載注明:http://m.5511xx.com/article/coheesg.html