-
Notifications
You must be signed in to change notification settings - Fork 131
/
Copy pathrelease-builds.yml
49 lines (40 loc) · 1.5 KB
/
release-builds.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
# yaml-language-server: $schema=https://raw.githubusercontent.com/buildkite/pipeline-schema/main/schema.json
---
# This pipeline is meant to be run via the Buildkite API, and is
# only used for release builds
agents:
queue: "android"
steps:
- label: "Gradle Wrapper Validation"
command: |
.buildkite/commands/checkout-release-branch.sh "$RELEASE_VERSION"
validate_gradle_wrapper
priority: 1
plugins: [$CI_TOOLKIT]
# Wait for Gradle Wrapper to be validated before running any other jobs
- wait
- label: "🛠 Release Build (Mobile App)"
command: |
.buildkite/commands/checkout-release-branch.sh "$RELEASE_VERSION"
.buildkite/commands/release-build.sh "WooCommerce"
priority: 1
plugins: [$CI_TOOLKIT]
notify:
- slack: "#build-and-ship"
retry:
manual:
# If those jobs fail, one should always prefer re-triggering a new build from ReleaseV2 rather than retrying the individual job from Buildkite
allowed: false
- label: "🛠 Release Build (Wear App)"
command: |
.buildkite/commands/checkout-release-branch.sh "$RELEASE_VERSION"
.buildkite/commands/release-build.sh "WooCommerce-Wear"
priority: 1
plugins: [$CI_TOOLKIT]
if: build.env('INCLUDE_WEAR_APP') == "true"
notify:
- slack: "#build-and-ship"
retry:
manual:
# If those jobs fail, one should always prefer re-triggering a new build from ReleaseV2 rather than retrying the individual job from Buildkite
allowed: false