|
| 1 | +# Run everything on the `android` queue |
| 2 | +agents: |
| 3 | + queue: android |
| 4 | + |
| 5 | +# Nodes with values to reuse in the pipeline. |
| 6 | +common_params: |
| 7 | + # Common plugin settings to use with the `plugins` key. |
| 8 | + - &common_plugins |
| 9 | + - automattic/bash-cache#2.11.0 |
| 10 | + |
| 11 | +steps: |
| 12 | + - label: "Gradle Wrapper Validation" |
| 13 | + command: | |
| 14 | + validate_gradle_wrapper |
| 15 | + plugins: *common_plugins |
| 16 | + |
| 17 | + # Wait for Gradle Wrapper to be validated before running any other jobs |
| 18 | + - wait |
| 19 | + |
| 20 | + - label: "Lint" |
| 21 | + key: "lint" |
| 22 | + command: .buildkite/commands/lint.sh |
| 23 | + plugins: *common_plugins |
| 24 | + artifact_paths: |
| 25 | + - "aztec/build/reports/*" |
| 26 | + |
| 27 | + - label: "Unit Tests" |
| 28 | + key: "test" |
| 29 | + command: .buildkite/commands/unit-test.sh |
| 30 | + plugins: *common_plugins |
| 31 | + artifact_paths: |
| 32 | + - "aztec/build/test-results/**/*.xml" |
| 33 | + |
| 34 | + - label: "Connected Tests" |
| 35 | + key: "connected-test" |
| 36 | + command: .buildkite/commands/connected-tests.sh |
| 37 | + plugins: *common_plugins |
| 38 | + artifact_paths: |
| 39 | + - "aztec/build/test-results/**/*.xml" |
| 40 | + |
| 41 | + - label: "Publish :aztec" |
| 42 | + key: "publish-aztec" |
| 43 | + command: .buildkite/commands/publish-aztec.sh |
| 44 | + plugins: *common_plugins |
| 45 | + |
| 46 | + - label: "Publish :glide-loader" |
| 47 | + key: "publish-glide-loader" |
| 48 | + depends_on: |
| 49 | + - "publish-aztec" |
| 50 | + command: .buildkite/commands/publish-glide-loader.sh |
| 51 | + plugins: *common_plugins |
| 52 | + |
| 53 | + - label: "Publish :picasso-loader" |
| 54 | + key: "publish-picasso-loader" |
| 55 | + depends_on: |
| 56 | + - "publish-aztec" |
| 57 | + command: .buildkite/commands/publish-picasso-loader.sh |
| 58 | + plugins: *common_plugins |
| 59 | + |
| 60 | + - label: "Publish :wordpress-shortcodes" |
| 61 | + key: "publish-wordpress-shortcodes" |
| 62 | + depends_on: |
| 63 | + - "publish-aztec" |
| 64 | + command: .buildkite/commands/publish-wordpress-shortcodes.sh |
| 65 | + plugins: *common_plugins |
| 66 | + |
| 67 | + - label: "Publish :wordpress-comments" |
| 68 | + key: "publish-wordpress-comments" |
| 69 | + depends_on: |
| 70 | + - "publish-aztec" |
| 71 | + command: .buildkite/commands/publish-wordpress-comments.sh |
| 72 | + plugins: *common_plugins |
| 73 | + |
| 74 | + - label: "Publish :media-placeholders" |
| 75 | + key: "publish-media-placeholders" |
| 76 | + depends_on: |
| 77 | + - "publish-aztec" |
| 78 | + command: .buildkite/commands/publish-media-placeholders.sh |
| 79 | + plugins: *common_plugins |
0 commit comments