This repository was archived by the owner on Aug 21, 2025. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 1
[Tooling] Add initial release lane setup #86
Merged
Merged
Changes from all commits
Commits
Show all changes
22 commits
Select commit
Hold shift + click to select a range
110a9d7
Add methods to manage versioning
iangmaia 053a451
Add lanes for building and uploading app releases
iangmaia dd2069b
Add pipelines and automation to trigger a new alpha and to build rele…
iangmaia 69666a4
Use require_env_vars! to validate required ENV vars when building a p…
iangmaia 0b38724
Improve release lanes to better run locally
iangmaia 5880bdd
Improve lane defaults for releasing
iangmaia 413c03c
Move helper functions to end of file after platform
iangmaia e39e4c9
[skip ci] Bump build code
iangmaia ebef7ba
Update code to only specify a rollout when the track isn't draft
iangmaia 5fbbf08
[skip ci] Bump build code
iangmaia 0282ff7
[skip ci] Bump build code
36516ed
Apply suggestions from code review
iangmaia f57f31c
Use new name for the Play Store Upload Key in the environment vars
iangmaia d5b7e5d
Add more detailed Yard docs
iangmaia 584f38f
Use `DerivedBuildCodeFormatter` for build code calculations
iangmaia ded34f8
[skip ci] Bump build code
iangmaia fb5bbcf
Upload to internal track with full rollout
iangmaia 66f8616
Update release-toolkit
iangmaia da88418
Update build code formatter init
iangmaia c3090ac
Use version 0.21, given the build code `100020001` (0.20 in the new v…
iangmaia ca3fc2e
[skip ci] Bump build code
iangmaia 9a5011e
Improve comment
iangmaia File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
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
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,10 @@ | ||
| #!/bin/bash -eu | ||
|
|
||
| echo "--- :rubygems: Setting up Gems" | ||
| install_gems | ||
|
|
||
| echo "--- :closed_lock_with_key: Installing Secrets" | ||
| bundle exec fastlane run configure_apply | ||
|
|
||
| echo "--- :hammer_and_wrench: Building and Uploading to Play Store" | ||
| bundle exec fastlane build_and_upload_to_play_store track:'internal' release_status:'completed' |
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
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
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,32 @@ | ||
| # yaml-language-server: $schema=https://raw.githubusercontent.com/buildkite/pipeline-schema/main/schema.json | ||
| --- | ||
|
|
||
| # This pipeline is meant to be run via the action `buildkite_add_trigger_step`, which calls the buildkite-agent to add it as a trigger step | ||
|
|
||
| agents: | ||
| queue: "android" | ||
|
|
||
| steps: | ||
| - label: Gradle Wrapper Validation | ||
| command: validate_gradle_wrapper | ||
| priority: 1 | ||
| agents: | ||
| queue: linter | ||
|
|
||
| # Wait for Gradle Wrapper to be validated | ||
| - wait | ||
|
|
||
| - label: 🕵️♂️ Lint | ||
| command: ./gradlew lintRelease | ||
| key: lint | ||
| plugins: [$CI_TOOLKIT] | ||
| artifact_paths: | ||
| - "**/build/reports/lint-results*.*" | ||
|
|
||
| - label: ":hammer_and_wrench: :android: Build Release and Upload to Play Store" | ||
| command: .buildkite/commands/release-build.sh | ||
| priority: 1 | ||
| depends_on: lint | ||
| plugins: [$CI_TOOLKIT] | ||
| artifact_paths: | ||
| - "app/build/outputs/bundle/release/*.aab" |
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
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,18 @@ | ||
| # yaml-language-server: $schema=https://raw.githubusercontent.com/buildkite/pipeline-schema/main/schema.json | ||
| --- | ||
|
|
||
| steps: | ||
| - label: ":rocket: New Alpha Release" | ||
| key: new-alpha-release | ||
| plugins: [$CI_TOOLKIT] | ||
| command: | | ||
| echo "--- :robot_face: Use bot for Git operations" | ||
| source use-bot-for-git | ||
|
|
||
| echo "--- :ruby: Setup Ruby Tools" | ||
| install_gems | ||
|
|
||
| echo "--- :rocket: Create New Alpha" | ||
| bundle exec fastlane new_alpha_release skip_confirm:true | ||
| agents: | ||
| queue: tumblr-metal | ||
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
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
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This pipeline is to start the alpha release process completely from CI (eventually from ReleasesV2).