Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Release 1.59.0 #3805

Merged
merged 193 commits into from
Aug 6, 2021
Merged
Show file tree
Hide file tree
Changes from 191 commits
Commits
Show all changes
193 commits
Select commit Hold shift + click to select a range
37b46e0
Bump Gutenberg
Apr 19, 2021
79f4396
Bump Gutenberg
Apr 29, 2021
dfaf41f
Merge branch 'develop' into add-featured-badge-ios
Apr 29, 2021
5c29ad0
Bump Gutenberg
Apr 29, 2021
a2af424
Bump Gutenberg
Apr 30, 2021
b79ada8
Bump Gutenberg
Apr 30, 2021
207bb22
Update RELEASE-NOTES.txt with relevant details of changes
May 3, 2021
eb91472
Bump Gutenberg
May 3, 2021
ffa4618
Bump Gutenberg
May 3, 2021
f8b26d9
Bump Gutenberg
May 3, 2021
afa38e0
Bundle changes
May 5, 2021
a06f1c1
Merge branch 'develop' into add/featured-functionality-to-image-block…
May 5, 2021
7a4cedd
Bump Gutenberg
May 5, 2021
4e2d7ef
Merge branch 'add/featured-functionality-to-image-block-ios' into add…
May 5, 2021
53e479c
Merge branch 'add-featured-badge-ios' of https://github.com/wordpress…
May 5, 2021
3f52884
Create bundle
May 5, 2021
8f1ad7d
Merge branch 'add-featured-badge-ios' of https://github.com/wordpress…
May 5, 2021
9c745aa
Bump Gutenberg
May 5, 2021
9478d7b
Create bundle
May 5, 2021
6890ee4
Bump Gutenberg
May 6, 2021
9b1b5a9
Fix changes to package-lock.json
May 6, 2021
18aa6d0
Merge pull request #3390 from wordpress-mobile/add-featured-badge-ios
SiobhyB May 6, 2021
8bef375
Bump Gutenberg
May 6, 2021
1418e52
Merge branch 'develop' into add/featured-functionality-to-image-block…
May 13, 2021
b0b46b7
Bump Gutenberg
May 13, 2021
6f4644e
Merge branch 'develop' into add/set-as-featured-button-ios
May 13, 2021
3164ec4
Merge branch 'develop' into add/featured-functionality-to-image-block…
May 21, 2021
7dde1e9
Bump Gutenberg
May 30, 2021
930b0b9
Merge branch 'develop' into add/featured-functionality-to-image-block…
May 30, 2021
a401d42
Merge branch 'add/featured-functionality-to-image-block-ios' into add…
May 30, 2021
b32c090
Bump Gutenberg
May 30, 2021
222548d
Generate bundle for iOS
May 30, 2021
db88d97
Merge branch 'develop' into add/featured-functionality-to-image-block…
Jun 2, 2021
de47fe4
Merge branch 'add/featured-functionality-to-image-block-ios' into add…
Jun 2, 2021
98f1185
Bundle changes
Jun 3, 2021
5db26a0
Bump Gutenberg
Jun 3, 2021
8a250e6
Bump Gutenberg
Jun 3, 2021
6a5a89f
Merge branch 'develop' into add/featured-functionality-to-image-block…
Jun 4, 2021
c13c348
Merge branch 'add/featured-functionality-to-image-block-ios' into add…
Jun 4, 2021
8bccd00
Correct merge conflict
Jun 4, 2021
42d3881
Bundle changes
Jun 4, 2021
d702eae
BuildKite integration for 'Build React Native Bridge & Upload to S3'
oguzkocer Jun 11, 2021
dd0751b
Update gb hash that removes submodule check for android artifacts
oguzkocer Jun 13, 2021
f4130c8
Fix publish-aztec-and-bridge version name in buildkite
oguzkocer Jun 13, 2021
14e2d8f
Npm ci prefer offline
oguzkocer Jun 15, 2021
b7f2762
Only run npm actions in BuildKite
oguzkocer Jun 15, 2021
3f98af7
Publish android artifacts from BuildKite
oguzkocer Jun 15, 2021
b8dd4e0
Update gutenberg hash that removes copy bundle step for react-native-…
oguzkocer Jun 15, 2021
4b66a74
Update BuildKite to a multi-step process
oguzkocer Jun 15, 2021
41f6def
Add dependency between BuildKite steps
oguzkocer Jun 15, 2021
e001199
Pass AWS access and secret key to Docker container in BuildKite
oguzkocer Jun 15, 2021
a6054bd
Update Gutenberg hash which temporarily fixes how gradle deps are res…
oguzkocer Jun 15, 2021
80d6afe
Adds date to publish to S3 tasks in CircleCI and BuildKite
oguzkocer Jun 16, 2021
10559f9
Merge branch 'develop' into add/featured-functionality-to-image-block…
Jun 21, 2021
d75f379
Merge branch 'add/featured-functionality-to-image-block-ios' into add…
Jun 21, 2021
90aad8c
Bump Gutenberg
Jun 21, 2021
4ab8279
Bundle changes
Jun 21, 2021
7ea2fee
Merge pull request #3450 from wordpress-mobile/add/set-as-featured-bu…
SiobhyB Jun 25, 2021
cec230e
Bump Gutenberg
Jun 28, 2021
681311a
Bump Gutenberg
Jun 29, 2021
aa6db0d
Merge branch 'develop' into add/featured-functionality-to-image-block…
Jun 29, 2021
51366e4
Update RELEASE-NOTES
Jun 29, 2021
c32c06c
Delete backup/local files
Jun 29, 2021
5c3fa68
Bump Gutenberg
Jun 30, 2021
8ff7e26
Remove bundle files, including dupes
Jun 30, 2021
cfc6468
Merge branch 'develop' into add/featured-functionality-to-image-block…
Jun 30, 2021
0e26ee8
Bundle updates
Jun 30, 2021
61377a6
Merge remote-tracking branch 'origin/develop' into add/buildkite
oguzkocer Jul 1, 2021
6f8f24a
Update Gutenberg hash which contains Android build improvements
oguzkocer Jul 1, 2021
89d2941
Publish android artifacts script moved to gutenberg-mobile
oguzkocer Jul 1, 2021
0bd890d
Rebase gutenberg and update package.json files
oguzkocer Jul 1, 2021
a44d08e
Add CI environment variable to BuildKite
oguzkocer Jul 1, 2021
4afa48a
Manually reset package.json and gutenberg submodule to origin/develop
oguzkocer Jul 1, 2021
849c650
Update Android image for Buildkite
oguzkocer Jul 1, 2021
ae7644e
Update Gutenberg hash which fixes node_modules check in react-native-…
oguzkocer Jul 1, 2021
3c08261
Update kotlin to 1.5.20 in Android projects
oguzkocer Jul 1, 2021
0783751
Add command that forces updating i18n cache
fluiddot Jul 12, 2021
777002b
Fix where the android bundle is copied during Buildkite publishing
oguzkocer Jul 13, 2021
d5edb4d
Update react-native-bridge artifact id to react-native-gutenberg-bridge
oguzkocer Jul 13, 2021
e74df6e
Merge remote-tracking branch 'origin/develop' into improve-android-pr…
oguzkocer Jul 13, 2021
56132d6
Remove publish-aztec-and-bridge.sh from Gutenberg repo
oguzkocer Jul 15, 2021
efe2653
Update gutenberg ref
dcalhoun Jul 12, 2021
654b820
Update gutenberg ref
dcalhoun Jul 12, 2021
55de64b
Update gutenberg ref
dcalhoun Jul 15, 2021
914706e
Update gutenberg ref
dcalhoun Jul 16, 2021
f8f9a13
Generate bundle
dcalhoun Jul 16, 2021
fb49d84
Update gutenberg ref
dcalhoun Jul 16, 2021
2a5240e
Generate bundle
dcalhoun Jul 16, 2021
3007d0a
Update gutenberg ref
dcalhoun Jul 16, 2021
e5d681c
Simplify nvm use in Buildkite pipeline
oguzkocer Jul 17, 2021
a47e2ea
Adds prepare_to_publish_to_s3 params
oguzkocer Jul 17, 2021
54efc62
Use prepare_to_publish_to_s3 script and publish the correct Android v…
oguzkocer Jul 17, 2021
21a94c2
Update android docker image for Buildkite
oguzkocer Jul 20, 2021
1af05c8
Update both Docker images in Buildkite
oguzkocer Jul 20, 2021
cc3a1e0
Re-add AWS_ACCESS_KEY & AWS_SECRET_KEY to Buildkite Docker
oguzkocer Jul 20, 2021
7d1c1e4
Merge remote-tracking branch 'origin/develop' into add/buildkite-inte…
oguzkocer Jul 20, 2021
43cd60a
Removes Android artifact publishing from CircleCI
oguzkocer Jul 20, 2021
bdaff13
Update publish-to-s3 plugin and move Buildkite android publishing to …
oguzkocer Jul 20, 2021
9e56603
Revert prepare_to_publish_to_s3_params change in .buildkite/publish-a…
oguzkocer Jul 20, 2021
15762e9
Update Docker images in Buildkite to production versions
oguzkocer Jul 20, 2021
39c0934
Rebase gutenberg against 5c5ff4dda48293e2803eeffdcce739e0dca12e56 and…
oguzkocer Jul 21, 2021
8991d5b
Update gutenberg submodule ref
mchowning Jul 22, 2021
9e68be4
Merge pull request #3733 from wordpress-mobile/add/buildkite-integrat…
mchowning Jul 22, 2021
db3e1e6
Update Gutenberg reference
Jul 23, 2021
f036cb5
Merge branch 'develop' into merge_release_1.58.0_to_develop
Jul 23, 2021
b5c8bd8
Bump Gutenberg
Jul 23, 2021
e6c6098
Merge pull request #3752 from wordpress-mobile/merge_release_1.58.0_t…
SiobhyB Jul 23, 2021
cc51026
Add a new Buildkite step to publish react-native-aztec Android
oguzkocer Jul 26, 2021
2c8ce18
Rename publish-android-artifacts to publish-react-native-bridge-andro…
oguzkocer Jul 26, 2021
afa3c2e
Extract publish-android-artifacts-docker-container key in .buildkite/…
oguzkocer Jul 26, 2021
312533a
Fix(?) .buildkite/pipeline.yml parse error for extracted key
oguzkocer Jul 26, 2021
ec13ff8
Fix 'BuildKite' spelling error in .buildkite/pipeline.yml
oguzkocer Jul 27, 2021
6107977
Merge pull request #3758 from wordpress-mobile/split-react-native-and…
oguzkocer Jul 27, 2021
b12471d
Add install-node-version CircleCI command
fluiddot Jul 27, 2021
debea91
Add NVM to bash environment
fluiddot Jul 27, 2021
701b65c
Update install nvm command
fluiddot Jul 27, 2021
a0e6f8f
Set buildkite-agent meta-data with a pipe instead of subshell
oguzkocer Jul 28, 2021
0b97c02
Update publish-android-artifacts-docker-container YAML anchor in Buil…
oguzkocer Jul 28, 2021
a85a048
publish-react-native-aztec-android-artifacts is separated into a bash…
oguzkocer Jul 28, 2021
02355c5
Update permissions for .buildkite/publish-react-native-aztec-android-…
oguzkocer Jul 28, 2021
5f2e55e
Update gutenberg ref
dcalhoun Jul 28, 2021
b5cba3b
Update gutenberg ref
dcalhoun Jul 28, 2021
6d4c38b
Generate bundle to remove erroneous code
dcalhoun Jul 28, 2021
5e565b7
Update publish-android-artifacts-docker-container anchor to not captu…
oguzkocer Jul 29, 2021
2364607
Bump Gutenberg hash
hypest Jul 29, 2021
bdf20fb
Bump Gutenberg hash
hypest Jul 29, 2021
ea132a5
Update gutenberg ref
dcalhoun Jul 29, 2021
2fa331c
Update Gutenberg reference
Jul 29, 2021
e11a668
Bump Gutenberg hash
hypest Jul 29, 2021
1b922a2
Merge branch 'develop' into try/bump-saucelabs-caps
hypest Jul 29, 2021
251eed3
Bump Gutenberg
Jul 29, 2021
b7113d4
Bundle updates
Jul 29, 2021
9b9a113
Merge branch 'develop' into add/featured-functionality-to-image-block…
Jul 29, 2021
2c51de9
Bundle changes
Jul 29, 2021
abe509e
Merge pull request #3764 from wordpress-mobile/address-pr-feedback/sp…
oguzkocer Jul 29, 2021
73632d6
Retrigger checks
Jul 30, 2021
9081191
Merge branch 'develop' into merge_release_1.58.1_to_develop
fluiddot Jul 30, 2021
717f444
Update Gutenberg ref with merge commit
fluiddot Jul 30, 2021
229c5d4
Merge pull request #3774 from wordpress-mobile/merge_release_1.58.1_t…
fluiddot Jul 30, 2021
e290bd2
Update gutenberg ref
dcalhoun Jul 30, 2021
741ac8b
Update gutenberg ref
dcalhoun Jul 30, 2021
92bf36c
Merge branch 'develop' of github.com:wordpress-mobile/gutenberg-mobil…
dcalhoun Jul 30, 2021
6cca396
Generate bundle
dcalhoun Jul 30, 2021
1113171
Merge pull request #3717 from wordpress-mobile/add/i18n-cache-force
fluiddot Aug 2, 2021
2baa4dd
Merge pull request #3761 from wordpress-mobile/fix/circleci-node-version
fluiddot Aug 2, 2021
8c8c2b1
Bump Gutenberg
Aug 2, 2021
fb8e3f4
Update RELEASE-NOTES
Aug 2, 2021
f01c07a
Bump Gutenberg
Aug 2, 2021
49c97e6
Merge branch 'develop' into add/featured-functionality-to-image-block…
Aug 2, 2021
a56b62e
Bundle changes
Aug 2, 2021
a9a8114
Merge pull request #3449 from wordpress-mobile/add/featured-functiona…
SiobhyB Aug 2, 2021
4a6886a
Bump Gutenberg
Aug 2, 2021
7611750
Merge branch 'develop' into fix/ube-more-button-android
Aug 2, 2021
4a04a99
Bump Gutenberg
Aug 2, 2021
0db6285
Merge pull request #3771 from wordpress-mobile/fix/ube-more-button-an…
SiobhyB Aug 2, 2021
7e3a17c
Bump to merged-to-trunk Gutenberg hash
hypest Aug 3, 2021
69e6b68
Merge branch 'develop' into try/bump-saucelabs-caps
hypest Aug 3, 2021
11bc196
Merge pull request #3770 from wordpress-mobile/try/bump-saucelabs-caps
hypest Aug 3, 2021
fd19a94
Bump Gutenberg
Aug 3, 2021
b5ea0db
Update gutenberg ref
dcalhoun Aug 3, 2021
f4a2e97
Bump jetpack from `829ee26` to `f57fa1c`
dependabot[bot] Aug 3, 2021
07e8382
Bump Gutenberg
Aug 3, 2021
8322f88
Try unifying the unit test command on mobile
guarani Jul 23, 2021
f4063f5
Bump Gutenberg
Aug 3, 2021
54e749a
Merge pull request #3754 from wordpress-mobile/try/unify-unit-test-cmd
guarani Aug 3, 2021
b1f0aec
Merge pull request #3786 from wordpress-mobile/dependabot/submodules/…
jhnstn Aug 3, 2021
000aa9f
Bump Gutenberg
Aug 3, 2021
6fcbdd8
Merge branch 'develop' into fix/broken-bottom-sheet-text-control
Aug 3, 2021
8c7c1c2
Merge pull request #3784 from wordpress-mobile/fix/broken-bottom-shee…
SiobhyB Aug 3, 2021
97a6f18
Merge branch 'develop' of github.com:wordpress-mobile/gutenberg-mobil…
dcalhoun Aug 3, 2021
0d9d47a
Update gutenberg ref
dcalhoun Aug 3, 2021
c5ae6b9
Generate bundle
dcalhoun Aug 3, 2021
8170c38
Bump jetpack from `f57fa1c` to `94ed69c`
dependabot[bot] Aug 3, 2021
bb2a943
Merge pull request #3720 from wordpress-mobile/add/native-new-block-b…
dcalhoun Aug 3, 2021
005c7de
Temporarily update Buildkite android docker image to 'latest'
oguzkocer Aug 4, 2021
f387cb8
Merge pull request #3791 from wordpress-mobile/update-buildkite-docke…
oguzkocer Aug 4, 2021
4fcf50d
Update Buildkite Android Docker image to v1.1.0
oguzkocer Aug 4, 2021
b2b8b23
Merge branch 'develop' into merge_release_1.58.2_to_develop
Aug 4, 2021
d57b28c
Bundle updates
Aug 4, 2021
9dcdc9f
Bump Gutenberg
Aug 4, 2021
6ae5234
Merge pull request #3797 from wordpress-mobile/merge_release_1.58.2_t…
SiobhyB Aug 4, 2021
f1a15e7
Merge pull request #3789 from wordpress-mobile/dependabot/submodules/…
jhnstn Aug 4, 2021
d215136
Merge pull request #3794 from wordpress-mobile/update-buildkite-docke…
oguzkocer Aug 5, 2021
97eb312
Bump block-experiments from `79b49e4` to `907deac`
dependabot[bot] Aug 5, 2021
2c1dc64
Bump jetpack from `94ed69c` to `3ec4ba6`
dependabot[bot] Aug 5, 2021
c283438
Merge pull request #3803 from wordpress-mobile/dependabot/submodules/…
jhnstn Aug 5, 2021
1facb0b
Merge pull request #3751 from wordpress-mobile/dependabot/submodules/…
jhnstn Aug 5, 2021
825e8b7
Release script: Update gb mobile version to 1.59.0
jhnstn Aug 5, 2021
e54e486
Release script: Update gutenberg ref
jhnstn Aug 5, 2021
465c791
Release script: Update bundle for: 1.59.0
jhnstn Aug 5, 2021
90f8171
Update release notes
jhnstn Aug 5, 2021
f5f57e2
Reinstate Unreleased heading
dcalhoun Aug 6, 2021
2ba47f7
Update gutenberg ref
dcalhoun Aug 6, 2021
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
45 changes: 45 additions & 0 deletions .buildkite/pipeline.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,45 @@
x-common-params:
&publish-android-artifacts-docker-container
docker#v3.8.0:
image: "public.ecr.aws/automattic/android-build-image:v1.1.0"
propagate-environment: true
environment:
# DO NOT MANUALLY SET THESE VALUES!
# They are passed from the Buildkite agent to the Docker container
- "AWS_ACCESS_KEY"
- "AWS_SECRET_KEY"

