-
Notifications
You must be signed in to change notification settings - Fork 1.3k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge remote-tracking branch 'origin/trunk' into plugin-dsl-2
- Loading branch information
Showing
1,153 changed files
with
50,025 additions
and
21,793 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,51 +1,70 @@ | ||
docker-container: &docker-container | ||
plugins: | ||
- docker#v3.8.0: | ||
image: "public.ecr.aws/automattic/android-build-image:311ab824e9fd33ebb71de83c3fd1c328ea84443b" | ||
environment: | ||
- "CI=true" | ||
# Nodes with values to reuse in the pipeline. | ||
common_params: | ||
# Common plugin settings to use with the `plugins` key. | ||
- &common_plugins | ||
- automattic/bash-cache#2.1.0 | ||
|
||
steps: | ||
- label: "checkstyle" | ||
<<: *docker-container | ||
command: | | ||
cp gradle.properties-example gradle.properties | ||
./gradlew checkstyle | ||
plugins: *common_plugins | ||
artifact_paths: | ||
- "**/build/reports/checkstyle/checkstyle.*" | ||
agents: | ||
queue: "android" | ||
|
||
- label: "ktlint" | ||
<<: *docker-container | ||
command: | | ||
cp gradle.properties-example gradle.properties | ||
./gradlew ciktlint | ||
plugins: *common_plugins | ||
artifact_paths: | ||
- "**/build/ktlint.xml" | ||
agents: | ||
queue: "android" | ||
|
||
- label: "detekt" | ||
<<: *docker-container | ||
command: | | ||
cp gradle.properties-example gradle.properties | ||
./gradlew WordPress:detekt | ||
plugins: *common_plugins | ||
artifact_paths: | ||
- "**/build/reports/detekt/detekt.html" | ||
agents: | ||
queue: "android" | ||
|
||
- label: "lint" | ||
<<: *docker-container | ||
command: | | ||
cp gradle.properties-example gradle.properties | ||
./gradlew lintWordpressVanillaRelease | ||
plugins: *common_plugins | ||
artifact_paths: | ||
- "**/build/reports/lint-results*.*" | ||
agents: | ||
queue: "android" | ||
|
||
- label: "Test WordPress" | ||
<<: *docker-container | ||
command: | | ||
cp gradle.properties-example gradle.properties | ||
./gradlew testWordpressVanillaRelease | ||
plugins: *common_plugins | ||
agents: | ||
queue: "android" | ||
|
||
- label: "Test WordPressProcessors" | ||
<<: *docker-container | ||
command: | | ||
cp gradle.properties-example gradle.properties | ||
./gradlew :libs:WordPressProcessors:test | ||
plugins: *common_plugins | ||
agents: | ||
queue: "android" | ||
|
||
- label: "Test ImageEditor" | ||
<<: *docker-container | ||
command: | | ||
cp gradle.properties-example gradle.properties | ||
./gradlew :libs:image-editor:ImageEditor:test | ||
plugins: *common_plugins | ||
agents: | ||
queue: "android" |
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
Binary file not shown.
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,38 @@ | ||
version: 2 | ||
updates: | ||
- package-ecosystem: "gradle" | ||
open-pull-requests-limit: 6 | ||
directory: "/" | ||
schedule: | ||
interval: "daily" | ||
labels: | ||
- "bot: dependencies update" | ||
reviewers: | ||
- "wordpress-mobile/android-developers" | ||
ignore: | ||
# The Android Gradle Plugin is a dependency that needs to be in sync with other | ||
# in-house libraries due to compatibility with composite build. | ||
- dependency-name: "com.android.tools.build:gradle" | ||
# Bumping 1.2.1 to 1.3.0 causes some issues, fist spotted in Reader. For more details, see | ||
# https://github.com/wordpress-mobile/WordPress-Android/pull/14431 | ||
# An update related issue has been created to make sure that this gets the needed attention: | ||
# https://github.com/wordpress-mobile/WordPress-Android/issues/16132 | ||
- dependency-name: "com.google.android.material:material" | ||
# Bumping 2.26.3 to 2.27.2 will break the mocks. For more details, see | ||
# https://github.com/wiremock/wiremock/issues/1345#issuecomment-656060968 | ||
- dependency-name: "com.github.tomakehurst:wiremock" | ||
# Our libraries that are stored in S3 have a custom versioning scheme which doesn't work with | ||
# dependapot. | ||
- dependency-name: "org.wordpress:fluxc" | ||
- dependency-name: "org.wordpress:utils" | ||
- dependency-name: "org.wordpress-mobile.gutenberg-mobile:react-native-gutenberg-bridge" | ||
- dependency-name: "org.wordpress:login" | ||
- dependency-name: "com.automattic:stories" | ||
- dependency-name: "com.automattic.stories:mp4compose" | ||
- dependency-name: "com.automattic.stories:photoeditor" | ||
- dependency-name: "org.wordpress:aztec" | ||
- dependency-name: "org.wordpress.aztec:wordpress-shortcodes" | ||
- dependency-name: "org.wordpress.aztec:wordpress-comments" | ||
- dependency-name: "org.wordpress.aztec:glide-loader" | ||
- dependency-name: "org.wordpress.aztec:picasso-loader" | ||
- dependency-name: "com.automattic:about" |
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.