From 0a0731b853cc7d8f34b81ab8a4e41812731f8532 Mon Sep 17 00:00:00 2001 From: Petros Paraskevopoulos Date: Tue, 17 Dec 2024 18:44:39 +0200 Subject: [PATCH] CI: Add and improve download/save/restore cache logs --- .buildkite/commands/cache-dependencies.sh | 1 + .buildkite/hooks/pre-command | 1 + .buildkite/schedules/dependency-cache.yml | 2 +- 3 files changed, 3 insertions(+), 1 deletion(-) diff --git a/.buildkite/commands/cache-dependencies.sh b/.buildkite/commands/cache-dependencies.sh index af637572bfab..e7df0961e7be 100755 --- a/.buildkite/commands/cache-dependencies.sh +++ b/.buildkite/commands/cache-dependencies.sh @@ -32,4 +32,5 @@ echo "--- ๐Ÿงช Download Android Test Dependencies [Assemble Android Tests]" ./gradlew assembleJetpackJalapenoDebugAndroidTest echo "" +echo "--- ๐Ÿ’พ Save Cache" save_gradle_dependency_cache diff --git a/.buildkite/hooks/pre-command b/.buildkite/hooks/pre-command index 71f70a0cd2be..52dc43ba9b42 100644 --- a/.buildkite/hooks/pre-command +++ b/.buildkite/hooks/pre-command @@ -5,4 +5,5 @@ set -e +echo "--- ๐Ÿ’พ Restore Cache" restore_gradle_dependency_cache || true diff --git a/.buildkite/schedules/dependency-cache.yml b/.buildkite/schedules/dependency-cache.yml index 2798971f6bbd..d38945c96023 100644 --- a/.buildkite/schedules/dependency-cache.yml +++ b/.buildkite/schedules/dependency-cache.yml @@ -7,6 +7,6 @@ agents: steps: - label: "dependency cache" command: | - echo "--- ๐Ÿ’พ Caching" + echo "--- ๐Ÿ’พ Download and Cache Dependencies" .buildkite/commands/cache-dependencies.sh plugins: [$CI_TOOLKIT]