Skip to content

Commit fe006df

Browse files
committed
Remove lanes which interacted with CircleCI
1 parent a604d97 commit fe006df

File tree

2 files changed

+2
-20
lines changed

2 files changed

+2
-20
lines changed

fastlane/lanes/localization.rb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
# NOTE: When updating this list, ensure the locales having `promo_config: {…}` matches the list of locales
2-
# used in the `raw-screenshots` job (see `.circleci/config.yml`) by Firebase Test Lab
2+
# used in the `raw-screenshots` CI job for Firebase Test Lab
33
#
44
# NOTE: The `promo_config` hash is used by `fastlane/helpers/android_promo_screenshot_helper.rb` and accepts keys `:text_size` and `:font`.
55
# When set to `false`, the locale will just not be included during the screenshot generation (see `lanes/screenshots.rb`).

fastlane/lanes/screenshots.rb

Lines changed: 1 addition & 19 deletions
Original file line numberDiff line numberDiff line change
@@ -64,8 +64,7 @@
6464
rebuild_screenshot_devices
6565

6666
# 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)
6968
screenshot_devices = [
7069
{
7170
screenshot_type: 'phone',
@@ -155,28 +154,11 @@
155154
end
156155

157156

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-
174157

175158
#####################################################################################
176159
# download_raw_screenshots
177160
# -----------------------------------------------------------------------------------
178161
# 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
180162
# -----------------------------------------------------------------------------------
181163
# Usage:
182164
# fastlane download_raw_screenshots bucket:<gs-url> phone:<model-version> tenInch:<model-version>

0 commit comments

Comments
 (0)