-
Notifications
You must be signed in to change notification settings - Fork 304
/
Copy pathpipeline.yml
51 lines (44 loc) · 1.29 KB
/
pipeline.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
50
51
# yaml-language-server: $schema=https://raw.githubusercontent.com/buildkite/pipeline-schema/main/schema.json
---
agents:
queue: android
steps:
- label: ":gradle: Gradle Wrapper Validation"
command: validate_gradle_wrapper
agents:
queue: linter
notify:
- github_commit_status:
context: Gradle Wrapper Validation
- wait
- label: ":hammer_and_pick: Build and Test"
command: ./gradlew --stacktrace testRelease
plugins: [$CI_TOOLKIT_PLUGIN]
notify:
- github_commit_status:
context: Build and Test
- label: ":radioactive_sign: Danger - PR Check"
command: danger
key: danger
if: "build.pull_request.id != null"
retry:
manual:
permit_on_passed: true
agents:
queue: linter
notify:
- github_commit_status:
context: Danger - PR Check
- label: ":microscope: Lint"
command: ./gradlew --stacktrace lintRelease
plugins: [$CI_TOOLKIT_PLUGIN]
notify:
- github_commit_status:
context: Lint
- label: ":hammer_and_pick: Prototype Build"
command: .buildkite/commands/build-prototype.sh
plugins: [$CI_TOOLKIT_PLUGIN]
if: "build.pull_request.id != null || build.pull_request.draft"
notify:
- github_commit_status:
context: Prototype Build