Skip to content
Draft
Changes from all commits
Commits
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
29 changes: 23 additions & 6 deletions .buildkite/pipeline.yml
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ common_params:
format: "junit"

agents:
queue: "android"
queue: "android-staging"

steps:
- label: Gradle Wrapper Validation
Expand All @@ -20,14 +20,35 @@ steps:
# Wait for Gradle Wrapper to be validated before running any other jobs
- wait

- label: Print some debug values (staging AMI)
command: &debug_cmds |
echo "--- jenv info"
jenv versions
jenv version
echo "--- java version"
java -version
echo "--- env"
env
echo "--- SDK dir listing"
echo "~~~ ANDROID_SDK_ROOT: $${ANDROID_SDK_ROOT}"
ls -laF $${ANDROID_SDK_ROOT}
echo "~~~ cmdline-tools"
ls -laF $${ANDROID_SDK_ROOT}/cmdline-tools
echo "--- sdkmanager installed packages"
sdkmanager --list_installed

- label: Print some debug values (official AMI)
agents:
queue: "android"
command: *debug_cmds

########################################
- group: "🕵️ Linters"
steps:

- label: "☢️ Danger - PR Check"
command: danger
key: danger
if: "build.pull_request.id != null"
retry:
manual:
permit_on_passed: true
Expand All @@ -52,14 +73,12 @@ steps:

- label: "Dependency Tree Diff"
command: comment_with_dependency_diff 'woocommerce' 'vanillaReleaseRuntimeClasspath'
if: build.pull_request.id != null
plugins: [$CI_TOOLKIT]
artifact_paths:
- "**/build/reports/diff/*"

- label: "Merged Manifest Diff"
command: ".buildkite/commands/diff-merged-manifest.sh vanillaRelease"
if: build.pull_request.id != null
plugins: [$CI_TOOLKIT]
artifact_paths:
- "**/build/reports/diff_manifest/**/**/*"
Expand All @@ -70,12 +89,10 @@ steps:

- label: "🛠 Prototype Build: Mobile App"
command: ".buildkite/commands/prototype-build.sh WooCommerce"
if: build.pull_request.id != null
plugins: [$CI_TOOLKIT]

- label: "🛠 Prototype Build: Wear App"
command: ".buildkite/commands/prototype-build.sh WooCommerce-Wear"
if: build.pull_request.id != null
plugins: [$CI_TOOLKIT]

########################################
Expand Down