-
Notifications
You must be signed in to change notification settings - Fork 304
/
Copy pathrelease-build.yml
44 lines (37 loc) · 1.28 KB
/
release-build.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
# 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:
# NOTE: once this pipeline is called inline from another pipeline via ReleasesV2,
# we may need to use another agent to checkout the release branch before the Gradle Wrapper Validation
- label: ":gradle: Gradle Wrapper Validation"
command: validate_gradle_wrapper
priority: 1
agents:
queue: linter
- wait
- label: ":hammer_and_pick: Build"
key: build
command: .buildkite/commands/release-build.sh
priority: 1
plugins: [$CI_TOOLKIT_PLUGIN]
artifact_paths: ["build/*.apk"]
notify:
- slack: "#build-and-ship"
- label: ":android: Upload to Play Store"
depends_on: build
key: upload_play_store
command: .buildkite/commands/release-upload.sh $BETA_RELEASE
priority: 1
plugins: [$CI_TOOLKIT_PLUGIN]
notify:
- slack: "#build-and-ship"
- label: ":github: Create GitHub relaese"
depends_on: upload_play_store
command: .buildkite/commands/release-create-on-github.sh $BETA_RELEASE
priority: 1
plugins: [$CI_TOOLKIT_PLUGIN]
notify:
- slack: "#build-and-ship"