[Tooling] Add Buildkite release pipelines and fastlane lanes for ReleasesV2#2583
Draft
[Tooling] Add Buildkite release pipelines and fastlane lanes for ReleasesV2#2583
Conversation
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
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
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.
Fixes AINFRA-1806, AINFRA-1943
ReleasesV2 PR: https://github.a8c.com/Automattic/wpcom/pull/203624
Proposed changes
Adds CI automation for Studio releases, to be triggered from ReleasesV2. This is the companion PR to the wpcom ReleasesV2 configuration PR.
Fastlane lanes added
code_freeze— Creates release branch from trunk, extracts translatable strings, delegates tonew_beta_releasenew_beta_release— Bumps beta version, commits, pushes, creates GitHub prerelease, triggers release buildfinalize_release— Bumps to final version, creates draft GitHub release, triggers release buildpublish_release— Publishes draft GitHub release, creates backmerge PR to trunknew_hotfix_release— Creates hotfix branch from latest release tag, bumps versiondistribute_release_build— Distributes build artifacts (called from release-build-and-distribute pipeline)Buildkite pipelines added
release-pipelines/code-freeze.ymlrelease-pipelines/new-beta-release.ymlrelease-pipelines/finalize-release.ymlrelease-pipelines/publish-release.ymlrelease-pipelines/download-translations.ymlrelease-pipelines/new-hotfix-release.ymlrelease-build-and-distribute.yml— Build jobs extracted from the mainpipeline.ymland triggered by Fastlane lanes to build Mac/Windows artifacts and distribute.How it works
ReleasesV2 triggers a Buildkite build with a
PIPELINEenv var pointing to the release pipeline YAML added in this PR. The release pipeline runs the corresponding Fastlane lane.For lanes that produce builds (
code_freeze,new_beta_release,finalize_release), we usebuildkite_add_trigger_stepto trigger a separaterelease-build-and-distributebuild that handles Mac/Windows builds and artifact distribution.Testing instructions
code_freeze) locally (withoutskip_confirm) to verify prompts and flow