steps:
- label: "Bundle Android"
key: "bundle-android"
plugins:
- docker#v3.8.0:
image: "public.ecr.aws/automattic/gb-mobile-image:latest"
environment:
- "CI=true"
command: |
source /root/.bashrc

pushd gutenberg && nvm install && nvm use && popd
npm ci --unsafe-perm --prefer-offline --no-audit --no-progress

npm run prebundle:js
npm run bundle:android

buildkite-agent artifact upload bundle/android/App.js

- label: "Build Android RN Aztec & Publish to S3"
key: "publish-react-native-aztec-android"
plugins:
- *publish-android-artifacts-docker-container
command: |
.buildkite/publish-react-native-aztec-android-artifacts.sh

- label: "Build Android RN Bridge & Publish to S3"
depends_on:
- "bundle-android"
- "publish-react-native-aztec-android"
plugins:
- *publish-android-artifacts-docker-container
command: |
.buildkite/publish-react-native-bridge-android-artifacts.sh
10 changes: 10 additions & 0 deletions .buildkite/publish-react-native-aztec-android-artifacts.sh
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
#!/bin/bash

set -euo pipefail

# Publish react-native-aztec
cd ./gutenberg/packages/react-native-aztec/android
./gradlew -PwillPublishReactNativeAztecBinary=true :prepareToPublishToS3 `prepare_to_publish_to_s3_params` :publish

