Skip to content

Commit de8a00a

Browse files
committed
CI: Add a scheduled dependency analysis job
FYI: 1. This job will be then used by 'buildkite-ci' and configured as a 'buildkite_pipeline_schedule' with a weekly frequently. 2. This job will also notify on the android-core-notifs slack channel on a build failure.
1 parent 164a323 commit de8a00a

File tree

1 file changed

+24
-0
lines changed

1 file changed

+24
-0
lines changed
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,24 @@
1+
# yaml-language-server: $schema=https://raw.githubusercontent.com/buildkite/pipeline-schema/main/schema.json
2+
---
3+
4+
# Nodes with values to reuse in the pipeline.
5+
common_params:
6+
# Common plugin settings to use with the `plugins` key.
7+
- &common_plugins
8+
- automattic/a8c-ci-toolkit#2.14.0
9+
10+
# Run everything on the `android` queue
11+
agents:
12+
queue: android
13+
14+
steps:
15+
- label: "dependency analysis"
16+
command: |
17+
echo "--- 📊 Analyzing"
18+
./gradlew buildHealth
19+
plugins: *common_plugins
20+
artifact_paths:
21+
- "build/reports/dependency-analysis/build-health-report.*"
22+
notify:
23+
- slack: "#android-core-notifs"
24+
if: build.state == "failed"

0 commit comments

Comments
 (0)