|
64 | 64 | rebuild_screenshot_devices
|
65 | 65 |
|
66 | 66 | # If you update this, be sure to also update the `rebuild_screenshot_devices` lane down below as well as the corresponding `fastlane/emulators/*.ini` config files.
|
67 |
| - # You might also want to mirror the changes of emulators used here with the ones used on Firebase Test Lab (when running on CI via `trigger_screenshots` lane), |
68 |
| - # by updating the 2 places in the `raw-screenshots` job of `.circleci/config.yml` mentioning the devices used by FTL for screenshots |
| 67 | + # You might also want to mirror the changes of emulators used here with the ones used on Firebase Test Lab (when running screenshots on CI) |
69 | 68 | screenshot_devices = [
|
70 | 69 | {
|
71 | 70 | screenshot_type: 'phone',
|
|
155 | 154 | end
|
156 | 155 |
|
157 | 156 |
|
158 |
| - ##################################################################################### |
159 |
| - # trigger_screenshots |
160 |
| - # ----------------------------------------------------------------------------------- |
161 |
| - # This lane triggers a CircleCI workflow on demand to generate Raw and Promo screenshots |
162 |
| - # ----------------------------------------------------------------------------------- |
163 |
| - # Usage: |
164 |
| - # bundle exec fastlane trigger_screenshots [token:<circleci_token>] [fork:<github_fork_name>] [branch:<git_branch> |
165 |
| - # Notes: |
166 |
| - # - The CircleCI token can be passed via the CIRCLECI_TOKEN env var instead of as a parameter to the lane call |
167 |
| - # - The fork parameter allows us to trigger a build on a fork of WPAndroid instead of the default repo on `wordpress-mobile` org. |
168 |
| - ##################################################################################### |
169 |
| - lane :trigger_screenshots do |options| |
170 |
| - new_options = options.merge({ parameters: { "generate_screenshots": true } }) |
171 |
| - trigger_ci(new_options) |
172 |
| - end |
173 |
| - |
174 | 157 |
|
175 | 158 | #####################################################################################
|
176 | 159 | # download_raw_screenshots
|
177 | 160 | # -----------------------------------------------------------------------------------
|
178 | 161 | # This lane downloads the raw screenshots generated by a Firebase Test Lab run.
|
179 |
| - # Typically called by CI at the end of the workflow triggered by trigger_screenshots |
180 | 162 | # -----------------------------------------------------------------------------------
|
181 | 163 | # Usage:
|
182 | 164 | # fastlane download_raw_screenshots bucket:<gs-url> phone:<model-version> tenInch:<model-version>
|
|
0 commit comments