Skip to content

Commit 86fc305

Browse files
committed
Merge branch 'refs/heads/trunk' into 11867-woo-pos-hide-cart-when-payment-succeed
# Conflicts: # WooCommerce/src/main/kotlin/com/woocommerce/android/ui/woopos/home/totals/payment/success/WooPosTotalsPaymentSuccessScreen.kt
2 parents 0b40c9d + a02576f commit 86fc305

File tree

39 files changed

+259
-161
lines changed

39 files changed

+259
-161
lines changed

.buildkite/pipeline.yml

Lines changed: 11 additions & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -4,10 +4,6 @@
44
# Nodes with values to reuse in the pipeline.
55
common_params:
66
# Common plugin settings to use with the `plugins` key.
7-
- &ci_toolkit
8-
automattic/a8c-ci-toolkit#3.0.1
9-
- &test_collector
10-
test-collector#v1.10.0
117
- &test_collector_common_params
128
files: "WooCommerce/build/buildkite-test-analytics/*.xml"
139
format: "junit"
@@ -19,7 +15,7 @@ steps:
1915
- label: "Gradle Wrapper Validation"
2016
command: |
2117
validate_gradle_wrapper
22-
plugins: [*ci_toolkit]
18+
plugins: [$CI_TOOLKIT]
2319

2420
# Wait for Gradle Wrapper to be validated before running any other jobs
2521
- wait
@@ -43,7 +39,7 @@ steps:
4339
echo "--- 🧹 Linting"
4440
cp gradle.properties-example gradle.properties
4541
./gradlew detektAll
46-
plugins: [*ci_toolkit]
42+
plugins: [$CI_TOOLKIT]
4743
artifact_paths:
4844
- "**/build/reports/detekt/detekt.html"
4945

@@ -52,7 +48,7 @@ steps:
5248
echo "--- 🧹 Linting"
5349
cp gradle.properties-example gradle.properties
5450
./gradlew lintJalapenoDebug
55-
plugins: [*ci_toolkit]
51+
plugins: [$CI_TOOLKIT]
5652
artifact_paths:
5753
- "**/build/reports/lint-results*.*"
5854

@@ -61,7 +57,7 @@ steps:
6157
cp gradle.properties-example gradle.properties
6258
.buildkite/commands/dependency-tree-diff.sh
6359
if: build.pull_request.id != null
64-
plugins: [*ci_toolkit]
60+
plugins: [$CI_TOOLKIT]
6561

6662
########################################
6763
- group: "🛠 Prototype Builds"
@@ -71,13 +67,13 @@ steps:
7167
command: |
7268
".buildkite/commands/prototype-build.sh" "WooCommerce"
7369
if: build.pull_request.id != null
74-
plugins: [*ci_toolkit]
70+
plugins: [$CI_TOOLKIT]
7571

7672
- label: "🛠 Prototype Build: Wear App"
7773
command: |
7874
".buildkite/commands/prototype-build.sh" "WooCommerce-Wear"
7975
if: build.pull_request.id != null
80-
plugins: [*ci_toolkit]
76+
plugins: [$CI_TOOLKIT]
8177

8278
########################################
8379
- group: "🔬 Tests"
@@ -86,8 +82,8 @@ steps:
8682
- label: "Unit tests"
8783
command: .buildkite/commands/run-unit-tests.sh
8884
plugins:
89-
- *ci_toolkit
90-
- *test_collector :
85+
- $CI_TOOLKIT
86+
- $TEST_COLLECTOR :
9187
<<: *test_collector_common_params
9288
api-token-env-name: "BUILDKITE_ANALYTICS_TOKEN_UNIT_TESTS"
9389
artifact_paths:
@@ -98,13 +94,13 @@ steps:
9894
echo "--- ⚒️ Building"
9995
cp gradle.properties-example gradle.properties
10096
./gradlew assembleJalapenoDebugAndroidTest
101-
plugins: [*ci_toolkit]
97+
plugins: [$CI_TOOLKIT]
10298

10399
- label: "Instrumented tests"
104100
command: .buildkite/commands/run-instrumented-tests.sh
105101
plugins:
106-
- *ci_toolkit
107-
- *test_collector :
102+
- $CI_TOOLKIT
103+
- $TEST_COLLECTOR :
108104
<<: *test_collector_common_params
109105
api-token-env-name: "BUILDKITE_ANALYTICS_TOKEN_INSTRUMENTED_TESTS"
110106
artifact_paths:

.buildkite/release-builds.yml

Lines changed: 3 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -4,12 +4,6 @@
44
# This pipeline is meant to be run via the Buildkite API, and is
55
# only used for release builds
66

7-
# Nodes with values to reuse in the pipeline.
8-
common_params:
9-
# Common plugin settings to use with the `plugins` key.
10-
- &common_plugins
11-
- automattic/a8c-ci-toolkit#3.0.1
12-
137
agents:
148
queue: "android"
159

