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.41.0 #2787

Merged
merged 91 commits into from
Nov 13, 2020
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
91 commits
Select commit Hold shift + click to select a range
04f4ed8
Update gutenberg reference
mkevins Aug 4, 2020
56199ac
Upgrade CI to Xcode 12
ceyhun Oct 19, 2020
9531906
Update gutenberg ref
ceyhun Oct 19, 2020
93726c2
Upgrade appium to 1.18.3
ceyhun Oct 20, 2020
5c53186
Update gutenberg ref
ceyhun Oct 20, 2020
f34a9ca
Remove start-test-runner commands
ceyhun Oct 20, 2020
119e793
Fix package-lock.json diff
ceyhun Oct 20, 2020
b42447a
Update gutenberg ref
ceyhun Oct 20, 2020
c8477f9
Update gutenberg ref
ceyhun Oct 20, 2020
4ff8fe8
Use xcodebuild directly for ios e2e tests, remove unused scripts
ceyhun Oct 22, 2020
139e102
Update gutenberg ref
ceyhun Oct 22, 2020
6ae4c08
Update gutenberg ref
ceyhun Oct 22, 2020
892b639
Fix CI command for android
ceyhun Oct 22, 2020
306808e
Update gutenberg ref
ceyhun Oct 22, 2020
1a7aef9
Update gutenberg ref
ceyhun Oct 26, 2020
e7a2bf2
Update gutenberg ref
ceyhun Oct 28, 2020
cd07b61
Pin circleci/android:api-29-node docker image to current version
ceyhun Oct 28, 2020
4089e3f
Use previous circleci/android:api-29-node docker image with node 12
ceyhun Oct 28, 2020
a699017
Add git submodule dep updates via Dependabot
hypest Oct 29, 2020
4e33730
Merge pull request #2763 from wordpress-mobile/fix/ci-android-docker-…
cameronvoell Oct 29, 2020
1527454
Merge branch 'develop' into upgrade-ci-to-xcode-12
ceyhun Oct 30, 2020
1d55699
Update gutenberg ref
ceyhun Oct 30, 2020
da1c53a
Merge pull request #2744 from wordpress-mobile/upgrade-ci-to-xcode-12
ceyhun Oct 30, 2020
6606297
Update release checklist template
ceyhun Oct 30, 2020
9378561
Merge branch 'develop' into try/git-submodules-dependabot
hypest Nov 3, 2020
4ed2f38
Only run android-device-checks job
ceyhun Nov 3, 2020
bb71ebf
Use ubuntu machine instead of docker
ceyhun Nov 3, 2020
d9fb945
Check node version
ceyhun Nov 3, 2020
ec8e62d
Install yarn
ceyhun Nov 3, 2020
f778dcc
Merge branch 'develop' into merge_release_1.40.0_to_develop
ceyhun Nov 3, 2020
f681a56
Bundle android in ubuntu, build in docker
ceyhun Nov 3, 2020
90aaec8
Install npm packages before bundling
ceyhun Nov 3, 2020
50264f8
Fix bundle path
ceyhun Nov 3, 2020
24ab3b0
Fix bundle command
ceyhun Nov 3, 2020
6e9f95f
Run docker inside ubuntu to build android apk
ceyhun Nov 3, 2020
d28c21a
Remove extra apk build step
ceyhun Nov 3, 2020
e76392e
Fix file ownership
ceyhun Nov 3, 2020
6edd0b1
Merge pull request #2765 from wordpress-mobile/update-release-checkli…
ceyhun Nov 4, 2020
657807b
Merge pull request #2772 from wordpress-mobile/merge_release_1.40.0_t…
hypest Nov 4, 2020
7283646
Fix ownership
ceyhun Nov 4, 2020
2a32bf5
Fix multiple command execution
ceyhun Nov 4, 2020
36eb656
Add name to command
ceyhun Nov 4, 2020
34f9768
Re-enable rest of jobs
ceyhun Nov 4, 2020
4a0eedc
InnerBlocks - Support for LayoutProvider (#2775)
Nov 4, 2020
302b443
Fix test results folder ownership
ceyhun Nov 4, 2020
c301029
Set env variables through CircleCI config
ceyhun Nov 4, 2020
2355b6b
Change test results folder
ceyhun Nov 4, 2020
76fe631
Add carthage
ceyhun Nov 4, 2020
6bbb716
Merge pull request #2776 from wordpress-mobile/update-prerequisites-i…
ceyhun Nov 4, 2020
1186857
Update ubuntu image to latest
ceyhun Nov 4, 2020
69cf14a
Add comment to ubuntu image
ceyhun Nov 4, 2020
a4cdb95
Use tag for android docker image instead of hash
ceyhun Nov 4, 2020
4ddc1bd
Update gutenberg reference
mkevins Nov 5, 2020
15cce1d
Merge branch 'develop' into try/image-block-upload-multiple
mkevins Nov 5, 2020
e47c1fa
Add release note
mkevins Nov 5, 2020
75af9b2
Update gutenberg reference
mkevins Nov 5, 2020
943a58b
Use same android docker image for both jobs
ceyhun Nov 5, 2020
d7daf48
Merge pull request #2684 from wordpress-mobile/try/increase_ci_resour…
hypest Nov 5, 2020
702e19a
Merge branch 'develop' into try/git-submodules-dependabot
hypest Nov 5, 2020
5a2ae44
Merge pull request #2764 from wordpress-mobile/try/git-submodules-dep…
hypest Nov 5, 2020
bbf959d
Bump jetpack from `ff65621` to `664f027`
dependabot[bot] Nov 5, 2020
429a65f
Bump gutenberg from `84ec7c8` to `4292a04`
dependabot[bot] Nov 5, 2020
054d0a2
Merge pull request #2779 from wordpress-mobile/dependabot/submodules/…
hypest Nov 5, 2020
904c237
Merge pull request #2778 from wordpress-mobile/dependabot/submodules/…
hypest Nov 5, 2020
4ed9ab5
Add yarn as a dev dependency to fix npm install for those who do not …
cameronvoell Nov 6, 2020
5b866b8
Update gutenberg reference
mkevins Nov 6, 2020
e3ac71c
Merge branch 'develop' into try/image-block-upload-multiple
mkevins Nov 6, 2020
5b00e1f
Bump gutenberg from `4292a04` to `f66ebf8`
dependabot[bot] Nov 6, 2020
c3cc953
Merge pull request #2784 from wordpress-mobile/dependabot/submodules/…
hypest Nov 6, 2020
f683cb0
Hermes bytecode for the local tests as well
hypest Nov 5, 2020
f3f908a
Fix broken script name
hypest Nov 5, 2020
9d03c6f
Git ignore the text JS bundles too
hypest Nov 6, 2020
f740875
Update release notes
hypest Nov 6, 2020
fd80fe6
Update GB hash
hypest Nov 6, 2020
a684363
Update GB hash after merge of GB-side of these changes.
mchowning Nov 6, 2020
1013d68
Merge pull request #2780 from wordpress-mobile/gutenberg/use-hermes-b…
mchowning Nov 6, 2020
7bdc0c0
Merge pull request #2781 from wordpress-mobile/add/yarn-dev-dependency
cameronvoell Nov 6, 2020
72a9bde
Update gutenberg reference
mkevins Nov 8, 2020
8eef675
Merge branch 'develop' into try/image-block-upload-multiple
mkevins Nov 8, 2020
1ea871f
Update gutenberg reference
mkevins Nov 9, 2020
1dd9305
Merge pull request #2530 from wordpress-mobile/try/image-block-upload…
mkevins Nov 9, 2020
09dc083
Release script: Update gb mobile version to 1.41.0
ceyhun Nov 9, 2020
bdff931
Release script: Update gutenberg ref
ceyhun Nov 9, 2020
e281a1f
Release script: Update bundle for: 1.41.0
ceyhun Nov 9, 2020
a84951c
Update RELEASE-NOTES.txt
ceyhun Nov 9, 2020
2633283
Update RELEASE-NOTES.txt
ceyhun Nov 9, 2020
c92a45e
Update gutenberg ref
ceyhun Nov 9, 2020
fe22fbf
Update bundles
ceyhun Nov 9, 2020
cc731d1
Update bundles
ceyhun Nov 9, 2020
2a5fac4
Updated gutenberg ref
cameronvoell Nov 11, 2020
55c0dad
Updated bundle
cameronvoell Nov 13, 2020
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
44 changes: 27 additions & 17 deletions .circleci/config.yml
Original file line number Diff line number Diff line change
Expand Up @@ -45,6 +45,12 @@ commands:
name: Create reports directory
command: mkdir reports && mkdir reports/test-results

parameters:
android-docker-image:
type: string
# Hash points to previous version with node 12. When everything works with node 14 it can be removed
default: "circleci/android:api-29-node@sha256:71d61d6c21b29948d57120f476a83cc322a280979bce355c5a0ad771293ca380"

jobs:
checks:
parameters:
Expand Down Expand Up @@ -93,37 +99,41 @@ jobs:
is-canary:
type: string
default: ""
docker:
- image: circleci/android:api-29-node@sha256:71d61d6c21b29948d57120f476a83cc322a280979bce355c5a0ad771293ca380
environment:
JAVA_OPTS: '-Xms512m -Xmx2g'
GRADLE_OPTS: '-Xmx3g -Dorg.gradle.daemon=false -Dorg.gradle.jvmargs="-Xmx2g -XX:+HeapDumpOnOutOfMemoryError"'
machine:
image: ubuntu-2004:202010-01 # Latest supported ubuntu image from https://circleci.com/docs/2.0/configuration-reference/#available-machine-images
steps:
- checkout
- checkout-submodules
- run: node -v
- run: npm install -g yarn
- npm-install
- add-jest-reporter-dir
- run: npm run test:e2e:bundle:android
- run:
name: Set Environment Variables
name: Build apk
command: |
echo 'export TEST_RN_PLATFORM=android' >> $BASH_ENV
echo 'export TEST_ENV=sauce' >> $BASH_ENV
- run:
name: Bundle Android and Generate debug .apk file for testing
command: npm run test:e2e:bundle:android && npm run test:e2e:build-app:android
docker run --rm -it \
--volume $(pwd):/home/circleci/project \
--workdir /home/circleci/project \
--env JAVA_OPTS='-Xms512m -Xmx2g' \
--env GRADLE_OPTS='-Xmx3g -Dorg.gradle.daemon=false -Dorg.gradle.jvmargs="-Xmx2g -XX:+HeapDumpOnOutOfMemoryError"' \
<< pipeline.parameters.android-docker-image >> \
/bin/bash -c "sudo chown -R circleci:circleci . && npm run core test:e2e:build-app:android"
- run:
name: Upload apk to sauce labs
command: |
source bin/sauce-pre-upload.sh
curl -u "$SAUCE_USERNAME:$SAUCE_ACCESS_KEY" -X POST -H "Content-Type: application/octet-stream" https://saucelabs.com/rest/v1/storage/automattic/Gutenberg-$SAUCE_FILENAME.apk?overwrite=true --data-binary @./gutenberg/packages/react-native-editor/android/app/build/outputs/apk/debug/app-debug.apk
- run: mkdir /home/circleci/test-results
- run:
name: Run Device Tests
command: npm run device-tests<<parameters.is-canary>>
no_output_timeout: 1200
environment:
JEST_JUNIT_OUTPUT: "reports/test-results/android-test-results.xml"
TEST_RN_PLATFORM: android
TEST_ENV: sauce
JEST_JUNIT_OUTPUT: "/home/circleci/test-results/android-test-results.xml"
- store_test_results:
path: ./reports/test-results
path: /home/circleci/test-results
- when:
condition: << parameters.post-to-slack >>
steps:
Expand All @@ -139,7 +149,7 @@ jobs:
type: boolean
default: false
docker:
- image: circleci/android:api-29-node@sha256:71d61d6c21b29948d57120f476a83cc322a280979bce355c5a0ad771293ca380
- image: << pipeline.parameters.android-docker-image >>
steps:
- checkout
- checkout-submodules
Expand All @@ -157,7 +167,7 @@ jobs:
type: string
default: ""
macos:
xcode: "11.2.1"
xcode: "12.0.0"
steps:
- checkout
- checkout-submodules
Expand All @@ -184,7 +194,7 @@ jobs:
- dependencies-v4-
- run:
name: Build (if needed)
command: test -e gutenberg/packages/react-native-editor/ios/build/GutenbergDemo/Build/Products/Release-iphonesimulator/GutenbergDemo.app || SKIP_BUNDLING=true npm run core test:e2e:build-app:ios
command: test -e gutenberg/packages/react-native-editor/ios/build/GutenbergDemo/Build/Products/Release-iphonesimulator/GutenbergDemo.app || npm run core test:e2e:build-app:ios
- save_cache:
name: Save Dependencies Cache
key: dependencies-v4-{{ checksum "gutenberg/packages/react-native-editor/ios/Gemfile.lock" }}-{{ checksum "gutenberg/packages/react-native-editor/ios/Podfile.lock" }}-{{ checksum "gutenberg/package-lock.json" }}
Expand Down
11 changes: 11 additions & 0 deletions .github/dependabot.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
# To get started with Dependabot version updates, you'll need to specify which
# package ecosystems to update and where the package manifests are located.
# Please see the documentation for all configuration options:
# https://help.github.com/github/administering-a-repository/configuration-options-for-dependency-updates

version: 2
updates:
- package-ecosystem: "gitsubmodule" # See documentation for possible values
directory: "/" # Location of package manifests
schedule:
interval: "daily"
2 changes: 2 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -41,6 +41,8 @@ build.log
bundle/android/raw/*
bundle/android/App.js
bundle/android/App.js.map
bundle/android/App.text.js
bundle/android/App.text.js.map
bundle/ios/assets/gutenberg/packages/block-library/src/*

# Local configuration file (sdk path, etc)
Expand Down
1 change: 1 addition & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,7 @@ For a developer experience closer to the one the project maintainers current hav
* [AndroidStudio](https://developer.android.com/studio/) to be able to compile the Android version of the app
* [Xcode](https://developer.apple.com/xcode/) to be able to compile the iOS app
* CocoaPods(`sudo gem install cocoapods`) needed to fetch React and third-party dependencies.
* [Carthage](https://github.com/Carthage/Carthage#installing-carthage) for appium to be able run iOS UI tests

Note that the OS platform used by the maintainers is macOS but the tools and setup should be usable in other platforms too.

Expand Down
10 changes: 10 additions & 0 deletions RELEASE-NOTES.txt
Original file line number Diff line number Diff line change
@@ -1,3 +1,13 @@
1.41.0
------

* [***] Faster editor start and overall operation on Android. [https://github.com/wordpress-mobile/gutenberg-mobile/pull/2780]
* [*] [Android] Enable multiple upload support for Image block. [https://github.com/wordpress-mobile/gutenberg-mobile/pull/2530]

1.40.0
------


1.39.0
------
* [***] Full-width and wide alignment support for Video, Latest-posts, Gallery, Media & text, and Pullquote block. [https://github.com/wordpress-mobile/gutenberg-mobile/pull/2605]
Expand Down
2 changes: 0 additions & 2 deletions bundle/android/strings.xml
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,6 @@
<string name="gutenberg_native_add_video" tools:ignore="UnusedResources">ADD VIDEO</string>
<string name="gutenberg_native_alt_text" tools:ignore="UnusedResources">Alt Text</string>
<string name="gutenberg_native_an_unknown_error_occurred_please_try_again" tools:ignore="UnusedResources">An unknown error occurred. Please try again.</string>
<string name="gutenberg_native_angle" tools:ignore="UnusedResources">Angle</string>
<string name="gutenberg_native_annotations_sidebar" tools:ignore="UnusedResources">Annotations Sidebar</string>
<!-- translators: displayed right after the block is copied. -->
<string name="gutenberg_native_block_copied" tools:ignore="UnusedResources">Block copied</string>
Expand Down Expand Up @@ -207,7 +206,6 @@ translators: sample content for "Services" page template -->
<!-- translators: Checkbox toggle label -->
<string name="gutenberg_native_show_section" tools:ignore="UnusedResources">Show section</string>
<string name="gutenberg_native_sidebar_title_plugin" tools:ignore="UnusedResources">Sidebar title plugin</string>
<string name="gutenberg_native_size" tools:ignore="UnusedResources">Size</string>
<string name="gutenberg_native_start_writing" tools:ignore="UnusedResources">Start writing…</string>
<!-- translators: sample content for "Services" page template -->
<string name="gutenberg_native_strategy" tools:ignore="UnusedResources">Strategy</string>
Expand Down
Loading