# Add meta-data for the published version so we can use it while publishing `react-native-bridge` library
cat ./build/published-version.txt | buildkite-agent meta-data set "PUBLISHED_REACT_NATIVE_AZTEC_ANDROID_VERSION"
15 changes: 15 additions & 0 deletions .buildkite/publish-react-native-bridge-android-artifacts.sh
Original file line number Diff line number Diff line change
@@ -0,0 +1,15 @@
#!/bin/bash

set -euo pipefail

# Retrieve data from previous steps
PUBLISHED_AZTEC_VERSION=`buildkite-agent meta-data get "PUBLISHED_REACT_NATIVE_AZTEC_ANDROID_VERSION"`
buildkite-agent artifact download bundle/android/App.js .

# Move app bundled JS file to the correct location
mkdir -p gutenberg/packages/react-native-bridge/android/react-native-bridge/build/assets
cp ./bundle/android/App.js ./gutenberg/packages/react-native-bridge/android/react-native-bridge/build/assets/index.android.bundle

# Publish react-native-bridge
cd ./gutenberg/packages/react-native-bridge/android
./gradlew -PwillPublishReactNativeBridgeBinary=true -PreactNativeAztecVersion="$PUBLISHED_AZTEC_VERSION" :react-native-bridge:prepareToPublishToS3 `prepare_to_publish_to_s3_params` :react-native-bridge:publish
144 changes: 30 additions & 114 deletions .circleci/config.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,9 @@ commands:
- npm-i18n-v4-cache-v{{ .Environment.CACHE_TRIGGER_VERSION }}-job-{{ .Environment.CIRCLE_JOB }}-{{ checksum "package-lock.json" }}
- run:
name: NPM Install
command: npm ci --prefer-offline --no-audit
command: |
echo "Node version: $(node --version)"
npm ci --prefer-offline --no-audit
- save_cache:
name: Save NPM Cache
key: npm-i18n-v4-cache-v{{ .Environment.CACHE_TRIGGER_VERSION }}-job-{{ .Environment.CIRCLE_JOB }}-{{ checksum "package-lock.json" }}
Expand All @@ -27,7 +29,9 @@ commands:
- npm-i18n-v4-cache-v{{ .Environment.CACHE_TRIGGER_VERSION }}-job-{{ .Environment.CIRCLE_JOB }}-{{ checksum "gutenberg/package-lock.json" }}
- run:
name: NPM Install Full
command: npm install --no-audit
command: |
echo "Node version: $(node --version)"
npm install --no-audit
- save_cache:
name: Save NPM Cache
key: npm-i18n-v4-cache-v{{ .Environment.CACHE_TRIGGER_VERSION }}-job-{{ .Environment.CIRCLE_JOB }}-{{ checksum "gutenberg/package-lock.json" }}
Expand Down Expand Up @@ -106,6 +110,26 @@ commands:
- run:
name: Create reports directory
command: mkdir reports && mkdir reports/test-results
install-node-version:
steps:
- run:
name: Install newer nvm
command: |
curl -o- https://raw.githubusercontent.com/nvm-sh/nvm/v0.37.2/install.sh | bash
if [ -z "${NVM_DIR}" ] ; then
echo 'Appending nvm source string to BASH_ENV'
echo 'export NVM_DIR="$HOME/.nvm"' >> $BASH_ENV
echo '[ -s "$NVM_DIR/nvm.sh" ] && \. "$NVM_DIR/nvm.sh"' >> $BASH_ENV
fi
- run:
name: Install node version specified in Gutenberg using nvm
command: |
cd gutenberg
nvm install
# Set the installed version as the default one
nvm alias default $(nvm current)
# Enforce to use the default version in the rest of workflow
echo 'nvm use default' >> $BASH_ENV

parameters:
android-docker-image:
Expand Down Expand Up @@ -134,14 +158,7 @@ jobs:
steps:
- checkout-shallow
- checkout-submodules
- run:
name: Install newer nvm
command: curl -o- https://raw.githubusercontent.com/nvm-sh/nvm/v0.37.2/install.sh | bash
- run:
name: Install newer node using nvm
command: |
cd gutenberg
nvm install
- install-node-version
- when:
condition: <<parameters.check-correctness>>
steps:
Expand Down Expand Up @@ -178,6 +195,7 @@ jobs:
steps:
- checkout-shallow
- checkout-submodules
- install-node-version
- run: node -v
- npm-install
- run: npm run test:e2e:bundle:android
Expand Down Expand Up @@ -226,6 +244,7 @@ jobs:
steps:
- checkout-shallow
- checkout-submodules
- install-node-version
- npm-install
- run:
name: Run Android native unit tests
Expand All @@ -244,6 +263,7 @@ jobs:
steps:
- checkout-shallow
- checkout-submodules
- install-node-version
- npm-install
- add-jest-reporter-dir
- run:
Expand Down Expand Up @@ -314,101 +334,6 @@ jobs:
include_job_number_field: false
include_project_field: false
failure_message: ':red_circle: Scheduled tests failed on iOS device!'
android-build-and-publish-react-native-bridge:
# This job builds the JS bunle required by the Android version of the
# react-native-bridge package, builds the AAR for that package, and uploads
# it to S3.
#
# Running on a Ubuntu machine to have more memory compared to the Docker +
# Node or Docker + Android images that CircleCI offers (circleci/node)
#
# Also running all in one job so that we can bail out early under cetrain
# conditions and save CI cycles.
#
# See: https://github.com/wordpress-mobile/gutenberg-mobile/pull/3038#issuecomment-765334675
machine:
image: << pipeline.parameters.linux-machine-image >>
steps:
- run:
name: Evaluate whether to run
command: |
# This is a partial duplication of the logic to compute the version
# to use for the AAR from below. It's useful to have it here
# because there are conditions under which we shouldn't run the job
# that can't be captured in a CircleCI filter.
#
# Exiting here saves a non-trivial amount of CI time because of how
# heavy the repo is to checkout (it takes at least 1 minute) and
# how time consuming running `npm ci` is.
if [[ -z ${CIRCLE_TAG+x} ]]; then
if [[ -n "$CIRCLE_PULL_REQUEST" ]]; then
echo "Build initiated from a branch with a pull request: proceeding..."
elif [[ $CIRCLE_BRANCH == "develop" ]]; then
echo "Build initiated on $CIRCLE_BRANCH: proceeding..."
else
# We end up here on the first push of a new branch, when there
# isn't a PR open for it yet.
echo "Build initiated from a feature branch with no pull request: aborting."
circleci-agent step halt
fi
else
echo "Build initiated from a tag: proceeding..."
fi
- checkout-shallow
- checkout-submodules
- run:
# Setting up Android before fetching the Node dependencies because
# this step is faster, so if it fails we'll learn about it sooner and
# avoid wasting cycles.
name: Setup Android Tooling
command: .circleci/setup-android-on-ubuntu.sh
- npm-install
- run:
name: Build JavaScript Bundle
command: |
npm run prebundle:js
npm run bundle:android
# The job can take a long time, so let's bump the no_output_timeout
# to more than the default 10m
no_output_timeout: 20m
- run:
name: Build React Native Bridge & Upload to S3
environment:
# This value is set in the setup script, but I'm not sure whether
# it's available after executing it
ANDROID_SDK_ROOT: /usr/lib/android-sdk
command: |
# We publish from PRs as well as the main branch and tags to help
# developers to iterate faster.
#
# If we're not on a PR but a merge commit on the develop branch the
# version will be the "develop-" followed by the commit SHA1.
#
# On a tag, the version should be the tag value.
#
# If we're on a different branch that has no open PR, we should
# not build and exit early instead.
if [[ -z "${CIRCLE_TAG+x}" ]]; then
if [[ -n "$CIRCLE_PULL_REQUEST" ]]; then
PR_NUMBER=$(basename $CIRCLE_PULL_REQUEST)
# CIRCLE_SHA1 should always be available.
VERSION="$PR_NUMBER-$CIRCLE_SHA1"
elif [[ $CIRCLE_BRANCH == "develop" ]]; then
VERSION="$CIRCLE_BRANCH-$CIRCLE_SHA1"
else
# This happens on the first push of a new branch, when there
# isn't a PR open for it yet.
echo "Running on a feature branch with no open PR."
echo "The checks previous to this step should not have let this happen."
exit 1
fi
else
VERSION=$CIRCLE_TAG
fi

cd gutenberg/packages/react-native-bridge/android

./publish-aztec-and-bridge.sh $VERSION

workflows:
gutenberg-mobile:
Expand Down Expand Up @@ -457,15 +382,6 @@ workflows:
filters:
branches:
only: /^dependabot/submodules/.*/
- android-build-and-publish-react-native-bridge:
name: Build Android RN Bridge & Publish to S3
filters:
branches:
# Don't run on trunk, otherwise, run on every other branch
ignore: trunk
tags:
# Run for every tag
only: /.*/

ui-tests-full-scheduled:
jobs:
Expand Down
4 changes: 3 additions & 1 deletion RELEASE-NOTES.txt
Original file line number Diff line number Diff line change
@@ -1,5 +1,7 @@
Unreleased
1.59.0
dcalhoun marked this conversation as resolved.
Show resolved Hide resolved
------
* [*] [Android] Fix UBE's inaccessible "more" toolbar item. [https://github.com/wordpress-mobile/gutenberg-mobile/pull/3771]
* [*] Image block: Add a "featured" banner and ability to set or remove an image as featured. (iOS only) [https://github.com/wordpress-mobile/gutenberg-mobile/pull/3449]

1.58.2
------
Expand Down
2 changes: 1 addition & 1 deletion block-experiments
Submodule block-experiments updated 43 files
+3 −1 blocks/event/editor.scss
+5 −0 blocks/event/style.scss
+10 −0 blocks/layout-grid/editor.scss
+10 −0 blocks/sketch/editor.scss
+95 −0 blocks/sketch/index.php
+116 −0 blocks/sketch/src/controls.js
+176 −0 blocks/sketch/src/edit.js
+141 −0 blocks/sketch/src/example.json
+45 −0 blocks/sketch/src/icons.js
+42 −0 blocks/sketch/src/index.js
+67 −0 blocks/sketch/src/lib.js
+13 −0 blocks/sketch/src/save.js
+15 −0 blocks/sketch/style.scss
+3 −7 blocks/waves/index.php
+2 −4 bundler/bundles/bauhaus-centenary.json
+1 −1 bundler/bundles/event.json
+7 −0 bundler/bundles/sketch.json
+2 −4 bundler/bundles/starscape.json
+1 −1 bundler/bundles/waves.json
+4 −1 bundler/resources/a8c-bauhaus-centenary/block.json
+7 −3 bundler/resources/a8c-bauhaus-centenary/readme.txt
+4 −1 bundler/resources/a8c-event/block.json
+7 −2 bundler/resources/a8c-event/readme.txt
+ bundler/resources/a8c-sketch/assets/banner-1544x500.png
+ bundler/resources/a8c-sketch/assets/banner-772x250.png
+ bundler/resources/a8c-sketch/assets/icon-128x128.png
+ bundler/resources/a8c-sketch/assets/icon-256x256.png
+4 −0 bundler/resources/a8c-sketch/assets/icon.svg
+ bundler/resources/a8c-sketch/assets/screenshot-1.png
+ bundler/resources/a8c-sketch/assets/screenshot-2.png
+9 −0 bundler/resources/a8c-sketch/block.json
+53 −0 bundler/resources/a8c-sketch/readme.txt
+4 −1 bundler/resources/a8c-starscape/block.json
+6 −2 bundler/resources/a8c-starscape/readme.txt
+5 −1 bundler/resources/a8c-waves/block.json
+10 −2 bundler/resources/a8c-waves/readme.txt
+9 −0 bundler/resources/jetpack-layout-grid/block.json
+4 −3 bundler/resources/jetpack-layout-grid/readme.txt
+1 −0 editor.scss
+1 −0 package.json
+2 −0 src/index.js
+1 −0 style.scss
+5 −0 yarn.lock
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading