Skip to content

Commit

Permalink
CI: Add a scheduled dependency analysis job
Browse files Browse the repository at this point in the history
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.
  • Loading branch information
ParaskP7 committed Jul 8, 2024
1 parent 164a323 commit de8a00a
Showing 1 changed file with 24 additions and 0 deletions.
24 changes: 24 additions & 0 deletions .buildkite/schedules/dependency-analysis.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,24 @@
# yaml-language-server: $schema=https://raw.githubusercontent.com/buildkite/pipeline-schema/main/schema.json
---

# Nodes with values to reuse in the pipeline.
common_params:
# Common plugin settings to use with the `plugins` key.
- &common_plugins
- automattic/a8c-ci-toolkit#2.14.0

# Run everything on the `android` queue
agents:
queue: android

steps:
- label: "dependency analysis"
command: |
echo "--- 📊 Analyzing"
./gradlew buildHealth
plugins: *common_plugins
artifact_paths:
- "build/reports/dependency-analysis/build-health-report.*"
notify:
- slack: "#android-core-notifs"
if: build.state == "failed"

0 comments on commit de8a00a

Please sign in to comment.