Created
June 21, 2018 11:39
-
-
Save niwatako/add47ca7ad268383e85dda3ad94377d9 to your computer and use it in GitHub Desktop.
Tips for Bitrise #CodePiece #potatotips
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
potatotips #52 (iOS/Android開発Tips共有会) - connpass | |
https://potatotips.connpass.com/event/88164/ | |
## @shaunkawano へいへい Tips for Bitrise Android Android @shaunkawano | |
タップル誕生のサービスに携わっていて、Android開発でBitrise使っているので、事例やハマったことを話します。 | |
コード例でますが、もっと良い書き方あったら教えてください。 | |
モバイル開発に重きをおいたCIサービス。 | |
もともとCircleCIを使っていた。問題としてメモリが足りなくて落ちる。 | |
独自スクリプト管理をしていたけどできればやりたくない、 | |
そこでBitrise。 | |
メモリ足りなくて失敗する問題はなくなった。fastlaneをつかって独自Scriptなくした。 | |
Gitからコミットしたタイミングでbitrize.ymlのタスクを実行する | |
Bitrise.ioとGithubでyml管理していると、タグが切られたときになにかしたいとしていたとき、 | |
PushやPRのところだけ見ていたところでTagが来たらCloneしてリポジトリのBitriseを実行するというコードを書いたけど、これだと、本来ローカル(リポジトリ用)のBitriseではPushが来た判定になる。 | |
ギットリポジトリ内のTagに対応するトリガが反応してくれない。 | |
Bitriseトリガーのヘルプを見ると、タグを渡せるらしいので、 | |
`bitrise trigger --tag ` | |
今のところうまく動いている | |
タグが切られたタイミングでドラフトリリース作って署名付きアプリをアップロードする。 | |
レポジトリではファイルダウンローダの機能を使ってgradleとkeystoreをとってきて署名 | |
gradleファイルやgemのキャッシュ、スクショ自動化などをしたい | |
- BitriseとFastlaneの組み合わせ良い | |
- file downloader早くてよかった |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment