-
Notifications
You must be signed in to change notification settings - Fork 1.1k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge remote trunk into fix/please-adopt-container-background-api-for…
…-widgets-xcode-15-ios-17 This is necessary to get up to date with a CI configuration change that requires running on Xcode 15.1. See #22270
- Loading branch information
Showing
253 changed files
with
1,396 additions
and
2,065 deletions.
There are no files selected for viewing
This file contains 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 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,14 @@ | ||
#!/bin/bash -eu | ||
|
||
RELEASE_NUMBER=$1 | ||
|
||
if [[ -z "${RELEASE_NUMBER}" ]]; then | ||
echo "Usage $0 <release number, e.g. 1.2.3>" | ||
exit 1 | ||
fi | ||
|
||
# Buildkite, by default, checks out a specific commit. | ||
# For many release actions, we need to be on a release branch instead. | ||
BRANCH_NAME="release/${RELEASE_NUMBER}" | ||
git fetch origin "$BRANCH_NAME" | ||
git checkout "$BRANCH_NAME" |
This file contains 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,23 @@ | ||
#!/bin/bash -eu | ||
|
||
RELEASE_NUMBER=$1 | ||
|
||
if [[ -z "${RELEASE_NUMBER}" ]]; then | ||
echo "Usage $0 <release number>" | ||
exit 1 | ||
fi | ||
|
||
echo '--- :git: Configure Git for release management' | ||
.buildkite/commands/configure-git-for-release-management.sh | ||
|
||
echo '--- :git: Checkout release branch' | ||
.buildkite/commands/checkout-release-branch.sh "$RELEASE_NUMBER" | ||
|
||
echo '--- :ruby: Setup Ruby tools' | ||
install_gems | ||
|
||
echo '--- :closed_lock_with_key: Access secrets' | ||
bundle exec fastlane run configure_apply | ||
|
||
echo '--- :shipit: Complete code freeze' | ||
bundle exec fastlane complete_code_freeze skip_confirm:true |
13 changes: 13 additions & 0 deletions
13
.buildkite/commands/configure-git-for-release-management.sh
This file contains 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,13 @@ | ||
#!/bin/bash -eu | ||
|
||
# The Git command line client is not configured in Buildkite. | ||
# At the moment, steps that need Git access can configure it on deman using this script. | ||
# Later on, we should be able to configure it on the agent instead. | ||
|
||
curl -L https://api.github.com/meta | jq -r '.ssh_keys | .[]' | sed -e 's/^/github.com /' >> ~/.ssh/known_hosts | ||
git config --global user.email "mobile+wpmobilebot@automattic.com" | ||
git config --global user.name "Automattic Release Bot" | ||
|
||
# Buildkite is currently using the HTTPS URL to checkout. | ||
# We need to override it to be able to use the deploy key. | ||
git remote set-url origin git@github.com:wordpress-mobile/WordPress-iOS.git |
This file contains 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,23 @@ | ||
#!/bin/bash -eu | ||
|
||
RELEASE_NUMBER=$1 | ||
|
||
if [[ -z "${RELEASE_NUMBER}" ]]; then | ||
echo "Usage $0 <release number>" | ||
exit 1 | ||
fi | ||
|
||
echo '--- :git: Configure Git for release management' | ||
.buildkite/commands/configure-git-for-release-management.sh | ||
|
||
echo '--- :git: Checkout release branch' | ||
.buildkite/commands/checkout-release-branch.sh "$RELEASE_NUMBER" | ||
|
||
echo '--- :ruby: Setup Ruby tools' | ||
install_gems | ||
|
||
echo '--- :closed_lock_with_key: Access secrets' | ||
bundle exec fastlane run configure_apply | ||
|
||
echo '--- :shipit: Finalize release' | ||
bundle exec fastlane finalize_release skip_confirm:true |
This file contains 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 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 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,20 @@ | ||
steps: | ||
- label: Code Freeze | ||
plugins: | ||
- automattic/a8c-ci-toolkit#2.18.2 | ||
# The first client to implement releases in CI was Android so the automation works in that queue. | ||
# We might want to move it to a leaner one in the future. | ||
agents: | ||
queue: android | ||
command: | | ||
echo '--- :git: Configure Git for release management' | ||
.buildkite/commands/configure-git-for-release-management.sh | ||
echo '--- :ruby: Setup Ruby tools' | ||
install_gems | ||
echo '--- :closed_lock_with_key: Access secrets' | ||
bundle exec fastlane run configure_apply | ||
echo '--- :shipit: Run code freeze' | ||
bundle exec fastlane code_freeze skip_confirm:true |
This file contains 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 @@ | ||
steps: | ||
- label: Complete Code Freeze | ||
plugins: | ||
- automattic/a8c-ci-toolkit#2.18.2 | ||
# The code freeze completion needs to run on macOS because it uses genstrings under the hood | ||
agents: | ||
queue: mac | ||
env: | ||
IMAGE_ID: xcode-14.3.1 | ||
command: ".buildkite/commands/complete-code-freeze.sh $RELEASE_VERSION" |
This file contains 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 @@ | ||
steps: | ||
- label: Finalize Release | ||
plugins: | ||
- automattic/a8c-ci-toolkit#2.18.2 | ||
# The finalization needs to run on macOS because of localization linting | ||
agents: | ||
queue: mac | ||
env: | ||
IMAGE_ID: xcode-14.3.1 | ||
command: ".buildkite/commands/finalize-release.sh $RELEASE_VERSION" |
This file contains 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,21 @@ | ||
steps: | ||
- label: New Beta Deployment | ||
plugins: | ||
- automattic/a8c-ci-toolkit#2.18.2 | ||
# The beta needs to run on macOS because it uses genstrings under the hood | ||
agents: | ||
queue: mac | ||
env: | ||
IMAGE_ID: xcode-14.3.1 | ||
command: | | ||
echo '--- :git: Configure Git for release management' | ||
.buildkite/commands/configure-git-for-release-management.sh | ||
echo '--- :ruby: Setup Ruby tools' | ||
install_gems | ||
echo '--- :closed_lock_with_key: Access secrets' | ||
bundle exec fastlane run configure_apply | ||
echo '--- :shipit: Deploy new beta' | ||
bundle exec fastlane new_beta_release skip_confirm:true |
This file contains 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,20 @@ | ||
steps: | ||
- label: Update App Store Strings | ||
plugins: | ||
- automattic/a8c-ci-toolkit#2.18.2 | ||
# The first client to implement releases in CI was Android so the automation works in that queue. | ||
# We might want to move it to a leaner one in the future. | ||
agents: | ||
queue: android | ||
command: | | ||
echo '--- :git: Configure Git for release management' | ||
.buildkite/commands/configure-git-for-release-management.sh | ||
echo '--- :ruby: Setup Ruby tools' | ||
install_gems | ||
echo '--- :closed_lock_with_key: Access secrets' | ||
bundle exec fastlane run configure_apply | ||
echo '--- :shipit: Update relaese notes and other App Store metadata' | ||
bundle exec fastlane update_appstore_strings skip_confirm:true |
This file contains 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 |
---|---|---|
@@ -1 +1 @@ | ||
14.3.1 | ||
15.1 |
This file contains 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 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 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.