Skip to content

Commit

Permalink
CI: Add project prefix to distinguise gradle dependency cache key
Browse files Browse the repository at this point in the history
  • Loading branch information
ParaskP7 committed Dec 12, 2024
1 parent 4b991f4 commit d845c5d
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 2 deletions.
3 changes: 3 additions & 0 deletions .buildkite/pipeline.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,9 @@
agents:
queue: "android"

env:
GRADLE_DEPENDENCY_CACHE_PROJECT_PREFIX: "WOOCOMMERCE"

steps:
- label: "🛠 Prototype Build: Mobile App"
command: |
Expand Down
3 changes: 3 additions & 0 deletions .buildkite/schedules/dependency-cache.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,9 @@
agents:
queue: "android"

env:
GRADLE_DEPENDENCY_CACHE_PROJECT_PREFIX: "WOOCOMMERCE"

steps:
- label: "dependency cache"
command: |
Expand Down
3 changes: 1 addition & 2 deletions .buildkite/shared-pipeline-vars
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,5 @@
# This file is `source`'d before calling `buildkite-agent pipeline upload`, and can be used
# to set up some variables that will be interpolated in the `.yml` pipeline before uploading it.

export CI_TOOLKIT="automattic/a8c-ci-toolkit#3.7.1"
export CI_TOOLKIT="automattic/a8c-ci-toolkit#f67e7f51a4d1c38b06bf4d3200d50b14d686fc3a"
export TEST_COLLECTOR="test-collector#v1.10.1"

0 comments on commit d845c5d

Please sign in to comment.