自拍偷在线精品自拍偷,亚洲欧美中文日韩v在线观看不卡

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

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

 

 

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

我們可以使用官方 sentry-cli 工具操作 Sentry API,從而來(lái)為你的項(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.  
  7. # Command line utility for Sentry. 
  8.  
  9. # This tool helps you manage remote resources on a Sentry server like 
  10. # sourcemaps, debug symbols or releases.  Use `--help` on the subcommands 
  11. to learn more about them. 
  12.  
  13. # USAGE: 
  14. #     sentry-cli <SUBCOMMAND> 
  15.  
  16. # OPTIONS: 
  17. #         --api-key <API_KEY> 
  18. #             The given Sentry API key
  19.  
  20. #         --auth-token <AUTH_TOKEN> 
  21. #             Use the given Sentry auth token. 
  22.  
  23. #     -h, --help 
  24. #             Print this help message. 
  25.  
  26. #         --log-level <LOG_LEVEL> 
  27. #             Set the log output verbosity. [possible values: trace, debug, info, warn, error] 
  28.  
  29. #         --url <URL> 
  30. #             Fully qualified URL to the Sentry server. 
  31. #             [defaults to https://sentry.io/] 
  32. #     -V, --version 
  33. #             Print version information. 
  34.  
  35.  
  36. # SUBCOMMANDS: 
  37. #     bash-hook          Prints out a bash script that does error handling. 
  38. #     difutil            Locate or analyze debug information files. 
  39. #     help               Prints this message or the help of the given subcommand(s) 
  40. #     info               Print information about the Sentry server. 
  41. #     issues             Manage issues in Sentry. 
  42. #     login              Authenticate with the Sentry server. 
  43. #     projects           Manage projects on Sentry. 
  44. #     react-native       Upload build artifacts for react-native projects. 
  45. #     releases           Manage releases on Sentry. 
  46. #     repos              Manage repositories on Sentry. 
  47. #     send-event         Send a manual event to Sentry. 
  48. #     upload-dif         Upload debugging information files. 
  49. #     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.  
  4. [defaults] 
  5. org=sentry 
  6. project=react-sentry-demo 
  7. 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.  
  3. sentry-cli releases new 1.0.0 

Refs

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

 

責(zé)任編輯:武曉燕 來(lái)源: 黑客下午茶
相關(guān)推薦

2021-09-01 19:33:41

Source SentryDocker

2021-09-08 09:22:34

SentryCLIOS

2020-11-06 08:54:43

Vue 3.0函數(shù)代碼

2022-02-23 20:38:32

云原生集群Postgres

2022-06-28 12:35:21

DockerPython

2023-02-16 08:26:41

2022-03-04 16:06:33

數(shù)據(jù)庫(kù)HarmonyOS鴻蒙

2021-01-27 18:15:01

Docker底層宿主機(jī)

2013-08-12 17:27:53

遠(yuǎn)程控制軟件

2020-10-14 11:31:41

Docker

2024-09-09 09:17:00

2020-07-17 07:44:25

云計(jì)算邊緣計(jì)算IT

2020-10-30 15:04:16

開(kāi)發(fā)技能代碼

2017-09-09 13:29:22

ARCoreAndroid移動(dòng)設(shè)備

2013-06-27 09:41:19

LuaLua語(yǔ)言Lua語(yǔ)言快速入門(mén)

2023-09-11 08:25:57

PythonPyQt

2023-09-08 07:54:01

TkinterPython

2015-11-23 17:34:33

秒借

2018-03-12 21:31:24

區(qū)塊鏈

2019-07-09 14:42:17

SQLexplain索引
點(diǎn)贊
收藏

51CTO技術(shù)棧公眾號(hào)