-
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 branch 'trunk' into update/improve-image-blocks-processor
# Conflicts: # WordPress/Classes/Services/PostCoordinator.swift
- Loading branch information
Showing
464 changed files
with
29,322 additions
and
16,710 deletions.
There are no files selected for viewing
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
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 |
---|---|---|
@@ -1,42 +1,18 @@ | ||
# This pipeline is meant to be run via the Buildkite API, and is only used for release builds | ||
|
||
# Nodes with values to reuse in the pipeline. | ||
common_params: | ||
# Common plugin settings to use with the `plugins` key. | ||
- &common_plugins | ||
- automattic/a8c-ci-toolkit#3.1.0 | ||
- automattic/git-s3-cache#1.1.4: | ||
bucket: "a8c-repo-mirrors" | ||
repo: "automattic/wordpress-ios/" | ||
# Common environment values to use with the `env` key. | ||
- &common_env | ||
# Be sure to also update the `.xcode-version` file when updating the Xcode image/version here | ||
IMAGE_ID: xcode-15.1 | ||
env: | ||
IMAGE_ID: $IMAGE_ID | ||
|
||
steps: | ||
|
||
- label: ":wordpress: :testflight: WordPress Release Build (App Store Connect)" | ||
command: ".buildkite/commands/release-build-wordpress.sh $BETA_RELEASE" | ||
# The TestFlight build has a priority of 2 so that it is higher than the AppCenter build | ||
priority: 2 | ||
env: *common_env | ||
plugins: *common_plugins | ||
notify: | ||
- slack: "#build-and-ship" | ||
|
||
- label: ":wordpress: :appcenter: WordPress Release Build (App Center)" | ||
command: ".buildkite/commands/release-build-wordpress-internal.sh" | ||
priority: 1 | ||
env: *common_env | ||
plugins: *common_plugins | ||
plugins: [$CI_TOOLKIT_PLUGIN] | ||
notify: | ||
- slack: "#build-and-ship" | ||
|
||
- label: ":jetpack: :testflight: Jetpack Release Build (App Store Connect)" | ||
command: ".buildkite/commands/release-build-jetpack.sh" | ||
# The TestFlight build has a priority of 2 so that it is higher than the AppCenter build | ||
priority: 2 | ||
env: *common_env | ||
plugins: *common_plugins | ||
plugins: [$CI_TOOLKIT_PLUGIN] | ||
notify: | ||
- slack: "#build-and-ship" |
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 |
---|---|---|
@@ -1,26 +1,17 @@ | ||
common_params: | ||
# Common plugin settings to use with the `plugins` key. | ||
- &common_plugins | ||
- automattic/a8c-ci-toolkit#3.1.0 | ||
# Common environment values to use with the `env` key. | ||
- &common_env | ||
# Be sure to also update the `.xcode-version` file when updating the Xcode image/version here | ||
IMAGE_ID: xcode-15.1 | ||
env: | ||
IMAGE_ID: $IMAGE_ID | ||
|
||
# The code freeze completion needs to run on macOS because it uses genstrings under the hood | ||
agents: | ||
queue: mac | ||
|
||
steps: | ||
- label: Complete Code Freeze | ||
key: complete_code_freeze | ||
plugins: *common_plugins | ||
env: *common_env | ||
# The code freeze completion needs to run on macOS because it uses genstrings under the hood | ||
agents: | ||
queue: mac | ||
plugins: [$CI_TOOLKIT_PLUGIN] | ||
command: ".buildkite/commands/complete-code-freeze.sh $RELEASE_VERSION" | ||
|
||
- label: Log Outdated Pods | ||
depends_on: complete_code_freeze | ||
plugins: *common_plugins | ||
env: *common_env | ||
agents: | ||
queue: mac | ||
plugins: [$CI_TOOLKIT_PLUGIN] | ||
command: ".buildkite/commands/log-outdated-pods.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 |
---|---|---|
@@ -1,10 +1,10 @@ | ||
steps: | ||
- label: Finalize Release | ||
plugins: | ||
- automattic/a8c-ci-toolkit#3.1.0 | ||
- $CI_TOOLKIT_PLUGIN | ||
# The finalization needs to run on macOS because of localization linting | ||
agents: | ||
queue: mac | ||
env: | ||
IMAGE_ID: xcode-15.1 | ||
IMAGE_ID: $IMAGE_ID | ||
command: ".buildkite/commands/finalize-hotfix.sh $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 |
---|---|---|
@@ -1,10 +1,10 @@ | ||
steps: | ||
- label: Finalize Release | ||
plugins: | ||
- automattic/a8c-ci-toolkit#3.1.0 | ||
- $CI_TOOLKIT_PLUGIN | ||
# The finalization needs to run on macOS because of localization linting | ||
agents: | ||
queue: mac | ||
env: | ||
IMAGE_ID: xcode-15.1 | ||
IMAGE_ID: $IMAGE_ID | ||
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
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,10 @@ | ||
#!/bin/sh | ||
|
||
# This file is `source`'d before calling `buildkite-agent pipeline upload`, and can be used | ||
# to set up some variables that will be interpolated in the `.yml` pipeline before uploading it. | ||
|
||
# The ~> modifier is not currently used, but we check for it just in case | ||
XCODE_VERSION=$(sed -E -n 's/^(~> )?(.*)/xcode-\2/p' .xcode-version) | ||
export IMAGE_ID="$XCODE_VERSION" | ||
|
||
export CI_TOOLKIT_PLUGIN="automattic/a8c-ci-toolkit#3.3.0" |
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 |
---|---|---|
@@ -1,13 +1,17 @@ | ||
name: ☢️ Danger | ||
name: ☢️ Trigger Danger On Buildkite | ||
|
||
on: | ||
pull_request: | ||
types: [opened, reopened, ready_for_review, synchronize, edited, labeled, unlabeled, milestoned, demilestoned] | ||
types: [labeled, unlabeled, milestoned, demilestoned] | ||
|
||
jobs: | ||
dangermattic: | ||
# runs on draft PRs only for opened / synchronize events | ||
if: ${{ (github.event.pull_request.draft == false) || (github.event.pull_request.draft == true && contains(fromJSON('["opened", "synchronize"]'), github.event.action)) }} | ||
uses: Automattic/dangermattic/.github/workflows/reusable-run-danger.yml@v1.0.0 | ||
if: ${{ (github.event.pull_request.draft == false) }} | ||
uses: Automattic/dangermattic/.github/workflows/reusable-retry-buildkite-step-on-events.yml@v1.1.0 | ||
with: | ||
org-slug: "automattic" | ||
pipeline-slug: "wordpress-ios" | ||
retry-step-key: "danger" | ||
build-commit-sha: "${{ github.event.pull_request.head.sha }}" | ||
secrets: | ||
github-token: ${{ secrets.DANGERMATTIC_GITHUB_TOKEN }} | ||
buildkite-api-token: ${{ secrets.TRIGGER_BK_BUILD_TOKEN }} |
Oops, something went wrong.