Skip to content

Commit c02aa61

Browse files
authored
Merge pull request #17049 from wordpress-mobile/tooling/cleanup-circleci
[Tooling] Cleanup last leftovers of CircleCI configs
2 parents 266b022 + e94c3bc commit c02aa61

File tree

6 files changed

+6
-283
lines changed

6 files changed

+6
-283
lines changed

.circleci/.firebase.secrets.json.enc

-2.34 KB
Binary file not shown.

.circleci/config.yml

Lines changed: 0 additions & 256 deletions
This file was deleted.

README.md

Lines changed: 2 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,7 @@
11
# WordPress for Android #
22

3-
[![CircleCI](https://circleci.com/gh/wordpress-mobile/WordPress-Android.svg?style=svg)](https://circleci.com/gh/wordpress-mobile/WordPress-Android)
4-
5-
If you're just looking to install WordPress for Android, you can find
6-
it on [Google Play](https://play.google.com/store/apps/details?id=org.wordpress.android&referrer=utm_source%3Dgithub%26utm_medium%3Dwebsite). If you're a developer wanting to contribute, read on.
7-
3+
If you're just looking to install WordPress for Android, you can find it on [Google Play](https://play.google.com/store/apps/details?id=org.wordpress.android&referrer=utm_source%3Dgithub%26utm_medium%3Dwebsite).
4+
If you're a developer wanting to contribute, read on.
85

96
## Build Instructions ##
107

fastlane/env/user.env-example

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,3 @@
1-
GHHELPER_ACCESS=<GitHub access token>
1+
GITHUB_TOKEN=<GitHub access token>
22
PLAYSTORE_SERVICE_API_KEY=<Path to the JSON file with the API Key>
3-
CIRCLE_CI_AUTH_TOKEN=<CircleCI Auth Token>
3+
BUILDKITE_TOKEN=<Buildkite Auth Token — create yours at https://buildkite.com/user/api-access-tokens>

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)