@@ -18,7 +12,7 @@ steps:
1812
command: |
1913
validate_gradle_wrapper
2014
priority: 1
21-
plugins: *common_plugins
15+
plugins: [$CI_TOOLKIT]
2216

2317
# Wait for Gradle Wrapper to be validated before running any other jobs
2418
- wait
@@ -27,15 +21,15 @@ steps:
2721
command: |
2822
".buildkite/commands/release-build.sh" "WooCommerce"
2923
priority: 1
30-
plugins: *common_plugins
24+
plugins: [$CI_TOOLKIT]
3125
notify:
3226
- slack: "#build-and-ship"
3327

3428
- label: "🛠 Release Build (Wear App)"
3529
command: |
3630
".buildkite/commands/release-build.sh" "WooCommerce-Wear"
3731
priority: 1
38-
plugins: *common_plugins
32+
plugins: [$CI_TOOLKIT]
3933
if: build.env('INCLUDE_WEAR_APP') == "true"
4034
notify:
4135
- slack: "#build-and-ship"

.buildkite/release-pipelines/complete-code-freeze.yml

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -6,8 +6,7 @@ agents:
66

77
steps:
88
- label: "Complete Code Freeze"
9-
plugins:
10-
- automattic/a8c-ci-toolkit#3.0.1
9+
plugins: [$CI_TOOLKIT]
1110
command: |
1211
.buildkite/commands/configure-environment.sh
1312

.buildkite/release-pipelines/finalize-hotfix-release.yml

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -6,8 +6,7 @@ agents:
66

77
steps:
88
- label: "Finalize Hotfix Release"
9-
plugins:
10-
- automattic/a8c-ci-toolkit#3.0.1
9+
plugins: [$CI_TOOLKIT]
1110
command: |
1211
.buildkite/commands/configure-environment.sh
1312

.buildkite/release-pipelines/finalize-release.yml

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -6,8 +6,7 @@ agents:
66

77
steps:
88
- label: "Finalize Release"
9-
plugins:
10-
- automattic/a8c-ci-toolkit#3.0.1
9+
plugins: [$CI_TOOLKIT]
1110
command: |
1211
.buildkite/commands/configure-environment.sh
1312

.buildkite/release-pipelines/new-beta-release.yml

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -6,8 +6,7 @@ agents:
66

77
steps:
88
- label: "New Beta Release"
9-
plugins:
10-
- automattic/a8c-ci-toolkit#3.0.1
9+
plugins: [$CI_TOOLKIT]
1110
command: |
1211
.buildkite/commands/configure-environment.sh
1312

.buildkite/release-pipelines/new-hotfix-release.yml

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -11,8 +11,7 @@ steps:
1111
key: "version_code"
1212
format: "[0-9]+" # Only allow numbers
1313
- label: "New Hotfix Release"
14-
plugins:
15-
- automattic/a8c-ci-toolkit#3.0.1
14+
plugins: [$CI_TOOLKIT]
1615
command: |
1716
.buildkite/commands/configure-environment.sh
1817

.buildkite/release-pipelines/start-code-freeze.yml

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -6,8 +6,7 @@ agents:
66

77
steps:
88
- label: " Start Code Freeze"
9-
plugins:
10-
- automattic/a8c-ci-toolkit#3.0.1
9+
plugins: [$CI_TOOLKIT]
1110
command: |
1211
.buildkite/commands/configure-environment.sh
1312

.buildkite/schedules/dependency-analysis.yml

Lines changed: 1 addition & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -1,12 +1,6 @@
11
# yaml-language-server: $schema=https://raw.githubusercontent.com/buildkite/pipeline-schema/main/schema.json
22
---
33

4-
# Nodes with values to reuse in the pipeline.
5-
common_params:
6-
# Common plugin settings to use with the `plugins` key.
7-
- &ci_toolkit
8-
automattic/a8c-ci-toolkit#3.0.1
9-
104
agents:
115
queue: "android"
126

@@ -16,7 +10,7 @@ steps:
1610
echo "--- 📊 Analyzing"
1711
cp gradle.properties-example gradle.properties
1812
./gradlew buildHealth
19-
plugins: [*ci_toolkit]
13+
plugins: [$CI_TOOLKIT]
2014
artifact_paths:
2115
- "build/reports/dependency-analysis/build-health-report.*"
2216
notify:

.buildkite/shared-pipeline-vars

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,7 @@
1+
#!/bin/sh
2+
3+
# This file is `source`'d before calling `buildkite-agent pipeline upload`, and can be used
4+
# to set up some variables that will be interpolated in the `.yml` pipeline before uploading it.
5+
6+
export CI_TOOLKIT="automattic/a8c-ci-toolkit#3.4.2"
7+
export TEST_COLLECTOR="test-collector#v1.10.1"

0 commit comments

Comments
 (0)